Home
last modified time | relevance | path

Searched refs:rgb2 (Results 1 – 2 of 2) sorted by relevance

/external/opencore/codecs_v2/utilities/colorconvert/src/
Dcczoomrotation24.cpp248 int32 tmp0, tmp1, tmp2, rgb, rgb2; in cc24() local
335 rgb2 = tmp1 | (tmp2 << 8); /* g2 & b2 */ in cc24()
337 rgb2 = tmp1 | (tmp0 << 8); /* g2 & r2 */ in cc24()
410 rgb2 |= (tmp1 << 24); in cc24()
411 rgb2 |= (tmp0 << 16); in cc24()
414 rgb2 |= (tmp1 << 24); in cc24()
415 rgb2 |= (tmp2 << 16); in cc24()
418 *((uint32 *)(pDst + dst_pitch3 + 4)) = rgb2; in cc24()
424 rgb2 = tmp2 | (tmp0 << 8); /* b3 & r4 */ in cc24()
430 rgb2 = tmp0 | (tmp2 << 8); /* r3 & b4 */ in cc24()
[all …]
Dcczoomrotation16.cpp3883 uint32 rgb1, rgb2; in cc16scaling54() local
4050 rgb2 = tmp2 | (rgb << 5); in cc16scaling54()
4054 *(pDst + dst_pitch) = (((((tmp02 & 0x1F) + (rgb2 & 0x1F) + 1) / 2) & 0x1F) in cc16scaling54()
4055 … | ((((((tmp02 >> 5) & 0x3F) + ((rgb2 >> 5) & 0x3F) + 1) / 2) & 0x3F) << 5) in cc16scaling54()
4056 … | ((((((tmp02 >> 11) & 0x1F) + ((rgb2 >> 11) & 0x1F) + 1) / 2) & 0x1F) << 11)); in cc16scaling54()
4058 *(pDst + dst_pitch) = rgb2; /* save left pixel, have to save separately */ in cc16scaling54()
4076 *(pDst + dst_pitch - 1) = (((((tmp0 & 0x1F) + (rgb2 & 0x1F) * 3 + 1) / 4) & 0x1F) in cc16scaling54()
4077 … | ((((((tmp0 >> 5) & 0x3F) + ((rgb2 >> 5) & 0x3F) * 3 + 1) / 4) & 0x3F) << 5) in cc16scaling54()
4078 … | ((((((tmp0 >> 11) & 0x1F) + ((rgb2 >> 11) & 0x1F) * 3 + 1) / 4) & 0x1F) << 11)); in cc16scaling54()
4312 rgb2 = tmp2 | (rgb << 5); in cc16scaling54()
[all …]