aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/h264_qpel.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-11 01:17:12 +0200
committerDiego Biurrun <diego@biurrun.de>2013-04-12 09:30:12 +0200
commita89c05500f68d94a0269e68bc522abfd420c5497 (patch)
treed54ad4eeb7e2b78c712d2b517e05eba390a07193 /libavcodec/x86/h264_qpel.c
parent25882a7ff642e83f606071a568214c210b7b7ff1 (diff)
downloadffmpeg-a89c05500f68d94a0269e68bc522abfd420c5497.tar.gz
x86: h264qpel: int --> ptrdiff_t for some line_size parameters
Diffstat (limited to 'libavcodec/x86/h264_qpel.c')
-rw-r--r--libavcodec/x86/h264_qpel.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/libavcodec/x86/h264_qpel.c b/libavcodec/x86/h264_qpel.c
index f909825944..2d1c443254 100644
--- a/libavcodec/x86/h264_qpel.c
+++ b/libavcodec/x86/h264_qpel.c
@@ -28,17 +28,20 @@
#include "dsputil_mmx.h"
#if HAVE_YASM
-void ff_put_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, int line_size, int h);
-void ff_avg_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, int line_size, int h);
-void ff_put_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, int line_size, int h);
+void ff_put_pixels4_mmxext(uint8_t *block, const uint8_t *pixels,
+ ptrdiff_t line_size, int h);
+void ff_avg_pixels4_mmxext(uint8_t *block, const uint8_t *pixels,
+ ptrdiff_t line_size, int h);
+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);
}
static void ff_avg_pixels16_mmxext(uint8_t *block, const uint8_t *pixels,
- int line_size, int h)
+ ptrdiff_t line_size, int h)
{
ff_avg_pixels8_mmxext(block, pixels, line_size, h);
ff_avg_pixels8_mmxext(block + 8, pixels + 8, line_size, h);