• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libswscale/

Lines Matching defs:Y2

340         int Y2 = 1 << 18;
344 Y2 += lumSrc[j][i+1] * lumFilter[j];
347 Y2 >>= 19;
348 if ((Y1 | Y2) & 0x100) {
350 Y2 = av_clip_uint8(Y2);
358 err = Y2 + ((7*Y1 + 1*c->dither_error[0][i+1] + 5*c->dither_error[0][i+2] + 3*c->dither_error[0][i+3] + 8 - 256)>>4);
364 accumulate_bit(acc, Y2 + d128[(i + 1) & 7]);
523 #define output_pixels(pos, Y1, U, Y2, V) \
527 dest[pos + 2] = Y2; \
532 dest[pos + 2] = Y2; \
538 dest[pos + 3] = Y2; \
554 int Y2 = 1 << 18;
560 Y2 += lumSrc[j][i * 2 + 1] * lumFilter[j];
567 Y2 >>= 19;
570 if ((Y1 | Y2 | U | V) & 0x100) {
572 Y2 = av_clip_uint8(Y2);
576 output_pixels(4*i, Y1, U, Y2, V);
596 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 19;
600 if ((Y1 | Y2 | U | V) & 0x100) {
602 Y2 = av_clip_uint8(Y2);
607 output_pixels(i * 4, Y1, U, Y2, V);
623 int Y2 = (buf0[i * 2 + 1]+64) >> 7;
627 if ((Y1 | Y2 | U | V) & 0x100) {
629 Y2 = av_clip_uint8(Y2);
635 Y2 = av_clip_uint8(Y2);
639 output_pixels(i * 4, Y1, U, Y2, V);
645 int Y2 = (buf0[i * 2 + 1] + 64) >> 7;
649 if ((Y1 | Y2 | U | V) & 0x100) {
651 Y2 = av_clip_uint8(Y2);
657 Y2 = av_clip_uint8(Y2);
661 output_pixels(i * 4, Y1, U, Y2, V);
695 int Y2 = -0x40000000;
702 Y2 += lumSrc[j][i * 2 + 1] * (unsigned)lumFilter[j];
725 Y2 >>= 14;
726 Y2 += 0x10000;
732 Y2 -= c->yuv2rgb_y_offset;
734 Y2 *= c->yuv2rgb_y_coeff;
736 Y2 += 1 << 13;
748 output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14);
749 output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14);
750 output_pixel(&dest[6], av_clip_uintp2(B_R + Y2, 30) >> 14);
775 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 14;
781 Y2 -= c->yuv2rgb_y_offset;
783 Y2 *= c->yuv2rgb_y_coeff;
785 Y2 += 1 << 13;
803 output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14);
804 output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14);
805 output_pixel(&dest[6], 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;
852 output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14);
853 output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14);
854 output_pixel(&dest[6], av_clip_uintp2(B_R + Y2, 30) >> 14);
863 int Y2 = (buf0[i * 2 + 1]) >> 2;
869 Y2 -= c->yuv2rgb_y_offset;
871 Y2 *= c->yuv2rgb_y_coeff;
873 Y2 += 1 << 13;
891 output_pixel(&dest[4], av_clip_uintp2(R_B + Y2, 30) >> 14);
892 output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14);
893 output_pixel(&dest[6], av_clip_uintp2(B_R + Y2, 30) >> 14);
913 int Y2 = -0x40000000;
920 Y2 += lumSrc[j][i * 2 + 1] * (unsigned)lumFilter[j];
930 Y2 >>= 14;
931 Y2 += 0x10000;
937 Y2 -= c->yuv2rgb_y_offset;
939 Y2 *= c->yuv2rgb_y_coeff;
941 Y2 += 1 << 13;
952 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
953 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
954 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14);
975 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 14;
981 Y2 -= c->yuv2rgb_y_offset;
983 Y2 *= c->yuv2rgb_y_coeff;
985 Y2 += 1 << 13;
994 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
995 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
996 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14);
1013 int Y2 = (buf0[i * 2 + 1]) >> 2;
1019 Y2 -= c->yuv2rgb_y_offset;
1021 Y2 *= c->yuv2rgb_y_coeff;
1023 Y2 += 1 << 13;
1032 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
1033 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
1034 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14);
1041 int Y2 = (buf0[i * 2 + 1]) >> 2;
1047 Y2 -= c->yuv2rgb_y_offset;
1049 Y2 *= c->yuv2rgb_y_coeff;
1051 Y2 += 1 << 13;
1060 output_pixel(&dest[3], av_clip_uintp2(R_B + Y2, 30) >> 14);
1061 output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14);
1062 output_pixel(&dest[5], av_clip_uintp2(B_R + Y2, 30) >> 14);
1136 * This function then uses the luminance (Y1/Y2) values to write out the
1140 yuv2rgb_write(uint8_t *_dest, int i, int Y1, int Y2,
1156 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2] + (hasAlpha ? A2 << sh : 0);
1163 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2] + (A2 << sh);
1171 dest[i * 2 + 1] = r[Y2] + g[Y2] + b[Y2];
1186 dest[i * 6 + 3] = r_b[Y2];
1187 dest[i * 6 + 4] = g[Y2];
1188 dest[i * 6 + 5] = b_r[Y2];
1224 dest[i * 2 + 1] = r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2];
1250 ((r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2]) << 4);
1253 dest[i * 2 + 1] = r[Y2 + dr2] + g[Y2 + dg2] + b[Y2 + db2];
1271 int Y2 = 1 << 18;
1278 Y2 += lumSrc[j][i * 2 + 1] * lumFilter[j];
1285 Y2 >>= 19;
1307 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1330 int Y2 = (buf0[i * 2 + 1] * yalpha1 + buf1[i * 2 + 1] * yalpha) >> 19;
1345 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1363 int Y2 = (buf0[i * 2 + 1] + 64) >> 7;
1378 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,
1385 int Y2 = (buf0[i * 2 + 1] + 64) >> 7;
1400 yuv2rgb_write(dest, i, Y1, Y2, hasAlpha ? A1 : 0, hasAlpha ? A2 : 0,