R 358 libavcodec/aacenc.c float R = L - cpe->ch[1].coeffs[start+i]; R 360 libavcodec/aacenc.c cpe->ch[1].coeffs[start+i] = R; R 42 libavcodec/aacenc_is.c float *R = use_pcoeffs ? sce1->pcoeffs : sce1->coeffs; R 61 libavcodec/aacenc_is.c IS[i] = (L[start+(w+w2)*128+i] + phase*R[start+(w+w2)*128+i])*sqrt(ener0/ener01); R 63 libavcodec/aacenc_is.c s->abs_pow34(R34, &R[start+(w+w2)*128], sce0->ics.swb_sizes[g]); R 72 libavcodec/aacenc_is.c dist1 += quantize_band_cost(s, &R[start + (w+w2)*128], R34, R 981 libavcodec/aacps.c int AAC_RENAME(ff_ps_apply)(AVCodecContext *avctx, PSContext *ps, INTFLOAT L[2][38][64], INTFLOAT R[2][38][64], int top) R 997 libavcodec/aacps.c hybrid_synthesis(&ps->dsp, R, Rbuf, is34, len); R 84 libavcodec/aacps.h int AAC_RENAME(ff_ps_apply)(AVCodecContext *avctx, PSContext *ps, INTFLOAT L[2][38][64], INTFLOAT R[2][38][64], int top); R 92 libavcodec/aacsbr.h INTFLOAT* L, INTFLOAT *R); R 1480 libavcodec/aacsbr_template.c INTFLOAT* L, INTFLOAT* R) R 1512 libavcodec/aacsbr_template.c sbr_qmf_analysis(ac->fdsp, &sbr->mdct_ana, &sbr->dsp, ch ? R : L, sbr->data[ch].analysis_filterbank_samples, R 1566 libavcodec/aacsbr_template.c R, sbr->X[1], sbr->qmf_filter_scratch, R 164 libavcodec/cfhd.c int R, G1, G2, B; R 173 libavcodec/cfhd.c R = (rg - mid) * 2 + g; R 178 libavcodec/cfhd.c R = av_clip_uintp2(R * 16, 16); R 183 libavcodec/cfhd.c r[x] = R; R 524 libavcodec/g2meet.c int GN, GW, GNW, R, G, B; R 537 libavcodec/g2meet.c R = G + epic_decode_component_pred(dc, R 553 libavcodec/g2meet.c R = ((pred >> R_shift) & 0xFF) - TOSIGNED(delta); R 562 libavcodec/g2meet.c if (R<0 || G<0 || B<0 || R > 255 || G > 255 || B > 255) { R 563 libavcodec/g2meet.c avpriv_request_sample(NULL, "RGB %d %d %d is out of range\n", R, G, B); R 567 libavcodec/g2meet.c return (R << R_shift) | (G << G_shift) | (B << B_shift); R 187 libavcodec/huffyuvdec.c map[i][R] = g + r; R 191 libavcodec/huffyuvdec.c map[i][R] = r; R 780 libavcodec/huffyuvdec.c s->temp[0][4 * i + R] = code + s->temp[0][4 * i + G]; R 792 libavcodec/huffyuvdec.c VLC_INTERN(s->temp[0][4 * i + R], s->vlc[2].table, R 1137 libavcodec/huffyuvdec.c left[R] = p->data[0][last_line + R] = get_bits(&s->gb, 8); R 1141 libavcodec/huffyuvdec.c left[R] = p->data[0][last_line + R] = get_bits(&s->gb, 8); R 63 libavcodec/huffyuvdsp.c uint8_t r = left[R], g = left[G], b = left[B], a = left[A]; R 68 libavcodec/huffyuvdsp.c r += src[4 * i + R]; R 73 libavcodec/huffyuvdsp.c dst[4 * i + R] = r; R 79 libavcodec/huffyuvdsp.c left[R] = r; R 96 libavcodec/huffyuvenc.c const int rt = src[i * 4 + R]; R 100 libavcodec/huffyuvenc.c dst[i * 4 + R] = rt - r; R 112 libavcodec/huffyuvenc.c *red = src[(w - 1) * 4 + R]; R 714 libavcodec/huffyuvenc.c int r =(s->temp[0][planes == 3 ? 3 * i + 0 : 4 * i + R] - g) & 0xFF;\ R 893 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftr = data[R]); R 240 libavcodec/jpeglsdec.c Ra = x ? R(dst, x - stride) : R(last, x); R 241 libavcodec/jpeglsdec.c Rb = R(last, x); R 242 libavcodec/jpeglsdec.c Rc = x ? R(last, x - stride) : last2; R 243 libavcodec/jpeglsdec.c Rd = (x >= w - stride) ? R(last, x) : R(last, x + stride); R 291 libavcodec/jpeglsdec.c Rb = R(last, x); R 142 libavcodec/jpeglsenc.c Ra = x ? R(cur, x - stride) : R(last, x); R 143 libavcodec/jpeglsenc.c Rb = R(last, x); R 144 libavcodec/jpeglsenc.c Rc = x ? R(last, x - stride) : last2; R 145 libavcodec/jpeglsenc.c Rd = (x >= w - stride) ? R(last, x) : R(last, x + stride); R 158 libavcodec/jpeglsenc.c while (x < w && (FFABS(R(cur, x) - RUNval) <= state->near)) { R 166 libavcodec/jpeglsenc.c Rb = R(last, x); R 169 libavcodec/jpeglsenc.c err = R(cur, x) - pred; R 208 libavcodec/jpeglsenc.c err = pred - R(cur, x); R 212 libavcodec/jpeglsenc.c err = R(cur, x) - pred; R 778 libavcodec/wavpack.c int A, B, L, L2, R, R2; R 794 libavcodec/wavpack.c R = wv_get_value(s, gb, 1, &last); R 818 libavcodec/wavpack.c R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); R 821 libavcodec/wavpack.c R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)B + 512) >> 10); R 825 libavcodec/wavpack.c if (B && R) R 826 libavcodec/wavpack.c s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; R 828 libavcodec/wavpack.c s->decorr[i].samplesB[j] = R = R2; R 837 libavcodec/wavpack.c R2 = R + ((s->decorr[i].weightB * (int64_t)L2 + 512) >> 10); R 839 libavcodec/wavpack.c R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)L2 + 512) >> 10); R 840 libavcodec/wavpack.c UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, L2, R); R 841 libavcodec/wavpack.c R = R2; R 842 libavcodec/wavpack.c s->decorr[i].samplesA[0] = R; R 845 libavcodec/wavpack.c R2 = R + ((s->decorr[i].weightB * (int64_t)s->decorr[i].samplesB[0] + 512) >> 10); R 847 libavcodec/wavpack.c R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)s->decorr[i].samplesB[0] + 512) >> 10); R 848 libavcodec/wavpack.c UPDATE_WEIGHT_CLIP(s->decorr[i].weightB, s->decorr[i].delta, s->decorr[i].samplesB[0], R); R 849 libavcodec/wavpack.c R = R2; R 853 libavcodec/wavpack.c s->decorr[i].samplesA[0] = R; R 867 libavcodec/wavpack.c if (FFABS((int64_t)L) + FFABS((int64_t)R) > (1<<19)) { R 868 libavcodec/wavpack.c av_log(s->avctx, AV_LOG_ERROR, "sample %d %d too large\n", L, R); R 875 libavcodec/wavpack.c L += (unsigned)(R -= (unsigned)(L >> 1)); R 876 libavcodec/wavpack.c crc = (crc * 3 + L) * 3 + R; R 880 libavcodec/wavpack.c *dstfl_r++ = wv_get_value_float(s, &crc_extra_bits, R); R 883 libavcodec/wavpack.c *dst32_r++ = wv_get_value_integer(s, &crc_extra_bits, R); R 886 libavcodec/wavpack.c *dst16_r++ = wv_get_value_integer(s, &crc_extra_bits, R); R 374 libavcodec/wavpackenc.c int32_t R = samples_r[i]; R 377 libavcodec/wavpackenc.c magdata |= (R < 0) ? ~R : R; R 379 libavcodec/wavpackenc.c xordata |= R ^ -(R & 1); R 380 libavcodec/wavpackenc.c anddata &= L & R; R 381 libavcodec/wavpackenc.c ordata |= L | R; R 454 libavcodec/wavpackenc.c int32_t R = samples_r[i]; R 457 libavcodec/wavpackenc.c crc = crc * 9 + (R & 0xffff) * 3 + ((R >> 16) & 0xffff); R 459 libavcodec/wavpackenc.c magdata |= (R < 0) ? ~R : R; R 461 libavcodec/wavpackenc.c xordata |= R ^ -(R & 1); R 462 libavcodec/wavpackenc.c anddata &= L & R; R 463 libavcodec/wavpackenc.c ordata |= L | R; R 76 libavfilter/af_sidechaincompress.c { "level_in", "set input gain", OFFSET(level_in), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0.015625, 64, A|F|R }, R 77 libavfilter/af_sidechaincompress.c { "mode", "set mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, A|F|R, "mode" }, R 78 libavfilter/af_sidechaincompress.c { "downward",0, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, A|F|R, "mode" }, R 79 libavfilter/af_sidechaincompress.c { "upward", 0, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, A|F|R, "mode" }, R 80 libavfilter/af_sidechaincompress.c { "threshold", "set threshold", OFFSET(threshold), AV_OPT_TYPE_DOUBLE, {.dbl=0.125}, 0.000976563, 1, A|F|R }, R 81 libavfilter/af_sidechaincompress.c { "ratio", "set ratio", OFFSET(ratio), AV_OPT_TYPE_DOUBLE, {.dbl=2}, 1, 20, A|F|R }, R 82 libavfilter/af_sidechaincompress.c { "attack", "set attack", OFFSET(attack), AV_OPT_TYPE_DOUBLE, {.dbl=20}, 0.01, 2000, A|F|R }, R 83 libavfilter/af_sidechaincompress.c { "release", "set release", OFFSET(release), AV_OPT_TYPE_DOUBLE, {.dbl=250}, 0.01, 9000, A|F|R }, R 84 libavfilter/af_sidechaincompress.c { "makeup", "set make up gain", OFFSET(makeup), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 1, 64, A|F|R }, R 85 libavfilter/af_sidechaincompress.c { "knee", "set knee", OFFSET(knee), AV_OPT_TYPE_DOUBLE, {.dbl=2.82843}, 1, 8, A|F|R }, R 86 libavfilter/af_sidechaincompress.c { "link", "set link type", OFFSET(link), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, A|F|R, "link" }, R 87 libavfilter/af_sidechaincompress.c { "average", 0, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, A|F|R, "link" }, R 88 libavfilter/af_sidechaincompress.c { "maximum", 0, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, A|F|R, "link" }, R 89 libavfilter/af_sidechaincompress.c { "detection", "set detection", OFFSET(detection), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, A|F|R, "detection" }, R 90 libavfilter/af_sidechaincompress.c { "peak", 0, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, A|F|R, "detection" }, R 91 libavfilter/af_sidechaincompress.c { "rms", 0, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, A|F|R, "detection" }, R 92 libavfilter/af_sidechaincompress.c { "level_sc", "set sidechain gain", OFFSET(level_sc), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0.015625, 64, A|F|R }, R 93 libavfilter/af_sidechaincompress.c { "mix", "set mix", OFFSET(mix), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 1, A|F|R }, R 171 libavfilter/af_sofalizer.c s->sofa.fir = av_calloc(s->sofa.hrtf->N * s->sofa.hrtf->R, sizeof(*s->sofa.fir)); R 697 libavfilter/af_sofalizer.c if (s->sofa.hrtf->DataDelay.elements > s->sofa.hrtf->R) { R 698 libavfilter/af_sofalizer.c delays[0] = s->sofa.hrtf->DataDelay.values[nearest * s->sofa.hrtf->R]; R 699 libavfilter/af_sofalizer.c delays[1] = s->sofa.hrtf->DataDelay.values[nearest * s->sofa.hrtf->R + 1]; R 704 libavfilter/af_sofalizer.c res = s->sofa.hrtf->DataIR.values + nearest * s->sofa.hrtf->N * s->sofa.hrtf->R; R 179 libavfilter/af_stereotools.c double L = src[0], R = src[1], l, r, m, S, gl, gr, gd; R 182 libavfilter/af_stereotools.c R *= level_in; R 203 libavfilter/af_stereotools.c R *= gr; R 206 libavfilter/af_stereotools.c R = s->inv_atan_shape * atan(R * sc_level); R 212 libavfilter/af_stereotools.c m = (L + R) * 0.5; R 213 libavfilter/af_stereotools.c S = (L - R) * 0.5; R 217 libavfilter/af_stereotools.c R = r; R 221 libavfilter/af_stereotools.c r = R * FFMIN(1., sbal); R 223 libavfilter/af_stereotools.c R = 0.5 * (l - r) * slev; R 226 libavfilter/af_stereotools.c l = L * mlev * FFMIN(1., 2. - mpan) + R * slev * FFMIN(1., 2. - sbal); R 227 libavfilter/af_stereotools.c r = L * mlev * FFMIN(1., mpan) - R * slev * FFMIN(1., sbal); R 229 libavfilter/af_stereotools.c R = r; R 232 libavfilter/af_stereotools.c R = L; R 235 libavfilter/af_stereotools.c L = R; R 238 libavfilter/af_stereotools.c L = (L + R) / 2; R 239 libavfilter/af_stereotools.c R = L; R 243 libavfilter/af_stereotools.c L = R; R 244 libavfilter/af_stereotools.c R = l; R 245 libavfilter/af_stereotools.c m = (L + R) * 0.5; R 246 libavfilter/af_stereotools.c S = (L - R) * 0.5; R 250 libavfilter/af_stereotools.c R = r; R 253 libavfilter/af_stereotools.c l = L * mlev * FFMIN(1., 2. - mpan) + R * slev * FFMIN(1., 2. - sbal); R 255 libavfilter/af_stereotools.c R = l; R 258 libavfilter/af_stereotools.c r = L * mlev * FFMIN(1., mpan) - R * slev * FFMIN(1., sbal); R 260 libavfilter/af_stereotools.c R = r; R 265 libavfilter/af_stereotools.c R *= 1. - mute_r; R 268 libavfilter/af_stereotools.c R *= (2. * (1. - phase_r)) - 1.; R 271 libavfilter/af_stereotools.c buffer[s->pos+1] = R; R 274 libavfilter/af_stereotools.c R = buffer[(s->pos - (int)nbuf + 1 + length) % length]; R 279 libavfilter/af_stereotools.c l = L + sb * L - sb * R; R 280 libavfilter/af_stereotools.c r = R + sb * R - sb * L; R 283 libavfilter/af_stereotools.c R = r; R 285 libavfilter/af_stereotools.c l = L * s->phase_cos_coef - R * s->phase_sin_coef; R 286 libavfilter/af_stereotools.c r = L * s->phase_sin_coef + R * s->phase_cos_coef; R 289 libavfilter/af_stereotools.c R = r; R 312 libavfilter/af_stereotools.c R *= gr; R 316 libavfilter/af_stereotools.c R *= level_out; R 319 libavfilter/af_stereotools.c dst[1] = R; R 173 libavfilter/qsvvpp.c surface->Data.R = frame->data[0] + 2; R 275 libavfilter/vf_colorbalance.c const uint8_t roffset = s->rgba_map[R]; R 326 libavfilter/vf_colorbalance.c const uint8_t roffset = s->rgba_map[R]; R 130 libavfilter/vf_colorchannelmixer.c dstr[j] = av_clip_uint8(s->lut[R][R][rin] + R 131 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + R 132 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + R 133 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[R][A][ain] : 0)); R 134 libavfilter/vf_colorchannelmixer.c dstg[j] = av_clip_uint8(s->lut[G][R][rin] + R 138 libavfilter/vf_colorchannelmixer.c dstb[j] = av_clip_uint8(s->lut[B][R][rin] + R 143 libavfilter/vf_colorchannelmixer.c dsta[j] = av_clip_uint8(s->lut[A][R][rin] + R 189 libavfilter/vf_colorchannelmixer.c dstr[j] = av_clip_uintp2(s->lut[R][R][rin] + R 190 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + R 191 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + R 192 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[R][A][ain] : 0), depth); R 193 libavfilter/vf_colorchannelmixer.c dstg[j] = av_clip_uintp2(s->lut[G][R][rin] + R 197 libavfilter/vf_colorchannelmixer.c dstb[j] = av_clip_uintp2(s->lut[B][R][rin] + R 202 libavfilter/vf_colorchannelmixer.c dsta[j] = av_clip_uintp2(s->lut[A][R][rin] + R 281 libavfilter/vf_colorchannelmixer.c const uint8_t roffset = s->rgba_map[R]; R 299 libavfilter/vf_colorchannelmixer.c dst[j + roffset] = av_clip_uint8(s->lut[R][R][rin] + R 300 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + R 301 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + R 302 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[R][A][ain] : 0)); R 303 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint8(s->lut[G][R][rin] + R 307 libavfilter/vf_colorchannelmixer.c dst[j + boffset] = av_clip_uint8(s->lut[B][R][rin] + R 312 libavfilter/vf_colorchannelmixer.c dst[j + aoffset] = av_clip_uint8(s->lut[A][R][rin] + R 336 libavfilter/vf_colorchannelmixer.c const uint8_t roffset = s->rgba_map[R]; R 354 libavfilter/vf_colorchannelmixer.c dst[j + roffset] = av_clip_uint16(s->lut[R][R][rin] + R 355 libavfilter/vf_colorchannelmixer.c s->lut[R][G][gin] + R 356 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + R 357 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[R][A][ain] : 0)); R 358 libavfilter/vf_colorchannelmixer.c dst[j + goffset] = av_clip_uint16(s->lut[G][R][rin] + R 362 libavfilter/vf_colorchannelmixer.c dst[j + boffset] = av_clip_uint16(s->lut[B][R][rin] + R 367 libavfilter/vf_colorchannelmixer.c dst[j + aoffset] = av_clip_uint16(s->lut[A][R][rin] + R 428 libavfilter/vf_colorchannelmixer.c s->lut[R][R][i] = lrint(i * s->rr); R 429 libavfilter/vf_colorchannelmixer.c s->lut[R][G][i] = lrint(i * s->rg); R 430 libavfilter/vf_colorchannelmixer.c s->lut[R][B][i] = lrint(i * s->rb); R 431 libavfilter/vf_colorchannelmixer.c s->lut[R][A][i] = lrint(i * s->ra); R 433 libavfilter/vf_colorchannelmixer.c s->lut[G][R][i] = lrint(i * s->gr); R 438 libavfilter/vf_colorchannelmixer.c s->lut[B][R][i] = lrint(i * s->br); R 443 libavfilter/vf_colorchannelmixer.c s->lut[A][R][i] = lrint(i * s->ar); R 53 libavfilter/vf_colorlevels.c { "rimin", "set input red black point", OFFSET(range[R].in_min), AV_OPT_TYPE_DOUBLE, {.dbl=0}, -1, 1, FLAGS }, R 57 libavfilter/vf_colorlevels.c { "rimax", "set input red white point", OFFSET(range[R].in_max), AV_OPT_TYPE_DOUBLE, {.dbl=1}, -1, 1, FLAGS }, R 61 libavfilter/vf_colorlevels.c { "romin", "set output red black point", OFFSET(range[R].out_min), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, 1, FLAGS }, R 65 libavfilter/vf_colorlevels.c { "romax", "set output red white point", OFFSET(range[R].out_max), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 1, FLAGS }, R 545 libavfilter/vf_curves.c const uint8_t r = curves->rgba_map[R]; R 558 libavfilter/vf_curves.c dstp[x + r] = curves->graph[R][srcp[x + r]]; R 571 libavfilter/vf_curves.c dst[x + r] = curves->graph[R][src[x + r]]; R 593 libavfilter/vf_curves.c const uint8_t r = curves->rgba_map[R]; R 612 libavfilter/vf_curves.c dstrp[x] = curves->graph[R][srcrp[x]]; R 631 libavfilter/vf_curves.c dstr[x] = curves->graph[R][srcr[x]]; R 150 libavfilter/vf_elbg.c const uint8_t r_idx = elbg->rgba_map[R]; R 190 libavfilter/vf_fade.c const uint8_t r_idx = s->rgba_map[R]; R 330 libavfilter/vf_fillborders.c s->yuv_color[Y] = RGB_TO_Y_CCIR(s->rgba_color[R], s->rgba_color[G], s->rgba_color[B]); R 331 libavfilter/vf_fillborders.c s->yuv_color[U] = RGB_TO_U_CCIR(s->rgba_color[R], s->rgba_color[G], s->rgba_color[B], 0); R 332 libavfilter/vf_fillborders.c s->yuv_color[V] = RGB_TO_V_CCIR(s->rgba_color[R], s->rgba_color[G], s->rgba_color[B], 0); R 80 libavfilter/vf_geq.c { "red_expr", "set red expression", OFFSET(expr_str[R]), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, R 81 libavfilter/vf_geq.c { "r", "set red expression", OFFSET(expr_str[R]), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, R 229 libavfilter/vf_geq.c if (!geq->expr_str[Y] && !geq->expr_str[G] && !geq->expr_str[B] && !geq->expr_str[R]) { R 236 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])) { R 261 libavfilter/vf_geq.c if (!geq->expr_str[R]) R 262 libavfilter/vf_geq.c geq->expr_str[R] = av_strdup("r(X,Y)"); R 265 libavfilter/vf_geq.c (!geq->expr_str[G] || !geq->expr_str[B] || !geq->expr_str[R]) R 127 libavfilter/vf_histeq.c r = src[x + map[R]]; \ R 236 libavfilter/vf_histeq.c dst[x + histeq->rgba_map[R]] = r; R 94 libavfilter/vf_lut.c { "r", "set R expression", OFFSET(comp_expr_str[R]), AV_OPT_TYPE_STRING, { .str = "clipval" }, .flags = FLAGS }, R 437 libavfilter/vf_lut3d.c const uint8_t r = lut3d->rgba_map[R]; \ R 1946 libavfilter/vf_lut3d.c const uint8_t r = lut1d->rgba_map[R]; \ R 369 libavfilter/vf_overlay.c const int dr = s->main_rgba_map[R]; R 374 libavfilter/vf_overlay.c const int sr = s->overlay_rgba_map[R]; R 330 libavfilter/vf_selectivecolor.c const uint8_t roffset = s->rgba_map[R]; \ R 980 libavfilter/vsrc_testsrc.c v = (r << (rgba_map[R]*8)) + (g << (rgba_map[G]*8)) + (b << (rgba_map[B]*8)); R 988 libavfilter/vsrc_testsrc.c v = (r << (rgba_map[R]*8)) + (g << (rgba_map[G]*8)) + (b << (rgba_map[B]*8)) + (255U << (rgba_map[A]*8)); R 785 libavutil/hwcontext_qsv.c surface->Data.R = frame->data[0] + 2; R 60 libswresample/rematrix_template.c out[i] = R(coeff1*in1[i] + coeff2*in2[i]); R 67 libswresample/rematrix_template.c out[i] = R(coeff*in[i]); R 75 libswresample/rematrix_template.c out[0][i] = R(t + in[0][i]*(INTER)coeffp[0*6+0] + in[4][i]*(INTER)coeffp[0*6+4]); R 76 libswresample/rematrix_template.c out[1][i] = R(t + in[1][i]*(INTER)coeffp[1*6+1] + in[5][i]*(INTER)coeffp[1*6+5]); R 85 libswresample/rematrix_template.c out[0][i] = R(t + in[0][i]*(INTER)coeffp[0*8+0] + in[4][i]*(INTER)coeffp[0*8+4] + in[6][i]*(INTER)coeffp[0*8+6]); R 86 libswresample/rematrix_template.c out[1][i] = R(t + in[1][i]*(INTER)coeffp[1*8+1] + in[5][i]*(INTER)coeffp[1*8+5] + in[7][i]*(INTER)coeffp[1*8+7]); R 57 libswscale/bayer_template.c R(0, 0) = \ R 58 libswscale/bayer_template.c R(0, 1) = \ R 59 libswscale/bayer_template.c R(1, 1) = \ R 60 libswscale/bayer_template.c R(1, 0) = S(1, 1) >> BAYER_SHIFT; \ R 72 libswscale/bayer_template.c R(0, 0) = (T(-1, -1) + T(-1, 1) + T(1, -1) + T(1, 1)) >> (2 + BAYER_SHIFT); \ R 76 libswscale/bayer_template.c R(0, 1) = (T(-1, 1) + T(1, 1)) >> (1 + BAYER_SHIFT); \ R 80 libswscale/bayer_template.c R(1, 0) = (T(1, -1) + T(1, 1)) >> (1 + BAYER_SHIFT); \ R 84 libswscale/bayer_template.c R(1, 1) = S(1, 1) >> BAYER_SHIFT; \ R 89 libswscale/bayer_template.c R(0, 0) = \ R 90 libswscale/bayer_template.c R(0, 1) = \ R 91 libswscale/bayer_template.c R(1, 1) = \ R 92 libswscale/bayer_template.c R(1, 0) = S(1, 0) >> BAYER_SHIFT; \ R 104 libswscale/bayer_template.c R(0, 0) = (T(-1, 0) + T(1, 0)) >> (1 + BAYER_SHIFT); \ R 108 libswscale/bayer_template.c R(0, 1) = (T(-1, 0) + T(-1, 2) + T(1, 0) + T(1, 2)) >> (2 + BAYER_SHIFT); \ R 112 libswscale/bayer_template.c R(1, 0) = S(1, 0) >> BAYER_SHIFT; \ R 116 libswscale/bayer_template.c R(1, 1) = (T(1, 0) + T(1, 2)) >> (1 + BAYER_SHIFT); \ R 885 libswscale/output.c #define R_B ((target == AV_PIX_FMT_RGB48LE || target == AV_PIX_FMT_RGB48BE || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE) ? R : B) R 886 libswscale/output.c #define B_R ((target == AV_PIX_FMT_RGB48LE || target == AV_PIX_FMT_RGB48BE || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE) ? B : R) R 1007 libswscale/output.c int R, G, B; R 1048 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1097 libswscale/output.c int R, G, B; R 1106 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1153 libswscale/output.c int R, G, B; R 1170 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1199 libswscale/output.c int R, G, B; R 1216 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1256 libswscale/output.c int R, G, B; R 1287 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1328 libswscale/output.c int R, G, B; R 1334 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1371 libswscale/output.c int R, G, B; R 1383 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1404 libswscale/output.c int R, G, B; R 1416 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 1847 libswscale/output.c int R, G, B; R 1853 libswscale/output.c R = (unsigned)Y + V*c->yuv2rgb_v2r_coeff; R 1856 libswscale/output.c if ((R | G | B) & 0xC0000000) { R 1857 libswscale/output.c R = av_clip_uintp2(R, 30); R 1865 libswscale/output.c dest[1] = R >> 22; R 1870 libswscale/output.c dest[0] = R >> 22; R 1875 libswscale/output.c dest[0] = R >> 22; R 1884 libswscale/output.c dest[3] = R >> 22; R 1889 libswscale/output.c dest[2] = R >> 22; R 1894 libswscale/output.c dest[2] = R >> 22; R 1908 libswscale/output.c R >>= 22; R 1911 libswscale/output.c R += (7*err[0] + 1*c->dither_error[0][i] + 5*c->dither_error[0][i+1] + 3*c->dither_error[0][i+2])>>4; R 1917 libswscale/output.c r = R >> (isrgb8 ? 5 : 7); R 1923 libswscale/output.c err[0] = R - r*(isrgb8 ? 36 : 255); R 1931 libswscale/output.c r = (((R >> 19) + A_DITHER(i,y) -96)>>8); R 1938 libswscale/output.c r = (((R >> 21) + A_DITHER(i,y)-256)>>8); R 1950 libswscale/output.c r = (((R >> 19) + X_DITHER(i,y) - 96)>>8); R 1957 libswscale/output.c r = (((R >> 21) + X_DITHER(i,y)-256)>>8); R 2178 libswscale/output.c int R, G, B; R 2205 libswscale/output.c R = Y + V * c->yuv2rgb_v2r_coeff; R 2209 libswscale/output.c if ((R | G | B) & 0xC0000000) { R 2210 libswscale/output.c R = av_clip_uintp2(R, 30); R 2218 libswscale/output.c dest16[2][i] = R >> SH; R 2224 libswscale/output.c dest[2][i] = R >> 22; R 2262 libswscale/output.c int R, G, B, A; R 2290 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 2294 libswscale/output.c R = av_clip_uintp2(Y + R, 30); R 2300 libswscale/output.c dest16[2][i] = R >> 14; R 2338 libswscale/output.c int R, G, B, A; R 2366 libswscale/output.c R = V * c->yuv2rgb_v2r_coeff; R 2370 libswscale/output.c R = av_clip_uintp2(Y + R, 30); R 2376 libswscale/output.c dest32[2][i] = av_float2int(float_mult * (float)(R >> 14)); R 256 libswscale/ppc/yuv2rgb_altivec.c vector signed short *R, vector signed short *G, R 273 libswscale/ppc/yuv2rgb_altivec.c *R = vec_mradds(vx, c->CRV, Y); R 306 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; \ R 393 libswscale/ppc/yuv2rgb_altivec.c R = vec_packclp(R0, R1); \ R 397 libswscale/ppc/yuv2rgb_altivec.c out_pixels(R, G, B, oute); \ R 405 libswscale/ppc/yuv2rgb_altivec.c R = vec_packclp(R0, R1); \ R 410 libswscale/ppc/yuv2rgb_altivec.c out_pixels(R, G, B, outo); \ R 473 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; R 504 libswscale/ppc/yuv2rgb_altivec.c R = vec_packclp(R0, R1); R 509 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, out); R 639 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; R 703 libswscale/ppc/yuv2rgb_altivec.c R = vec_packclp(R0, R1); R 709 libswscale/ppc/yuv2rgb_altivec.c out_abgr(R, G, B, out); R 712 libswscale/ppc/yuv2rgb_altivec.c out_bgra(R, G, B, out); R 715 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, out); R 718 libswscale/ppc/yuv2rgb_altivec.c out_argb(R, G, B, out); R 721 libswscale/ppc/yuv2rgb_altivec.c out_rgb24(R, G, B, out); R 724 libswscale/ppc/yuv2rgb_altivec.c out_bgr24(R, G, B, out); R 794 libswscale/ppc/yuv2rgb_altivec.c R = vec_packclp(R0, R1); R 801 libswscale/ppc/yuv2rgb_altivec.c out_abgr(R, G, B, nout); R 804 libswscale/ppc/yuv2rgb_altivec.c out_bgra(R, G, B, nout); R 807 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, nout); R 810 libswscale/ppc/yuv2rgb_altivec.c out_argb(R, G, B, nout); R 813 libswscale/ppc/yuv2rgb_altivec.c out_rgb24(R, G, B, nout); R 816 libswscale/ppc/yuv2rgb_altivec.c out_bgr24(R, G, B, nout);