diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-03-08 22:40:03 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-03-12 18:26:42 +0100 |
commit | a8b6015823e628047a45916404c00044c5e80415 (patch) | |
tree | 8568a5d96ba659cb3ac672bed3d0988ea6a4eb34 /libavcodec/x86/vc1dsp_mmx.c | |
parent | a4472ac01e86f9fae5adb9034f2777b86a9c5480 (diff) | |
download | ffmpeg-a8b6015823e628047a45916404c00044c5e80415.tar.gz |
dsputil: convert remaining functions to use ptrdiff_t strides
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/x86/vc1dsp_mmx.c')
-rw-r--r-- | libavcodec/x86/vc1dsp_mmx.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/x86/vc1dsp_mmx.c b/libavcodec/x86/vc1dsp_mmx.c index 9db8f9e85c..048ffd8ee0 100644 --- a/libavcodec/x86/vc1dsp_mmx.c +++ b/libavcodec/x86/vc1dsp_mmx.c @@ -463,12 +463,17 @@ VC1_MSPEL_MC(avg_) /** Macro to ease bicubic filter interpolation functions declarations */ #define DECLARE_FUNCTION(a, b) \ -static void put_vc1_mspel_mc ## a ## b ## _mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd) { \ +static void put_vc1_mspel_mc ## a ## b ## _mmx(uint8_t *dst, \ + const uint8_t *src, \ + ptrdiff_t stride, \ + int rnd) \ +{ \ put_vc1_mspel_mc(dst, src, stride, a, b, rnd); \ }\ static void avg_vc1_mspel_mc ## a ## b ## _mmxext(uint8_t *dst, \ const uint8_t *src, \ - int stride, int rnd) \ + ptrdiff_t stride, \ + int rnd) \ { \ avg_vc1_mspel_mc(dst, src, stride, a, b, rnd); \ } |