diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-01 17:12:42 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-01 17:12:42 +0000 |
commit | b31e75a79a6f096f3462292fd48494035f0be0fe (patch) | |
tree | 68d7af8b0bd1c78f8c93dcddd1a7e24a36e11700 /converter/ppm/ppmtompeg/headers | |
parent | 118ba884419d79e5bd2dd83a1e1a40b99ac64f65 (diff) | |
download | netpbm-mirror-b31e75a79a6f096f3462292fd48494035f0be0fe.tar.gz netpbm-mirror-b31e75a79a6f096f3462292fd48494035f0be0fe.tar.xz netpbm-mirror-b31e75a79a6f096f3462292fd48494035f0be0fe.zip |
Fix prototypes that don't literally match definitions, for Irix compiler
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@77 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/ppmtompeg/headers')
-rw-r--r-- | converter/ppm/ppmtompeg/headers/frame.h | 18 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/headers/frames.h | 2 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/headers/mpeg.h | 2 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/headers/parallel.h | 2 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/headers/prototypes.h | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/converter/ppm/ppmtompeg/headers/frame.h b/converter/ppm/ppmtompeg/headers/frame.h index 1003ee15..6df3d19f 100644 --- a/converter/ppm/ppmtompeg/headers/frame.h +++ b/converter/ppm/ppmtompeg/headers/frame.h @@ -131,17 +131,17 @@ Frame_Resize(MpegFrame * const omf, int const outsize_y); -extern void Frame_Free _ANSI_ARGS_((MpegFrame *frame)); +extern void Frame_Free _ANSI_ARGS_((MpegFrame * const frame)); extern void Frame_Exit _ANSI_ARGS_((void)); extern void Frame_AllocPPM _ANSI_ARGS_((MpegFrame * frame)); -extern void Frame_AllocYCC _ANSI_ARGS_((MpegFrame * mf)); -extern void Frame_AllocDecoded _ANSI_ARGS_((MpegFrame *frame, - boolean makeReference)); -extern void Frame_AllocHalf _ANSI_ARGS_((MpegFrame *frame)); -extern void Frame_AllocBlocks _ANSI_ARGS_((MpegFrame *mf)); -extern void Frame_Resize _ANSI_ARGS_((MpegFrame *omf, MpegFrame *mf, - int insize_x, int insize_y, - int outsize_x, int outsize_y)); +extern void Frame_AllocYCC _ANSI_ARGS_((MpegFrame * const mf)); +extern void Frame_AllocDecoded _ANSI_ARGS_((MpegFrame * const frame, + boolean const makeReference)); +extern void Frame_AllocHalf _ANSI_ARGS_((MpegFrame * const frame)); +extern void Frame_AllocBlocks _ANSI_ARGS_((MpegFrame * const mf)); +extern void Frame_Resize _ANSI_ARGS_((MpegFrame * const omf, MpegFrame * const mf, + int const insize_x, int const insize_y, + int const outsize_x, int const outsize_y)); #endif /* FRAME_INCLUDED */ diff --git a/converter/ppm/ppmtompeg/headers/frames.h b/converter/ppm/ppmtompeg/headers/frames.h index 3fefaea7..558ebf81 100644 --- a/converter/ppm/ppmtompeg/headers/frames.h +++ b/converter/ppm/ppmtompeg/headers/frames.h @@ -85,7 +85,7 @@ typedef struct dct_data_tye_struct { int fmotionX, fmotionY, bmotionX, bmotionY; } dct_data_type; -void EncodeYDC _ANSI_ARGS_((int32 dc_term, int32 *pred_term, BitBucket *bb)); +void EncodeYDC _ANSI_ARGS_((int32 const dc_term, int32 * const pred_term, BitBucket * const bb)); void EncodeCDC(int32 const dc_term, int32 * const pred_term, diff --git a/converter/ppm/ppmtompeg/headers/mpeg.h b/converter/ppm/ppmtompeg/headers/mpeg.h index d739dede..23875c2c 100644 --- a/converter/ppm/ppmtompeg/headers/mpeg.h +++ b/converter/ppm/ppmtompeg/headers/mpeg.h @@ -90,7 +90,7 @@ void ReadDecodedRefFrame(MpegFrame * const frameP, unsigned int const frameNumber); -extern void WriteDecodedFrame _ANSI_ARGS_((MpegFrame *frame)); +extern void WriteDecodedFrame _ANSI_ARGS_((MpegFrame * const frame)); extern void SetBitRateFileName _ANSI_ARGS_((char *fileName)); extern void SetFrameRate _ANSI_ARGS_((void)); diff --git a/converter/ppm/ppmtompeg/headers/parallel.h b/converter/ppm/ppmtompeg/headers/parallel.h index e18d3f46..90edd874 100644 --- a/converter/ppm/ppmtompeg/headers/parallel.h +++ b/converter/ppm/ppmtompeg/headers/parallel.h @@ -87,7 +87,7 @@ void NoteFrameDone(int frameStart, int frameEnd); void -SetIOConvert(boolean separate); +SetIOConvert(boolean const separate); void SetRemoteShell(const char * const shell); diff --git a/converter/ppm/ppmtompeg/headers/prototypes.h b/converter/ppm/ppmtompeg/headers/prototypes.h index d729aafa..a284888f 100644 --- a/converter/ppm/ppmtompeg/headers/prototypes.h +++ b/converter/ppm/ppmtompeg/headers/prototypes.h @@ -47,7 +47,7 @@ void SetSearchRange (int const pixelsP, void ResetIFrameStats _ANSI_ARGS_((void)); void SetPixelSearch(const char * const searchType); -void SetIQScale _ANSI_ARGS_((int qI)); +void SetIQScale _ANSI_ARGS_((int const qI)); void SetPQScale _ANSI_ARGS_((int qP)); void SetBQScale _ANSI_ARGS_((int qB)); float EstimateSecondsPerIFrame _ANSI_ARGS_((void)); @@ -56,7 +56,7 @@ float EstimateSecondsPerBFrame _ANSI_ARGS_((void)); void SetGOPSize _ANSI_ARGS_((int size)); void SetStatFileName(const char * const fileName); -void SetSlicesPerFrame _ANSI_ARGS_((int number)); +void SetSlicesPerFrame _ANSI_ARGS_((int const number)); void SetBlocksPerSlice _ANSI_ARGS_((void)); @@ -64,7 +64,7 @@ void DCTFrame _ANSI_ARGS_((MpegFrame * mf)); void PPMtoYCC _ANSI_ARGS_((MpegFrame * mf)); -void MotionSearchPreComputation _ANSI_ARGS_((MpegFrame *frame)); +void MotionSearchPreComputation _ANSI_ARGS_((MpegFrame * const frame)); void ComputeHalfPixelData _ANSI_ARGS_((MpegFrame *frame)); void mp_validate_size _ANSI_ARGS_((int *x, int *y)); |