const UINT32* sptr1 = (const UINT32*) pSrc1;
const UINT32* sptr2 = (const UINT32*) pSrc2;
UINT32* dptr;
- int linebytes, src1Jump, src2Jump, dstJump, y;
+ int linebytes, src1Jump, src2Jump, dstJump;
+ UINT32 y;
__m128i xmm0, xmm1;
if ((width <= 0) || (height <= 0)) return PRIMITIVES_SUCCESS;
{
__m128i zero, max, r_cr, g_cb, g_cr, b_cb, c4096;
__m128i* y_buf, *cb_buf, *cr_buf, *r_buf, *g_buf, *b_buf;
- int srcbump, dstbump, yp, imax;
+ UINT32 yp;
+ int srcbump, dstbump, imax;
if (((ULONG_PTR)(pSrc[0]) & 0x0f)
|| ((ULONG_PTR)(pSrc[1]) & 0x0f)
const UINT32 step = sizeof(__m128i) / sizeof(INT16);
const UINT32 imax = (roi->width - pad) * sizeof(INT16) / sizeof(__m128i);
BYTE* d_buf = pDst;
- int yp;
+ UINT32 yp;
const size_t dstPad = (dstStep - roi->width * 4);
#ifdef DO_PREFETCH
const UINT32 step = sizeof(__m128i) / sizeof(INT16);
const UINT32 imax = (roi->width - pad) * sizeof(INT16) / sizeof(__m128i);
BYTE* d_buf = pDst;
- int yp;
+ UINT32 yp;
const size_t dstPad = (dstStep - roi->width * 4);
#ifdef DO_PREFETCH
{
__m128i min, max, y_r, y_g, y_b, cb_r, cb_g, cb_b, cr_r, cr_g, cr_b;
__m128i* r_buf, *g_buf, *b_buf, *y_buf, *cb_buf, *cr_buf;
- int srcbump, dstbump, yp, imax;
+ UINT32 yp;
+ int srcbump, dstbump, imax;
if (((ULONG_PTR)(pSrc[0]) & 0x0f)
|| ((ULONG_PTR)(pSrc[1]) & 0x0f)