x86: h264qpel: int --> ptrdiff_t for some line_size parameters

This commit is contained in:
Diego Biurrun 2013-04-11 01:17:12 +02:00
parent 25882a7ff6
commit a89c05500f
2 changed files with 9 additions and 6 deletions

View File

@ -28,17 +28,20 @@
#include "dsputil_mmx.h" #include "dsputil_mmx.h"
#if HAVE_YASM #if HAVE_YASM
void ff_put_pixels4_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,
void ff_avg_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, int line_size, int h); ptrdiff_t line_size, int h);
void ff_put_pixels8_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,
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, 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, pixels, line_size, h);
ff_put_pixels8_mmxext(block + 8, pixels + 8, 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, 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, pixels, line_size, h);
ff_avg_pixels8_mmxext(block + 8, pixels + 8, line_size, h); ff_avg_pixels8_mmxext(block + 8, pixels + 8, line_size, h);

View File

@ -176,7 +176,7 @@ PIXELS16_L2 put
PIXELS16_L2 avg PIXELS16_L2 avg
INIT_MMX mmxext INIT_MMX mmxext
; void pixels(uint8_t *block, const uint8_t *pixels, int line_size, int h) ; void pixels(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
%macro PIXELS48 2 %macro PIXELS48 2
%if %2 == 4 %if %2 == 4
%define OP movh %define OP movh