• 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:Y2

357         int Y2 = (1 << 14) - 0x40000000;
361 Y2 += lumSrc[j][i * 2 + 1] * lumFilter[j];
364 Y2 >>= 15;
366 Y2 = av_clip_int16(Y2);
368 output_pixel(&dest[i * 2 + 1], 0x8000 + Y2);
385 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 15;
388 output_pixel(&dest[i * 2 + 1], Y2);
402 int Y2 = buf0[i * 2 + 1] << 1;
405 output_pixel(&dest[i * 2 + 1], Y2);
483 int Y2 = 1 << 18;
487 Y2 += lumSrc[j][i+1] * lumFilter[j];
490 Y2 >>= 19;
491 if ((Y1 | Y2) & 0x100) {
493 Y2 = av_clip_uint8(Y2);
496 acc += acc + g[Y2 + d128[(i + 1) & 7]];
589 #define output_pixels(pos, Y1, U, Y2, V) \
593 dest[pos + 2] = Y2; \
599 dest[pos + 3] = Y2; \
615 int Y2 = 1 << 18;
621 Y2 += lumSrc[j][i * 2 + 1] * lumFilter[j];
628 Y2 >>= 19;
631 if ((Y1 | Y2 | U | V) & 0x100) {
633 Y2 = av_clip_uint8(Y2);
637 output_pixels(4*i, Y1, U, Y2, V);
657 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 19;
661 output_pixels(i * 4, Y1, U, Y2, V);
678 int Y2 = buf0[i * 2 + 1] >> 7;
682 output_pixels(i * 4, Y1, U, Y2, V);
687 int Y2 = buf0[i * 2 + 1] >> 7;
691 output_pixels(i * 4, Y1, U, Y2, V);
723 int Y2 = -0x40000000;
730 Y2 += lumSrc[j][i * 2 + 1] * lumFilter[j];
740 Y2 >>= 14;
741 Y2 += 0x10000;
747 Y2 -= c->yuv2rgb_y_offset;
749 Y2 *= c->yuv2rgb_y_coeff;
751 Y2 += 1 << 13;
762 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
763 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
764 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14);
785 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 14;
791 Y2 -= c->yuv2rgb_y_offset;
793 Y2 *= c->yuv2rgb_y_coeff;
795 Y2 += 1 << 13;
804 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
805 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
806 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14);
824 int Y2 = (buf0[i * 2 + 1]) >> 2;
830 Y2 -= c->yuv2rgb_y_offset;
832 Y2 *= c->yuv2rgb_y_coeff;
834 Y2 += 1 << 13;
843 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
844 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
845 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14);
851 int Y2 = (buf0[i * 2 + 1]) >> 2;
857 Y2 -= c->yuv2rgb_y_offset;
859 Y2 *= c->yuv2rgb_y_coeff;
861 Y2 += 1 << 13;
870 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
871 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
872 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 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,
912 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2] + (hasAlpha ? A2 << sh : 0);
918 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2] + (A2 << sh);
921 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2];
935 dest[i * 6 + 3] = r_b[Y2];
936 dest[i * 6 + 4] = g[Y2];
937 dest[i * 6 + 5] = b_r[Y2];
973 dest[i * 2 + 1] = r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2];
999 ((r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2]) << 4);
1002 dest[i * 2 + 1] = r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2];
1020 int Y2 = 1 << 18;
1028 Y2 += lumSrc[j][i * 2 + 1] * lumFilter[j];
1035 Y2 >>= 19;
1038 if ((Y1 | Y2 | U | V) & 0x100) {
1040 Y2 = av_clip_uint8(Y2);
1064 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1087 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 19;
1100 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1119 int Y2 = buf0[i * 2 + 1] >> 7;
1132 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1138 int Y2 = buf0[i * 2 + 1] >> 7;
1151 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,