G 183 libavcodec/huffyuvdec.c map[i][G] = g; G 188 libavcodec/huffyuvdec.c map[i][G] = b; G 790 libavcodec/huffyuvdec.c VLC_INTERN(s->temp[0][4 * i + G], s->vlc[1].table, G 796 libavcodec/huffyuvdec.c s->temp[0][4 * i + B] = code + s->temp[0][4 * i + G]; G 801 libavcodec/huffyuvdec.c s->temp[0][4 * i + R] = code + s->temp[0][4 * i + G]; G 808 libavcodec/huffyuvdec.c VLC_INTERN(s->temp[0][4 * i + G], s->vlc[1].table, G 1179 libavcodec/huffyuvdec.c left[G] = p->data[0][last_line + G] = get_bits(&s->gb, 8); G 1183 libavcodec/huffyuvdec.c left[G] = p->data[0][last_line + G] = get_bits(&s->gb, 8); G 88 libavcodec/huffyuvdsp.c uint8_t r = left[R], g = left[G], b = left[B], a = left[A]; G 92 libavcodec/huffyuvdsp.c g += src[4 * i + G]; G 97 libavcodec/huffyuvdsp.c dst[4 * i + G] = g; G 103 libavcodec/huffyuvdsp.c left[G] = g; G 107 libavcodec/huffyuvenc.c const int gt = src[i * 4 + G]; G 111 libavcodec/huffyuvenc.c dst[i * 4 + G] = gt - g; G 123 libavcodec/huffyuvenc.c *green = src[(w - 1) * 4 + G]; G 709 libavcodec/huffyuvenc.c int g = s->temp[0][planes == 3 ? 3 * i + 1 : 4 * i + G]; \ G 891 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftg = data[G]); G 44 libavcodec/ppc/vp3dsp_altivec.c vec_s16 A, B, C, D, Ad, Bd, Cd, Dd, E, F, G, H;\ G 94 libavcodec/ppc/vp3dsp_altivec.c G = vec_add(M16(b2, C2), M15(b6, C6));\ G 97 libavcodec/ppc/vp3dsp_altivec.c Ed = vec_sub(E, G);\ G 98 libavcodec/ppc/vp3dsp_altivec.c Gd = vec_add(E, G);\ G 51 libavcodec/vp3dsp.c int A, B, C, D, Ad, Bd, Cd, Dd, E, F, G, H; G 75 libavcodec/vp3dsp.c G = M(xC2S6, ip[2 * 8]) + M(xC6S2, ip[6 * 8]); G 78 libavcodec/vp3dsp.c Ed = E - G; G 79 libavcodec/vp3dsp.c Gd = E + G; G 129 libavcodec/vp3dsp.c G = M(xC2S6, ip[2]) + M(xC6S2, ip[6]); G 132 libavcodec/vp3dsp.c Ed = E - G; G 133 libavcodec/vp3dsp.c Gd = E + G; G 126 libavfilter/vf_colorbalance.c s->lut[G][i] = g; G 144 libavfilter/vf_colorbalance.c const uint8_t goffset = s->rgba_map[G]; G 171 libavfilter/vf_colorbalance.c dst[j + goffset] = s->lut[G][src[j + goffset]]; G 117 libavfilter/vf_colorchannelmixer.c s->lut[R][G][i] = round(i * s->rg); G 121 libavfilter/vf_colorchannelmixer.c s->lut[G][R][i] = round(i * s->gr); G 122 libavfilter/vf_colorchannelmixer.c s->lut[G][G][i] = round(i * s->gg); G 123 libavfilter/vf_colorchannelmixer.c s->lut[G][B][i] = round(i * s->gb); G 124 libavfilter/vf_colorchannelmixer.c s->lut[G][A][i] = round(i * s->ga); G 127 libavfilter/vf_colorchannelmixer.c s->lut[B][G][i] = round(i * s->bg); G 132 libavfilter/vf_colorchannelmixer.c s->lut[A][G][i] = round(i * s->ag); G 146 libavfilter/vf_colorchannelmixer.c const uint8_t goffset = s->rgba_map[G]; G 179 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + G 181 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint8(s->lut[G][R][rin] + G 182 libavfilter/vf_colorchannelmixer.c s->lut[G][G][gin] + G 183 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin]); G 185 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + G 207 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + G 209 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint8(s->lut[G][R][rin] + G 210 libavfilter/vf_colorchannelmixer.c s->lut[G][G][gin] + G 211 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin]); G 213 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + G 238 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + G 241 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint8(s->lut[G][R][rin] + G 242 libavfilter/vf_colorchannelmixer.c s->lut[G][G][gin] + G 243 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin] + G 244 libavfilter/vf_colorchannelmixer.c s->lut[G][A][ain]); G 246 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + G 250 libavfilter/vf_colorchannelmixer.c s->lut[A][G][gin] + G 271 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + G 273 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint16(s->lut[G][R][rin] + G 274 libavfilter/vf_colorchannelmixer.c s->lut[G][G][gin] + G 275 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin]); G 277 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + G 298 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + G 301 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint16(s->lut[G][R][rin] + G 302 libavfilter/vf_colorchannelmixer.c s->lut[G][G][gin] + G 303 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin] + G 304 libavfilter/vf_colorchannelmixer.c s->lut[G][A][ain]); G 306 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + G 310 libavfilter/vf_colorchannelmixer.c s->lut[A][G][gin] + G 54 libavfilter/vf_colorlevels.c { "gimin", "set input green black point", OFFSET(range[G].in_min), AV_OPT_TYPE_DOUBLE, {.dbl=0}, -1, 1, FLAGS }, G 58 libavfilter/vf_colorlevels.c { "gimax", "set input green white point", OFFSET(range[G].in_max), AV_OPT_TYPE_DOUBLE, {.dbl=1}, -1, 1, FLAGS }, G 62 libavfilter/vf_colorlevels.c { "gomin", "set output green black point", OFFSET(range[G].out_min), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, 1, FLAGS }, G 66 libavfilter/vf_colorlevels.c { "gomax", "set output green white point", OFFSET(range[G].out_max), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 1, FLAGS }, G 492 libavfilter/vf_curves.c const uint8_t g = curves->rgba_map[G]; G 503 libavfilter/vf_curves.c dst[x + g] = curves->graph[G][src[x + g]]; G 130 libavfilter/vf_elbg.c const uint8_t g_idx = elbg->rgba_map[G]; G 162 libavfilter/vf_fade.c const uint8_t g_idx = s->rgba_map[G]; G 61 libavfilter/vf_geq.c { "green_expr", "set green expression", OFFSET(expr_str[G]), AV_OPT_TYPE_STRING, {.str=NULL}, CHAR_MIN, CHAR_MAX, FLAGS }, G 62 libavfilter/vf_geq.c { "g", "set green expression", OFFSET(expr_str[G]), AV_OPT_TYPE_STRING, {.str=NULL}, CHAR_MIN, CHAR_MAX, FLAGS }, G 108 libavfilter/vf_geq.c if (!geq->expr_str[Y] && !geq->expr_str[G] && !geq->expr_str[B] && !geq->expr_str[R]) { G 115 libavfilter/vf_geq.c if ((geq->expr_str[Y] || geq->expr_str[U] || geq->expr_str[V]) && (geq->expr_str[G] || geq->expr_str[B] || geq->expr_str[R])) { G 133 libavfilter/vf_geq.c if (!geq->expr_str[G]) G 134 libavfilter/vf_geq.c geq->expr_str[G] = av_strdup("g(X,Y)"); G 141 libavfilter/vf_geq.c (!geq->expr_str[G] || !geq->expr_str[B] || !geq->expr_str[R]) G 126 libavfilter/vf_histeq.c g = src[x + map[G]]; \ G 235 libavfilter/vf_histeq.c dst[x + histeq->rgba_map[G]] = g; G 92 libavfilter/vf_lut.c { "g", "set G expression", OFFSET(comp_expr_str[G]), AV_OPT_TYPE_STRING, { .str = "val" }, .flags = FLAGS }, G 212 libavfilter/vf_lut3d.c const uint8_t g = lut3d->rgba_map[G]; \ G 382 libavfilter/vf_overlay.c const int dg = s->main_rgba_map[G]; G 387 libavfilter/vf_overlay.c const int sg = s->overlay_rgba_map[G]; G 703 libavfilter/vsrc_testsrc.c v = (r << (rgba_map[R]*8)) + (g << (rgba_map[G]*8)) + (b << (rgba_map[B]*8)); G 711 libavfilter/vsrc_testsrc.c v = (r << (rgba_map[R]*8)) + (g << (rgba_map[G]*8)) + (b << (rgba_map[B]*8)) + (255 << (rgba_map[A]*8)); G 62 libswscale/bayer_template.c G(0, 1) = S(0, 1) >> BAYER_SHIFT; \ G 63 libswscale/bayer_template.c G(0, 0) = \ G 64 libswscale/bayer_template.c G(1, 1) = (T(0, 1) + T(1, 0)) >> (1 + BAYER_SHIFT); \ G 65 libswscale/bayer_template.c G(1, 0) = S(1, 0) >> BAYER_SHIFT; \ G 73 libswscale/bayer_template.c G(0, 0) = (T(-1, 0) + T( 0, -1) + T(0, 1) + T(1, 0)) >> (2 + BAYER_SHIFT); \ G 77 libswscale/bayer_template.c G(0, 1) = S(0, 1) >> BAYER_SHIFT; \ G 81 libswscale/bayer_template.c G(1, 0) = S(1, 0) >> BAYER_SHIFT; \ G 85 libswscale/bayer_template.c G(1, 1) = (T(0, 1) + T(1, 0) + T(1, 2) + T(2, 1)) >> (2 + BAYER_SHIFT); \ G 94 libswscale/bayer_template.c G(0, 0) = S(0, 0) >> BAYER_SHIFT; \ G 95 libswscale/bayer_template.c G(1, 1) = S(1, 1) >> BAYER_SHIFT; \ G 96 libswscale/bayer_template.c G(0, 1) = \ G 97 libswscale/bayer_template.c G(1, 0) = (T(0, 0) + T(1, 1)) >> (1 + BAYER_SHIFT); \ G 105 libswscale/bayer_template.c G(0, 0) = S(0, 0) >> BAYER_SHIFT; \ G 109 libswscale/bayer_template.c G(0, 1) = (T(-1, 1) + T(0, 0) + T(0, 2) + T(1, 1)) >> (2 + BAYER_SHIFT); \ G 113 libswscale/bayer_template.c G(1, 0) = (T(0, 0) + T(1, -1) + T(1, 1) + T(2, 0)) >> (2 + BAYER_SHIFT); \ G 117 libswscale/bayer_template.c G(1, 1) = S(1, 1) >> BAYER_SHIFT; \ G 698 libswscale/output.c int R, G, B; G 740 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 745 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 749 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); G 778 libswscale/output.c int R, G, B; G 788 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 800 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 804 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); G 827 libswscale/output.c int R, G, B; G 845 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 849 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 853 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); G 866 libswscale/output.c int R, G, B; G 884 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 888 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 892 libswscale/output.c output_pixel(&dest[5], av_clip_uintp2( G + Y2, 30) >> 14); G 916 libswscale/output.c int R, G, B; G 945 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 950 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 953 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); G 978 libswscale/output.c int R, G, B; G 988 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 992 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 995 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); G 1016 libswscale/output.c int R, G, B; G 1026 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 1030 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 1033 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); G 1044 libswscale/output.c int R, G, B; G 1054 libswscale/output.c G = V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 1058 libswscale/output.c output_pixel(&dest[1], av_clip_uintp2( G + Y1, 30) >> 14); G 1061 libswscale/output.c output_pixel(&dest[4], av_clip_uintp2( G + Y2, 30) >> 14); G 1465 libswscale/output.c int R, G, B; G 1472 libswscale/output.c G = Y + V*c->yuv2rgb_v2g_coeff + U*c->yuv2rgb_u2g_coeff; G 1474 libswscale/output.c if ((R | G | B) & 0xC0000000) { G 1476 libswscale/output.c G = av_clip_uintp2(G, 30); G 1484 libswscale/output.c dest[2] = G >> 22; G 1489 libswscale/output.c dest[1] = G >> 22; G 1494 libswscale/output.c dest[1] = G >> 22; G 1501 libswscale/output.c dest[2] = G >> 22; G 1506 libswscale/output.c dest[1] = G >> 22; G 1511 libswscale/output.c dest[1] = G >> 22; G 1527 libswscale/output.c G >>= 22; G 1530 libswscale/output.c G += (7*err[1] + 1*c->dither_error[1][i] + 5*c->dither_error[1][i+1] + 3*c->dither_error[1][i+2])>>4; G 1536 libswscale/output.c g = G >> (isrgb8 ? 5 : 6); G 1542 libswscale/output.c err[1] = G - g*(isrgb8 ? 36 : 85); G 1550 libswscale/output.c g = (((G >> 19) + A_DITHER(i + 17,y) - 96)>>8); G 1557 libswscale/output.c g = (((G >> 19) + A_DITHER(i + 17,y)-256)>>8); G 1569 libswscale/output.c g = (((G >> 19) + X_DITHER(i + 17,y) - 96)>>8); G 1576 libswscale/output.c g = (((G >> 19) + X_DITHER(i + 17,y)-256)>>8); G 1793 libswscale/output.c int R, G, B; G 1823 libswscale/output.c G = Y + V * c->yuv2rgb_v2g_coeff + U * c->yuv2rgb_u2g_coeff; G 1826 libswscale/output.c if ((R | G | B) & 0xC0000000) { G 1828 libswscale/output.c G = av_clip_uintp2(G, 30); G 1833 libswscale/output.c dest16[0][i] = G >> SH; G 1839 libswscale/output.c dest[0][i] = G >> 22; G 253 libswscale/ppc/yuv2rgb_altivec.c vector signed short *R, vector signed short *G, G 274 libswscale/ppc/yuv2rgb_altivec.c *G = vec_mradds(V, c->CGV, uvx); G 303 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; \ G 407 libswscale/ppc/yuv2rgb_altivec.c G = vec_packclp(G0, G1); \ G 410 libswscale/ppc/yuv2rgb_altivec.c out_pixels(R, G, B, oute); \ G 419 libswscale/ppc/yuv2rgb_altivec.c G = vec_packclp(G0, G1); \ G 423 libswscale/ppc/yuv2rgb_altivec.c out_pixels(R, G, B, outo); \ G 486 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; G 518 libswscale/ppc/yuv2rgb_altivec.c G = vec_packclp(G0, G1); G 522 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, out); G 652 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; G 717 libswscale/ppc/yuv2rgb_altivec.c G = vec_packclp(G0, G1); G 722 libswscale/ppc/yuv2rgb_altivec.c out_abgr(R, G, B, out); G 725 libswscale/ppc/yuv2rgb_altivec.c out_bgra(R, G, B, out); G 728 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, out); G 731 libswscale/ppc/yuv2rgb_altivec.c out_argb(R, G, B, out); G 734 libswscale/ppc/yuv2rgb_altivec.c out_rgb24(R, G, B, out); G 737 libswscale/ppc/yuv2rgb_altivec.c out_bgr24(R, G, B, out); G 808 libswscale/ppc/yuv2rgb_altivec.c G = vec_packclp(G0, G1); G 814 libswscale/ppc/yuv2rgb_altivec.c out_abgr(R, G, B, nout); G 817 libswscale/ppc/yuv2rgb_altivec.c out_bgra(R, G, B, nout); G 820 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, nout); G 823 libswscale/ppc/yuv2rgb_altivec.c out_argb(R, G, B, nout); G 826 libswscale/ppc/yuv2rgb_altivec.c out_rgb24(R, G, B, nout); G 829 libswscale/ppc/yuv2rgb_altivec.c out_bgr24(R, G, B, nout);