diff options
author | James Almer <jamrial@gmail.com> | 2014-09-24 19:51:02 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-09-24 21:43:19 -0300 |
commit | c99a8828148949430608c3866e671a599a5805ba (patch) | |
tree | 0dfd6f0da4a1b38da0ad5f3665833d8ac05c3d75 /libavcodec/idctdsp.h | |
parent | 6441d522e9fe496b62baa667f063db2bc614cef1 (diff) | |
download | ffmpeg-c99a8828148949430608c3866e671a599a5805ba.tar.gz |
avcodec/idctdsp: change {put,add}_pixels_clamped to ptrdiff_t line_size
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/idctdsp.h')
-rw-r--r-- | libavcodec/idctdsp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/idctdsp.h b/libavcodec/idctdsp.h index 8d60656932..538b71669c 100644 --- a/libavcodec/idctdsp.h +++ b/libavcodec/idctdsp.h @@ -52,13 +52,13 @@ typedef struct IDCTDSPContext { /* pixel ops : interface with DCT */ void (*put_pixels_clamped)(const int16_t *block /* align 16 */, uint8_t *pixels /* align 8 */, - int line_size); + ptrdiff_t line_size); void (*put_signed_pixels_clamped)(const int16_t *block /* align 16 */, uint8_t *pixels /* align 8 */, - int line_size); + ptrdiff_t line_size); void (*add_pixels_clamped)(const int16_t *block /* align 16 */, uint8_t *pixels /* align 8 */, - int line_size); + ptrdiff_t line_size); void (*idct)(int16_t *block /* align 16 */); @@ -95,8 +95,8 @@ typedef struct IDCTDSPContext { enum idct_permutation_type perm_type; } IDCTDSPContext; -extern void (*ff_put_pixels_clamped)(const int16_t *block, uint8_t *pixels, int line_size); -extern void (*ff_add_pixels_clamped)(const int16_t *block, uint8_t *pixels, int line_size); +extern void (*ff_put_pixels_clamped)(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size); +extern void (*ff_add_pixels_clamped)(const int16_t *block, uint8_t *pixels, ptrdiff_t line_size); void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx); |