diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-02-10 00:17:20 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-02-17 12:03:24 +0100 |
commit | 0b70fb1d518cbd796545fd6eef02772cd0d892c7 (patch) | |
tree | afbe4a0647e4d050a7f7e38e63d1402aa3d6a034 /libavcodec/hpel_template.c | |
parent | 488f87be873506abb01d67708a67c10a4dd29283 (diff) | |
download | ffmpeg-0b70fb1d518cbd796545fd6eef02772cd0d892c7.tar.gz |
dsputil: convert remaining op_pixels_func
Convert to diffptr_t the line_size parameters still int.
Remove all the warnings in dsputil.c
Diffstat (limited to 'libavcodec/hpel_template.c')
-rw-r--r-- | libavcodec/hpel_template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hpel_template.c b/libavcodec/hpel_template.c index e3d74c5ea2..0c1f756a0c 100644 --- a/libavcodec/hpel_template.c +++ b/libavcodec/hpel_template.c @@ -20,7 +20,7 @@ */ #define DEF_HPEL(OPNAME, OP) \ -static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block, const uint8_t *pixels, int line_size, int h){\ +static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){\ int i;\ for(i=0; i<h; i++){\ OP(*((pixel2*)(block )), AV_RN2P(pixels ));\ @@ -28,7 +28,7 @@ static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block, const uint8_t *pixe block +=line_size;\ }\ }\ -static inline void FUNCC(OPNAME ## _pixels4)(uint8_t *block, const uint8_t *pixels, int line_size, int h){\ +static inline void FUNCC(OPNAME ## _pixels4)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){\ int i;\ for(i=0; i<h; i++){\ OP(*((pixel4*)(block )), AV_RN4P(pixels ));\ @@ -36,7 +36,7 @@ static inline void FUNCC(OPNAME ## _pixels4)(uint8_t *block, const uint8_t *pixe block +=line_size;\ }\ }\ -static inline void FUNCC(OPNAME ## _pixels8)(uint8_t *block, const uint8_t *pixels, int line_size, int h){\ +static inline void FUNCC(OPNAME ## _pixels8)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){\ int i;\ for(i=0; i<h; i++){\ OP(*((pixel4*)(block )), AV_RN4P(pixels ));\ |