Lines Matching refs:yalpha
603 int yalpha, int uvalpha, int y, in yuv2mono_2_c_template() argument
608 int yalpha1 = 4096 - yalpha; in yuv2mono_2_c_template()
610 av_assert2(yalpha <= 4096U); in yuv2mono_2_c_template()
618 Y = (buf0[i + 0] * yalpha1 + buf1[i + 0] * yalpha) >> 19; in yuv2mono_2_c_template()
624 err = (buf0[i + 1] * yalpha1 + buf1[i + 1] * yalpha) >> 19; in yuv2mono_2_c_template()
638 Y = (buf0[i + 0] * yalpha1 + buf1[i + 0] * yalpha) >> 19; in yuv2mono_2_c_template()
640 Y = (buf0[i + 1] * yalpha1 + buf1[i + 1] * yalpha) >> 19; in yuv2mono_2_c_template()
642 Y = (buf0[i + 2] * yalpha1 + buf1[i + 2] * yalpha) >> 19; in yuv2mono_2_c_template()
644 Y = (buf0[i + 3] * yalpha1 + buf1[i + 3] * yalpha) >> 19; in yuv2mono_2_c_template()
646 Y = (buf0[i + 4] * yalpha1 + buf1[i + 4] * yalpha) >> 19; in yuv2mono_2_c_template()
648 Y = (buf0[i + 5] * yalpha1 + buf1[i + 5] * yalpha) >> 19; in yuv2mono_2_c_template()
650 Y = (buf0[i + 6] * yalpha1 + buf1[i + 6] * yalpha) >> 19; in yuv2mono_2_c_template()
652 Y = (buf0[i + 7] * yalpha1 + buf1[i + 7] * yalpha) >> 19; in yuv2mono_2_c_template()
727 int yalpha, int uvalpha, int y) \
730 dest, dstW, yalpha, uvalpha, y, fmt); \
807 int yalpha, int uvalpha, int y, in yuv2422_2_c_template() argument
813 int yalpha1 = 4096 - yalpha; in yuv2422_2_c_template()
816 av_assert2(yalpha <= 4096U); in yuv2422_2_c_template()
820 int Y1 = (buf0[i * 2] * yalpha1 + buf1[i * 2] * yalpha) >> 19; in yuv2422_2_c_template()
821 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 19; in yuv2422_2_c_template()
938 int yalpha, int unused_uvalpha, int y, in yuv2ya16_2_c_template() argument
945 int yalpha1 = 4096 - yalpha; in yuv2ya16_2_c_template()
948 av_assert2(yalpha <= 4096U); in yuv2ya16_2_c_template()
951 int Y = (buf0[i] * yalpha1 + buf1[i] * yalpha) >> 15; in yuv2ya16_2_c_template()
957 A = (abuf0[i] * yalpha1 + abuf1[i] * yalpha) >> 15; in yuv2ya16_2_c_template()
1078 int yalpha, int uvalpha, int y, in yuv2rgba64_2_c_template() argument
1086 int yalpha1 = 4096 - yalpha; in yuv2rgba64_2_c_template()
1091 av_assert2(yalpha <= 4096U); in yuv2rgba64_2_c_template()
1095 int Y1 = (buf0[i * 2] * yalpha1 + buf1[i * 2] * yalpha) >> 14; in yuv2rgba64_2_c_template()
1096 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 14; in yuv2rgba64_2_c_template()
1113 A1 = (abuf0[i * 2 ] * yalpha1 + abuf1[i * 2 ] * yalpha) >> 1; in yuv2rgba64_2_c_template()
1114 A2 = (abuf0[i * 2 + 1] * yalpha1 + abuf1[i * 2 + 1] * yalpha) >> 1; in yuv2rgba64_2_c_template()
1310 int yalpha, int uvalpha, int y, in yuv2rgba64_full_2_c_template() argument
1318 int yalpha1 = 4096 - yalpha; in yuv2rgba64_full_2_c_template()
1323 av_assert2(yalpha <= 4096U); in yuv2rgba64_full_2_c_template()
1327 int Y = (buf0[i] * yalpha1 + buf1[i] * yalpha) >> 14; in yuv2rgba64_full_2_c_template()
1341 A = (abuf0[i] * yalpha1 + abuf1[i] * yalpha) >> 1; in yuv2rgba64_full_2_c_template()
1460 int yalpha, int uvalpha, int y) \
1468 dest, dstW, yalpha, uvalpha, y, fmt, hasAlpha, eightbytes); \
1705 int yalpha, int uvalpha, int y, in yuv2rgb_2_c_template() argument
1713 int yalpha1 = 4096 - yalpha; in yuv2rgb_2_c_template()
1716 av_assert2(yalpha <= 4096U); in yuv2rgb_2_c_template()
1720 int Y1 = (buf0[i * 2] * yalpha1 + buf1[i * 2] * yalpha) >> 19; in yuv2rgb_2_c_template()
1721 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 19; in yuv2rgb_2_c_template()
1730 A1 = (abuf0[i * 2 ] * yalpha1 + abuf1[i * 2 ] * yalpha) >> 19; in yuv2rgb_2_c_template()
1731 A2 = (abuf0[i * 2 + 1] * yalpha1 + abuf1[i * 2 + 1] * yalpha) >> 19; in yuv2rgb_2_c_template()
1815 int yalpha, int uvalpha, int y) \
1818 dest, dstW, yalpha, uvalpha, y, fmt, hasAlpha); \
2046 int yalpha, int uvalpha, int y, in yuv2rgb_full_2_c_template() argument
2054 int yalpha1 = 4096 - yalpha; in yuv2rgb_full_2_c_template()
2061 av_assert2(yalpha <= 4096U); in yuv2rgb_full_2_c_template()
2069 int Y = ( buf0[i] * yalpha1 + buf1[i] * yalpha ) >> 10; //FIXME rounding in yuv2rgb_full_2_c_template()
2074 A = (abuf0[i] * yalpha1 + abuf1[i] * yalpha + (1<<18)) >> 19; in yuv2rgb_full_2_c_template()
2431 int yalpha, int uvalpha, int y) in yuv2ya8_2_c() argument
2437 int yalpha1 = 4096 - yalpha; in yuv2ya8_2_c()
2440 av_assert2(yalpha <= 4096U); in yuv2ya8_2_c()
2443 int Y = (buf0[i] * yalpha1 + buf1[i] * yalpha) >> 19; in yuv2ya8_2_c()
2449 A = (abuf0[i] * yalpha1 + abuf1[i] * yalpha) >> 19; in yuv2ya8_2_c()