X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fivi.h;h=79b97d5c52ba55d850f3a314f8b13027cbb2693b;hb=90f6433dcf374dd81a6b760f49392118cd039fb4;hp=35718082477d5b7d39d26a2e8ca5b0afa7269dd6;hpb=2c400ba7d1abfc601b631f2b3b40a23b6385af79;p=ffmpeg diff --git a/libavcodec/ivi.h b/libavcodec/ivi.h index 35718082477..79b97d5c52b 100644 --- a/libavcodec/ivi.h +++ b/libavcodec/ivi.h @@ -87,8 +87,8 @@ extern const uint8_t ff_ivi_direct_scan_4x4[16]; /** * Declare inverse transform function types */ -typedef void (InvTransformPtr)(const int32_t *in, int16_t *out, uint32_t pitch, const uint8_t *flags); -typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, uint32_t pitch, int blk_size); +typedef void (InvTransformPtr)(const int32_t *in, int16_t *out, ptrdiff_t pitch, const uint8_t *flags); +typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, ptrdiff_t pitch, int blk_size); /** @@ -153,7 +153,7 @@ typedef struct IVIBandDesc { int16_t *ref_buf; ///< pointer to the reference frame buffer (for motion compensation) int16_t *b_ref_buf; ///< pointer to the second reference frame buffer (for motion compensation) int16_t *bufs[4]; ///< array of pointers to the band buffers - int pitch; ///< pitch associated with the buffers above + ptrdiff_t pitch; ///< pitch associated with the buffers above int is_empty; ///< = 1 if this band doesn't contain any data int mb_size; ///< macroblock size int blk_size; ///< block size