Home | History | Annotate | Download | only in libI420colorconvert

Lines Matching refs:srcWidth

26     void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) {
29 srcWidth * srcRect.top + srcRect.left;
31 srcWidth * (srcHeight - srcRect.top / 2);
44 pSrc_y += srcWidth;
54 pSrc_uv += srcWidth;
66 void* srcBits, int srcWidth, int srcHeight,
72 memcpy(pDst_y, pSrc_y, srcWidth);
73 pSrc_y += srcWidth;
76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight);
77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2);
81 for(int j=0, k=0; j < srcWidth / 2; j++, k+=2) {
86 pSrc_u += srcWidth / 2;
87 pSrc_v += srcWidth / 2;