• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libswscale/

Lines Matching defs:Y1

356         int Y1 = (1 << 14) - 0x40000000;
360 Y1 += lumSrc[j][i * 2] * lumFilter[j];
363 Y1 >>= 15;
365 Y1 = av_clip_int16(Y1);
367 output_pixel(&dest[i * 2 + 0], 0x8000 + Y1);
384 int Y1 = (buf0[i * 2 ] * yalpha1 + buf1[i * 2 ] * yalpha) >> 15;
387 output_pixel(&dest[i * 2 + 0], Y1);
401 int Y1 = buf0[i * 2 ] << 1;
404 output_pixel(&dest[i * 2 + 0], Y1);
482 int Y1 = 1 << 18;
486 Y1 += lumSrc[j][i] * lumFilter[j];
489 Y1 >>= 19;
491 if ((Y1 | Y2) & 0x100) {
492 Y1 = av_clip_uint8(Y1);
495 acc += acc + g[Y1 + d128[(i + 0) & 7]];
589 #define output_pixels(pos, Y1, U, Y2, V) \
591 dest[pos + 0] = Y1; \
597 dest[pos + 1] = Y1; \
614 int Y1 = 1 << 18;
620 Y1 += lumSrc[j][i * 2] * lumFilter[j];
627 Y1 >>= 19;
631 if ((Y1 | Y2 | U | V) & 0x100) {
632 Y1 = av_clip_uint8(Y1);
637 output_pixels(4*i, Y1, U, Y2, V);
656 int Y1 = (buf0[i * 2] * yalpha1 + buf1[i * 2] * yalpha) >> 19;
661 output_pixels(i * 4, Y1, U, Y2, V);
677 int Y1 = buf0[i * 2] >> 7;
682 output_pixels(i * 4, Y1, U, Y2, V);
686 int Y1 = buf0[i * 2] >> 7;
691 output_pixels(i * 4, Y1, U, Y2, V);
722 int Y1 = -0x40000000;
729 Y1 += lumSrc[j][i * 2] * lumFilter[j];
738 Y1 >>= 14; // 10
739 Y1 += 0x10000;
746 Y1 -= c->yuv2rgb_y_offset;
748 Y1 *= c->yuv2rgb_y_coeff;
750 Y1 += 1 << 13; // 21
759 output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14);
760 output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14);
761 output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14);
784 int Y1 = (buf0[i * 2] * yalpha1 + buf1[i * 2] * yalpha) >> 14;
790 Y1 -= c->yuv2rgb_y_offset;
792 Y1 *= c->yuv2rgb_y_coeff;
794 Y1 += 1 << 13;
801 output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14);
802 output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14);
803 output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14);
823 int Y1 = (buf0[i * 2] ) >> 2;
829 Y1 -= c->yuv2rgb_y_offset;
831 Y1 *= c->yuv2rgb_y_coeff;
833 Y1 += 1 << 13;
840 output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14);
841 output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14);
842 output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14);
850 int Y1 = (buf0[i * 2] ) >> 2;
856 Y1 -= c->yuv2rgb_y_offset;
858 Y1 *= c->yuv2rgb_y_coeff;
860 Y1 += 1 << 13;
867 output_pixel(&dest[0], av_clip_uintp2(R_B + Y1, 30) >> 14);
868 output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14);
869 output_pixel(&dest[2], av_clip_uintp2(B_R + Y1, 30) >> 14);
892 * This function then uses the luminance (Y1/Y2) values to write out the
896 yuv2rgb_write(uint8_t *_dest, int i, unsigned Y1, unsigned Y2,
911 dest[i * 2 + 0] = r[Y1] + g[Y1] + b[Y1] + (hasAlpha ? A1 << sh : 0);
917 dest[i * 2 + 0] = r[Y1] + g[Y1] + b[Y1] + (A1 << sh);
920 dest[i * 2 + 0] = r[Y1] + g[Y1] + b[Y1];
932 dest[i * 6 + 0] = r_b[Y1];
933 dest[i * 6 + 1] = g[Y1];
934 dest[i * 6 + 2] = b_r[Y1];
972 dest[i * 2 + 0] = r[Y1 + dr1] + g[Y1 + dg1] + b[Y1 + db1];
998 dest[i] = r[Y1 + dr1] + g[Y1 + dg1] + b[Y1 + db1] +
1001 dest[i * 2 + 0] = r[Y1 + dr1] + g[Y1 + dg1] + b[Y1 + db1];
1019 int Y1 = 1 << 18;
1027 Y1 += lumSrc[j][i * 2] * lumFilter[j];
1034 Y1 >>= 19;
1038 if ((Y1 | Y2 | U | V) & 0x100) {
1039 Y1 = av_clip_uint8(Y1);
1064 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1086 int Y1 = (buf0[i * 2] * yalpha1 + buf1[i * 2] * yalpha) >> 19;
1100 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1118 int Y1 = buf0[i * 2] >> 7;
1132 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1137 int Y1 = buf0[i * 2] >> 7;
1151 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,