[FFmpeg-cvslog] x86: dsputil: int --> ptrdiff_t for ff_put_pixels16_mmxext line_size param
Daniel Kang
git at videolan.org
Tue Feb 19 12:36:24 CET 2013
ffmpeg | branch: master | Daniel Kang <daniel.d.kang at gmail.com> | Fri Feb 15 15:13:58 2013 -0500| [7a03145ed7cb4f1ce794b5126559dd6f38029243] | committer: Diego Biurrun
x86: dsputil: int --> ptrdiff_t for ff_put_pixels16_mmxext line_size param
This avoids SIMD-optimized functions having to sign-extend their
line size argument manually to be able to do pointer arithmetic.
Signed-off-by: Diego Biurrun <diego at biurrun.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7a03145ed7cb4f1ce794b5126559dd6f38029243
---
libavcodec/x86/dsputil_mmx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index c011a21..fbc4b01 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -147,7 +147,7 @@ void ff_avg_pixels8_xy2_3dnow(uint8_t *block, const uint8_t *pixels,
void ff_put_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h);
static void ff_put_pixels16_mmxext(uint8_t *block, const uint8_t *pixels,
- int line_size, int h)
+ ptrdiff_t line_size, int h)
{
ff_put_pixels8_mmxext(block, pixels, line_size, h);
ff_put_pixels8_mmxext(block + 8, pixels + 8, line_size, h);
More information about the ffmpeg-cvslog
mailing list