B 352 libavcodec/aacsbr.c int B = (A^(-idx)) + idx; B 357 libavcodec/aacsbr.c out[2*m+2] += in[m+1] * B; B 569 libavcodec/aacsbr_fixed.c int B = (A^(-idx)) + idx; B 590 libavcodec/aacsbr_fixed.c out[2*m+2] += (int)(in[m+1].mant * B + round) >> shift2; B 271 libavcodec/cavsdsp.c #define CAVS_SUBPIX(OPNAME, OP, NAME, A, B, C, D, E, F) \ B 279 libavcodec/cavsdsp.c OP(dst[0], A*src[-2] + B*src[-1] + C*src[0] + D*src[1] + E*src[2] + F*src[3]);\ B 280 libavcodec/cavsdsp.c OP(dst[1], A*src[-1] + B*src[ 0] + C*src[1] + D*src[2] + E*src[3] + F*src[4]);\ B 281 libavcodec/cavsdsp.c OP(dst[2], A*src[ 0] + B*src[ 1] + C*src[2] + D*src[3] + E*src[4] + F*src[5]);\ B 282 libavcodec/cavsdsp.c OP(dst[3], A*src[ 1] + B*src[ 2] + C*src[3] + D*src[4] + E*src[5] + F*src[6]);\ B 283 libavcodec/cavsdsp.c OP(dst[4], A*src[ 2] + B*src[ 3] + C*src[4] + D*src[5] + E*src[6] + F*src[7]);\ B 284 libavcodec/cavsdsp.c OP(dst[5], A*src[ 3] + B*src[ 4] + C*src[5] + D*src[6] + E*src[7] + F*src[8]);\ B 285 libavcodec/cavsdsp.c OP(dst[6], A*src[ 4] + B*src[ 5] + C*src[6] + D*src[7] + E*src[8] + F*src[9]);\ B 286 libavcodec/cavsdsp.c OP(dst[7], A*src[ 5] + B*src[ 6] + C*src[7] + D*src[8] + E*src[9] + F*src[10]);\ B 312 libavcodec/cavsdsp.c OP(dst[0*dstStride], A*srcB + B*srcA + C*src0 + D*src1 + E*src2 + F*src3);\ B 313 libavcodec/cavsdsp.c OP(dst[1*dstStride], A*srcA + B*src0 + C*src1 + D*src2 + E*src3 + F*src4);\ B 314 libavcodec/cavsdsp.c OP(dst[2*dstStride], A*src0 + B*src1 + C*src2 + D*src3 + E*src4 + F*src5);\ B 315 libavcodec/cavsdsp.c OP(dst[3*dstStride], A*src1 + B*src2 + C*src3 + D*src4 + E*src5 + F*src6);\ B 316 libavcodec/cavsdsp.c OP(dst[4*dstStride], A*src2 + B*src3 + C*src4 + D*src5 + E*src6 + F*src7);\ B 317 libavcodec/cavsdsp.c OP(dst[5*dstStride], A*src3 + B*src4 + C*src5 + D*src6 + E*src7 + F*src8);\ B 318 libavcodec/cavsdsp.c OP(dst[6*dstStride], A*src4 + B*src5 + C*src6 + D*src7 + E*src8 + F*src9);\ B 319 libavcodec/cavsdsp.c OP(dst[7*dstStride], A*src5 + B*src6 + C*src7 + D*src8 + E*src9 + F*src10);\ B 164 libavcodec/cfhd.c int R, G1, G2, B; B 176 libavcodec/cfhd.c B = (bg - mid) * 2 + g; B 181 libavcodec/cfhd.c B = av_clip_uintp2(B * 16, 16); B 186 libavcodec/cfhd.c b[x] = B; B 311 libavcodec/clearvideo.c MV B = mvi->mv[ mb_x ]; B 313 libavcodec/clearvideo.c pred_mv.x = mid_pred(A.x, B.x, C.x); B 314 libavcodec/clearvideo.c pred_mv.y = mid_pred(A.y, B.y, C.y); B 192 libavcodec/ffv1enc.c #define put_rac(C, S, B) \ B 195 libavcodec/ffv1enc.c rc_stat[*(S)][B]++; \ B 196 libavcodec/ffv1enc.c rc_stat2[(S) - state][B]++; \ B 198 libavcodec/ffv1enc.c put_rac(C, S, B); \ B 524 libavcodec/g2meet.c int GN, GW, GNW, R, G, B; B 542 libavcodec/g2meet.c B = G + epic_decode_component_pred(dc, B 559 libavcodec/g2meet.c B = ((pred >> B_shift) & 0xFF) - TOSIGNED(delta); B 562 libavcodec/g2meet.c if (R<0 || G<0 || B<0 || R > 255 || G > 255 || B > 255) { B 563 libavcodec/g2meet.c avpriv_request_sample(NULL, "RGB %d %d %d is out of range\n", R, G, B); B 567 libavcodec/g2meet.c return (R << R_shift) | (G << G_shift) | (B << B_shift); B 311 libavcodec/h263.c int16_t *A, *B, *C, (*mot_val)[2]; B 348 libavcodec/h263.c B = mot_val[ - wrap]; B 353 libavcodec/h263.c *px = mid_pred(A[0], B[0], C[0]); B 354 libavcodec/h263.c *py = mid_pred(A[1], B[1], C[1]); B 357 libavcodec/h263.c B = mot_val[ - wrap]; B 359 libavcodec/h263.c *px = mid_pred(A[0], B[0], C[0]); B 360 libavcodec/h263.c *py = mid_pred(A[1], B[1], C[1]); B 241 libavcodec/h264_direct.c const int16_t *const B = sl->mv_cache[list][scan8[0] - 8]; B 248 libavcodec/h264_direct.c mv[list] = pack16to32(mid_pred(A[0], B[0], C[0]), B 249 libavcodec/h264_direct.c mid_pred(A[1], B[1], C[1])); B 255 libavcodec/h264_direct.c mv[list] = AV_RN32A(B); B 105 libavcodec/h264_mvpred.h const int16_t *const B = sl->mv_cache[list][index8 - 8]; B 123 libavcodec/h264_mvpred.h *mx = mid_pred(A[0], B[0], C[0]); B 124 libavcodec/h264_mvpred.h *my = mid_pred(A[1], B[1], C[1]); B 130 libavcodec/h264_mvpred.h *mx = B[0]; B 131 libavcodec/h264_mvpred.h *my = B[1]; B 143 libavcodec/h264_mvpred.h *mx = mid_pred(A[0], B[0], C[0]); B 144 libavcodec/h264_mvpred.h *my = mid_pred(A[1], B[1], C[1]); B 150 libavcodec/h264_mvpred.h top_ref, B[0], B[1], diagonal_ref, C[0], C[1], left_ref, B 167 libavcodec/h264_mvpred.h const int16_t *const B = sl->mv_cache[list][scan8[0] - 8]; B 170 libavcodec/h264_mvpred.h top_ref, B[0], B[1], sl->mb_x, sl->mb_y, n, list); B 173 libavcodec/h264_mvpred.h *mx = B[0]; B 174 libavcodec/h264_mvpred.h *my = B[1]; B 265 libavcodec/h264_mvpred.h const int16_t *A, *B, *C; B 290 libavcodec/h264_mvpred.h B = mv[h->mb2b_xy[sl->top_mb_xy] + 3 * b_stride]; B 291 libavcodec/h264_mvpred.h FIX_MV_MBAFF(sl->top_type, top_ref, B, 1); B 292 libavcodec/h264_mvpred.h if (!(top_ref | AV_RN32A(B))) B 296 libavcodec/h264_mvpred.h B = zeromv; B 330 libavcodec/h264_mvpred.h mx = mid_pred(A[0], B[0], C[0]); B 331 libavcodec/h264_mvpred.h my = mid_pred(A[1], B[1], C[1]); B 337 libavcodec/h264_mvpred.h mx = B[0]; B 338 libavcodec/h264_mvpred.h my = B[1]; B 344 libavcodec/h264_mvpred.h mx = mid_pred(A[0], B[0], C[0]); B 345 libavcodec/h264_mvpred.h my = mid_pred(A[1], B[1], C[1]); B 33 libavcodec/h264chroma_template.c const int B=( x)*(8-y);\ B 43 libavcodec/h264chroma_template.c OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\ B 47 libavcodec/h264chroma_template.c } else if (B + C) {\ B 48 libavcodec/h264chroma_template.c const int E= B+C;\ B 68 libavcodec/h264chroma_template.c const int B=( x)*(8-y);\ B 78 libavcodec/h264chroma_template.c OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\ B 79 libavcodec/h264chroma_template.c OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2]));\ B 83 libavcodec/h264chroma_template.c } else if (B + C) {\ B 84 libavcodec/h264chroma_template.c const int E= B+C;\ B 107 libavcodec/h264chroma_template.c const int B=( x)*(8-y);\ B 117 libavcodec/h264chroma_template.c OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\ B 118 libavcodec/h264chroma_template.c OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2]));\ B 119 libavcodec/h264chroma_template.c OP(dst[2], (A*src[2] + B*src[3] + C*src[stride+2] + D*src[stride+3]));\ B 120 libavcodec/h264chroma_template.c OP(dst[3], (A*src[3] + B*src[4] + C*src[stride+3] + D*src[stride+4]));\ B 124 libavcodec/h264chroma_template.c } else if (B + C) {\ B 125 libavcodec/h264chroma_template.c const int E= B+C;\ B 152 libavcodec/h264chroma_template.c const int B=( x)*(8-y);\ B 162 libavcodec/h264chroma_template.c OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1]));\ B 163 libavcodec/h264chroma_template.c OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2]));\ B 164 libavcodec/h264chroma_template.c OP(dst[2], (A*src[2] + B*src[3] + C*src[stride+2] + D*src[stride+3]));\ B 165 libavcodec/h264chroma_template.c OP(dst[3], (A*src[3] + B*src[4] + C*src[stride+3] + D*src[stride+4]));\ B 166 libavcodec/h264chroma_template.c OP(dst[4], (A*src[4] + B*src[5] + C*src[stride+4] + D*src[stride+5]));\ B 167 libavcodec/h264chroma_template.c OP(dst[5], (A*src[5] + B*src[6] + C*src[stride+5] + D*src[stride+6]));\ B 168 libavcodec/h264chroma_template.c OP(dst[6], (A*src[6] + B*src[7] + C*src[stride+6] + D*src[stride+7]));\ B 169 libavcodec/h264chroma_template.c OP(dst[7], (A*src[7] + B*src[8] + C*src[stride+7] + D*src[stride+8]));\ B 173 libavcodec/h264chroma_template.c } else if (B + C) {\ B 174 libavcodec/h264chroma_template.c const int E= B+C;\ B 683 libavcodec/hevc_filter.c Mv A, B; B 695 libavcodec/hevc_filter.c B = neigh->mv[0]; B 698 libavcodec/hevc_filter.c B = neigh->mv[1]; B 703 libavcodec/hevc_filter.c if (FFABS(A.x - B.x) >= 4 || FFABS(A.y - B.y) >= 4) B 94 libavcodec/hevc_mvs.c #define MATCH_MV(x) (AV_RN32A(&A.x) == AV_RN32A(&B.x)) B 95 libavcodec/hevc_mvs.c #define MATCH(x) (A.x == B.x) B 98 libavcodec/hevc_mvs.c static av_always_inline int compare_mv_ref_idx(struct MvField A, struct MvField B) B 101 libavcodec/hevc_mvs.c int b_pf = B.pred_flag; B 186 libavcodec/huffyuvdec.c map[i][B] = g + b; B 189 libavcodec/huffyuvdec.c map[i][B] = g; B 775 libavcodec/huffyuvdec.c s->temp[0][4 * i + B] = code + s->temp[0][4 * i + G]; B 782 libavcodec/huffyuvdec.c VLC_INTERN(s->temp[0][4 * i + B], s->vlc[0].table, B 1139 libavcodec/huffyuvdec.c left[B] = p->data[0][last_line + B] = get_bits(&s->gb, 8); B 1143 libavcodec/huffyuvdec.c left[B] = p->data[0][last_line + B] = get_bits(&s->gb, 8); B 63 libavcodec/huffyuvdsp.c uint8_t r = left[R], g = left[G], b = left[B], a = left[A]; B 66 libavcodec/huffyuvdsp.c b += src[4 * i + B]; B 71 libavcodec/huffyuvdsp.c dst[4 * i + B] = b; B 77 libavcodec/huffyuvdsp.c left[B] = b; B 98 libavcodec/huffyuvenc.c const int bt = src[i * 4 + B]; B 102 libavcodec/huffyuvenc.c dst[i * 4 + B] = bt - b; B 114 libavcodec/huffyuvenc.c *blue = src[(w - 1) * 4 + B]; B 713 libavcodec/huffyuvenc.c int b =(s->temp[0][planes == 3 ? 3 * i + 2 : 4 * i + B] - g) & 0xFF;\ B 895 libavcodec/huffyuvenc.c put_bits(&s->pb, 8, leftb = data[B]); B 480 libavcodec/ilbcdec.c int16_t *B, int16_t B_length, B 486 libavcodec/ilbcdec.c const int16_t *b_ptr = &B[0]; B 117 libavcodec/interplayvideo.c unsigned char B; B 122 libavcodec/interplayvideo.c B = bytestream2_get_byte(&s->stream_ptr); B 124 libavcodec/interplayvideo.c B = bytestream2_get_byte(&s->mv_ptr); B 127 libavcodec/interplayvideo.c if (B < 56) { B 128 libavcodec/interplayvideo.c x = 8 + (B % 7); B 129 libavcodec/interplayvideo.c y = B / 7; B 131 libavcodec/interplayvideo.c x = -14 + ((B - 56) % 29); B 132 libavcodec/interplayvideo.c y = 8 + ((B - 56) / 29); B 135 libavcodec/interplayvideo.c ff_tlog(s->avctx, "motion byte = %d, (x, y) = (%d, %d)\n", B, x, y); B 141 libavcodec/interplayvideo.c unsigned char B; B 148 libavcodec/interplayvideo.c B = bytestream2_get_byte(&s->stream_ptr); B 150 libavcodec/interplayvideo.c B = bytestream2_get_byte(&s->mv_ptr); B 153 libavcodec/interplayvideo.c if (B < 56) { B 154 libavcodec/interplayvideo.c x = -(8 + (B % 7)); B 155 libavcodec/interplayvideo.c y = -(B / 7); B 157 libavcodec/interplayvideo.c x = -(-14 + ((B - 56) % 29)); B 158 libavcodec/interplayvideo.c y = -( 8 + ((B - 56) / 29)); B 161 libavcodec/interplayvideo.c ff_tlog(s->avctx, "motion byte = %d, (x, y) = (%d, %d)\n", B, x, y); B 168 libavcodec/interplayvideo.c unsigned char B, BL, BH; B 172 libavcodec/interplayvideo.c B = bytestream2_get_byte(&s->stream_ptr); B 174 libavcodec/interplayvideo.c B = bytestream2_get_byte(&s->mv_ptr); B 177 libavcodec/interplayvideo.c BL = B & 0x0F; B 178 libavcodec/interplayvideo.c BH = (B >> 4) & 0x0F; B 182 libavcodec/interplayvideo.c ff_tlog(s->avctx, "motion byte = %d, (x, y) = (%d, %d)\n", B, x, y); B 484 libavcodec/intrax8.c B(1, 0) -= t; B 485 libavcodec/intrax8.c B(0, 1) -= t; B 488 libavcodec/intrax8.c B(2, 0) -= t; B 489 libavcodec/intrax8.c B(0, 2) -= t; B 492 libavcodec/intrax8.c B(3, 0) -= t; B 493 libavcodec/intrax8.c B(0, 3) -= t; B 496 libavcodec/intrax8.c B(4, 0) -= t; B 497 libavcodec/intrax8.c B(0, 4) -= t; B 498 libavcodec/intrax8.c B(2, 1) += t; B 499 libavcodec/intrax8.c B(1, 2) += t; B 500 libavcodec/intrax8.c B(3, 1) += t; B 501 libavcodec/intrax8.c B(1, 3) += t; B 504 libavcodec/intrax8.c B(5, 0) -= t; B 505 libavcodec/intrax8.c B(0, 5) -= t; B 508 libavcodec/intrax8.c B(6, 0) -= t; B 509 libavcodec/intrax8.c B(0, 6) -= t; B 510 libavcodec/intrax8.c B(5, 1) += t; B 511 libavcodec/intrax8.c B(1, 5) += t; B 514 libavcodec/intrax8.c B(7, 0) -= t; B 515 libavcodec/intrax8.c B(0, 7) -= t; B 516 libavcodec/intrax8.c B(4, 1) += t; B 517 libavcodec/intrax8.c B(1, 4) += t; B 518 libavcodec/intrax8.c B(4, 4) += t; B 521 libavcodec/intrax8.c B(1, 1) += t; B 526 libavcodec/intrax8.c B(0, 1) -= T(6269); B 527 libavcodec/intrax8.c B(0, 3) -= T(708); B 528 libavcodec/intrax8.c B(0, 5) -= T(172); B 529 libavcodec/intrax8.c B(0, 7) -= T(73); B 534 libavcodec/intrax8.c B(1, 0) -= T(6269); B 535 libavcodec/intrax8.c B(3, 0) -= T(708); B 536 libavcodec/intrax8.c B(5, 0) -= T(172); B 537 libavcodec/intrax8.c B(7, 0) -= T(73); B 43 libavcodec/jpegls.h int A[367], B[367], C[365], N[367]; B 93 libavcodec/jpegls.h state->B[Q] >>= 1; B 106 libavcodec/jpegls.h state->B[Q] += err; B 110 libavcodec/jpegls.h if (state->B[Q] <= -state->N[Q]) { B 111 libavcodec/jpegls.h state->B[Q] = FFMAX(state->B[Q] + state->N[Q], 1 - state->N[Q]); B 114 libavcodec/jpegls.h } else if (state->B[Q] > 0) { B 115 libavcodec/jpegls.h state->B[Q] = FFMIN(state->B[Q] - state->N[Q], 0); B 168 libavcodec/jpeglsdec.c if (!state->near && !k && (2 * state->B[Q] <= -state->N[Q])) B 201 libavcodec/jpeglsdec.c if (!k && (RItype || ret) && (2 * state->B[Q] < state->N[Q])) B 207 libavcodec/jpeglsdec.c state->B[Q]++; B 57 libavcodec/jpeglsenc.c map = !state->near && !k && (2 * state->B[Q] <= -state->N[Q]); B 89 libavcodec/jpeglsenc.c if (!k && err && (2 * state->B[Q] < state->N[Q])) B 99 libavcodec/jpeglsenc.c state->B[Q]++; B 102 libavcodec/lossless_videodsp.c int A, B, C, i; B 106 libavcodec/lossless_videodsp.c B = src[i - (stride + 1)]; B 108 libavcodec/lossless_videodsp.c src[i] = (A - B + C + src[i]) & 0xFF; B 446 libavcodec/mips/aacsbr_mips.c int B = (A^(-idx)) + idx; B 451 libavcodec/mips/aacsbr_mips.c float B_f = (float)B; B 32 libavcodec/mips/h264chroma_mmi.c int A = 64, B, C, D, E; B 70 libavcodec/mips/h264chroma_mmi.c B = (x << 3) - D; B 72 libavcodec/mips/h264chroma_mmi.c A = 64 - D - B - C; B 165 libavcodec/mips/h264chroma_mmi.c [A]"f"(A), [B]"f"(B), B 293 libavcodec/mips/h264chroma_mmi.c int A = 64, B, C, D, E; B 327 libavcodec/mips/h264chroma_mmi.c B = (x << 3) - D; B 329 libavcodec/mips/h264chroma_mmi.c A = 64 - D - B - C; B 390 libavcodec/mips/h264chroma_mmi.c [A]"f"(A), [B]"f"(B), B 501 libavcodec/mips/h264chroma_mmi.c const int B = x * (8 - y); B 504 libavcodec/mips/h264chroma_mmi.c const int E = B + C; B 555 libavcodec/mips/h264chroma_mmi.c [A]"f"(A), [B]"f"(B), B 625 libavcodec/mips/h264chroma_mmi.c const int B = x * (8 - y); B 628 libavcodec/mips/h264chroma_mmi.c const int E = B + C; B 681 libavcodec/mips/h264chroma_mmi.c [A]"f"(A), [B]"f"(B), B 2247 libavcodec/mips/vc1dsp_mmi.c const int B = (x) * (8 - y); B 2290 libavcodec/mips/vc1dsp_mmi.c [A]"f"(A), [B]"f"(B), B 2302 libavcodec/mips/vc1dsp_mmi.c const int B = (x) * (8 - y); B 2343 libavcodec/mips/vc1dsp_mmi.c [A]"f"(A), [B]"f"(B), B 2355 libavcodec/mips/vc1dsp_mmi.c const int B = (x) * (8 - y); B 2401 libavcodec/mips/vc1dsp_mmi.c [A]"f"(A), [B]"f"(B), B 2413 libavcodec/mips/vc1dsp_mmi.c const int B = ( x) * (8 - y); B 2457 libavcodec/mips/vc1dsp_mmi.c [A]"f"(A), [B]"f"(B), B 179 libavcodec/mips/vp3dsp_idct_mmi.c [A]"=&f"(ftmp[12]), [B]"=&f"(ftmp[13]), [C]"=&f"(ftmp[14]), B 208 libavcodec/mips/vp3dsp_idct_mmi.c %[A], %[B], %[C], %[D]) B 210 libavcodec/mips/vp3dsp_idct_mmi.c %[A], %[B], %[C], %[D]) B 398 libavcodec/mips/vp3dsp_idct_mmi.c [A]"=&f"(ftmp[12]), [B]"=&f"(ftmp[13]), [C]"=&f"(ftmp[14]), B 427 libavcodec/mips/vp3dsp_idct_mmi.c %[A], %[B], %[C], %[D]) B 429 libavcodec/mips/vp3dsp_idct_mmi.c %[A], %[B], %[C], %[D]) B 657 libavcodec/mips/vp3dsp_idct_mmi.c [A]"=&f"(ftmp[12]), [B]"=&f"(ftmp[13]), [C]"=&f"(ftmp[14]), B 31 libavcodec/mips/vp3dsp_idct_msa.c v4i32 A, B, C, D, Ad, Bd, Cd, Dd, E, F, G, H; B 80 libavcodec/mips/vp3dsp_idct_msa.c B = ((r1_r * cnst12785w) >> 16) - ((r7_r * cnst64277w) >> 16); B 84 libavcodec/mips/vp3dsp_idct_msa.c Bd = ((B - D) * cnst46341w) >> 16; B 86 libavcodec/mips/vp3dsp_idct_msa.c Dd = B + D; B 108 libavcodec/mips/vp3dsp_idct_msa.c B = ((r1_l * cnst12785w) >> 16) - ((r7_l * cnst64277w) >> 16); B 112 libavcodec/mips/vp3dsp_idct_msa.c Bd = ((B - D) * cnst46341w) >> 16; B 114 libavcodec/mips/vp3dsp_idct_msa.c Dd = B + D; B 140 libavcodec/mips/vp3dsp_idct_msa.c B = ((r1_r * cnst12785w) >> 16) - ((r3_l * cnst64277w) >> 16); B 144 libavcodec/mips/vp3dsp_idct_msa.c Bd = ((B - D) * cnst46341w) >> 16; B 146 libavcodec/mips/vp3dsp_idct_msa.c Dd = B + D; B 164 libavcodec/mips/vp3dsp_idct_msa.c B = (Gd - Cd) >> 4; B 182 libavcodec/mips/vp3dsp_idct_msa.c B += c7; B 190 libavcodec/mips/vp3dsp_idct_msa.c CLIP_SW8_0_255(A, B, C, D, E, F, G, H); B 231 libavcodec/mips/vp3dsp_idct_msa.c B = (v4i32)__msa_and_v((v16u8)B, (v16u8)sign_t); B 245 libavcodec/mips/vp3dsp_idct_msa.c r3_l = Hd + B; B 253 libavcodec/mips/vp3dsp_idct_msa.c B = ((r5_r * cnst12785w) >> 16) - ((r7_l * cnst64277w) >> 16); B 257 libavcodec/mips/vp3dsp_idct_msa.c Bd = ((B - D) * cnst46341w) >> 16; B 259 libavcodec/mips/vp3dsp_idct_msa.c Dd = B + D; B 277 libavcodec/mips/vp3dsp_idct_msa.c B = (Gd - Cd) >> 4; B 290 libavcodec/mips/vp3dsp_idct_msa.c B += c7; B 298 libavcodec/mips/vp3dsp_idct_msa.c CLIP_SW8_0_255(A, B, C, D, E, F, G, H); B 339 libavcodec/mips/vp3dsp_idct_msa.c B = (v4i32)__msa_and_v((v16u8)B, (v16u8)sign_t); B 353 libavcodec/mips/vp3dsp_idct_msa.c r7_l = Hd + B; B 28 libavcodec/mpegvideodsp.c const int B = (x16) * (16 - y16); B 34 libavcodec/mpegvideodsp.c dst[0] = (A * src[0] + B * src[1] + C * src[stride + 0] + D * src[stride + 1] + rounder) >> 8; B 35 libavcodec/mpegvideodsp.c dst[1] = (A * src[1] + B * src[2] + C * src[stride + 1] + D * src[stride + 2] + rounder) >> 8; B 36 libavcodec/mpegvideodsp.c dst[2] = (A * src[2] + B * src[3] + C * src[stride + 2] + D * src[stride + 3] + rounder) >> 8; B 37 libavcodec/mpegvideodsp.c dst[3] = (A * src[3] + B * src[4] + C * src[stride + 3] + D * src[stride + 4] + rounder) >> 8; B 38 libavcodec/mpegvideodsp.c dst[4] = (A * src[4] + B * src[5] + C * src[stride + 4] + D * src[stride + 5] + rounder) >> 8; B 39 libavcodec/mpegvideodsp.c dst[5] = (A * src[5] + B * src[6] + C * src[stride + 5] + D * src[stride + 6] + rounder) >> 8; B 40 libavcodec/mpegvideodsp.c dst[6] = (A * src[6] + B * src[7] + C * src[stride + 6] + D * src[stride + 7] + rounder) >> 8; B 41 libavcodec/mpegvideodsp.c dst[7] = (A * src[7] + B * src[8] + C * src[stride + 7] + D * src[stride + 8] + rounder) >> 8; B 476 libavcodec/mss3.c int A, B, C; B 487 libavcodec/mss3.c B = 0; B 489 libavcodec/mss3.c C = B; B 490 libavcodec/mss3.c B = prev_line[i]; B 491 libavcodec/mss3.c A = rac_get_model_sym(c, &ic->vq_model[A + B * 5 + C * 25]); B 593 libavcodec/mss3.c int A, B, C, D, t1, t2, t3, t4; B 611 libavcodec/mss3.c B = block[i + hsize]; B 615 libavcodec/mss3.c t1 = A - B; B 617 libavcodec/mss3.c t3 = A + B; B 147 libavcodec/opus_pvq.c static inline uint32_t celt_extract_collapse_mask(const int *iy, uint32_t N, uint32_t B) B 149 libavcodec/opus_pvq.c int i, j, N0 = N / B; B 152 libavcodec/opus_pvq.c if (B <= 1) B 155 libavcodec/opus_pvq.c for (i = 0; i < B; i++) B 45 libavcodec/ppc/vp3dsp_altivec.c vec_s16 A, B, C, D, Ad, Bd, Cd, Dd, E, F, G, H;\ B 82 libavcodec/ppc/vp3dsp_altivec.c B = vec_sub(M15(b1, C7), M16(b7, C1));\ B 87 libavcodec/ppc/vp3dsp_altivec.c Bd = M16(vec_sub(B, D), C4);\ B 90 libavcodec/ppc/vp3dsp_altivec.c Dd = vec_add(B, D);\ B 99 libavcodec/rv30.c int B = dst[-1] + 1; B 100 libavcodec/rv30.c *dst++ = rv30_itype_from_context[A * 90 + B * 9 + rv30_itype_code[code + k]]; B 470 libavcodec/rv34.c int A[2] = {0}, B[2], C[2]; B 485 libavcodec/rv34.c B[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][0]; B 486 libavcodec/rv34.c B[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][1]; B 488 libavcodec/rv34.c B[0] = A[0]; B 489 libavcodec/rv34.c B[1] = A[1]; B 503 libavcodec/rv34.c mx = mid_pred(A[0], B[0], C[0]); B 504 libavcodec/rv34.c my = mid_pred(A[1], B[1], C[1]); B 530 libavcodec/rv34.c static inline void rv34_pred_b_vector(int A[2], int B[2], int C[2], B 535 libavcodec/rv34.c *mx = A[0] + B[0] + C[0]; B 536 libavcodec/rv34.c *my = A[1] + B[1] + C[1]; B 542 libavcodec/rv34.c *mx = mid_pred(A[0], B[0], C[0]); B 543 libavcodec/rv34.c *my = mid_pred(A[1], B[1], C[1]); B 555 libavcodec/rv34.c int A[2] = { 0 }, B[2] = { 0 }, C[2] = { 0 }; B 569 libavcodec/rv34.c B[0] = cur_pic->motion_val[dir][mv_pos - s->b8_stride][0]; B 570 libavcodec/rv34.c B[1] = cur_pic->motion_val[dir][mv_pos - s->b8_stride][1]; B 583 libavcodec/rv34.c rv34_pred_b_vector(A, B, C, has_A, has_B, has_C, &mx, &my); B 606 libavcodec/rv34.c int A[2] = {0}, B[2], C[2]; B 616 libavcodec/rv34.c B[0] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride][0]; B 617 libavcodec/rv34.c B[1] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride][1]; B 619 libavcodec/rv34.c B[0] = A[0]; B 620 libavcodec/rv34.c B[1] = A[1]; B 634 libavcodec/rv34.c mx = mid_pred(A[0], B[0], C[0]); B 635 libavcodec/rv34.c my = mid_pred(A[1], B[1], C[1]); B 168 libavcodec/rv40.c int A, B, C; B 190 libavcodec/rv40.c B = ptr[-r->intra_types_stride]; B 192 libavcodec/rv40.c pattern = A + B * (1 << 4) + C * (1 << 8); B 202 libavcodec/rv40.c if(B != -1 && C != -1) B 203 libavcodec/rv40.c v = get_vlc2(gb, aic_mode1_vlc[B + C*10].table, AIC_MODE1_BITS, 1); B 208 libavcodec/rv40.c if(B < 2) B 300 libavcodec/rv40dsp.c const int B = ( x) * (8-y);\ B 310 libavcodec/rv40dsp.c OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1] + bias));\ B 311 libavcodec/rv40dsp.c OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2] + bias));\ B 312 libavcodec/rv40dsp.c OP(dst[2], (A*src[2] + B*src[3] + C*src[stride+2] + D*src[stride+3] + bias));\ B 313 libavcodec/rv40dsp.c OP(dst[3], (A*src[3] + B*src[4] + C*src[stride+3] + D*src[stride+4] + bias));\ B 318 libavcodec/rv40dsp.c const int E = B + C;\ B 336 libavcodec/rv40dsp.c const int B = ( x) * (8-y);\ B 346 libavcodec/rv40dsp.c OP(dst[0], (A*src[0] + B*src[1] + C*src[stride+0] + D*src[stride+1] + bias));\ B 347 libavcodec/rv40dsp.c OP(dst[1], (A*src[1] + B*src[2] + C*src[stride+1] + D*src[stride+2] + bias));\ B 348 libavcodec/rv40dsp.c OP(dst[2], (A*src[2] + B*src[3] + C*src[stride+2] + D*src[stride+3] + bias));\ B 349 libavcodec/rv40dsp.c OP(dst[3], (A*src[3] + B*src[4] + C*src[stride+3] + D*src[stride+4] + bias));\ B 350 libavcodec/rv40dsp.c OP(dst[4], (A*src[4] + B*src[5] + C*src[stride+4] + D*src[stride+5] + bias));\ B 351 libavcodec/rv40dsp.c OP(dst[5], (A*src[5] + B*src[6] + C*src[stride+5] + D*src[stride+6] + bias));\ B 352 libavcodec/rv40dsp.c OP(dst[6], (A*src[6] + B*src[7] + C*src[stride+6] + D*src[stride+7] + bias));\ B 353 libavcodec/rv40dsp.c OP(dst[7], (A*src[7] + B*src[8] + C*src[stride+7] + D*src[stride+8] + bias));\ B 358 libavcodec/rv40dsp.c const int E = B + C;\ B 95 libavcodec/sonic.c #define put_rac(C,S,B) \ B 98 libavcodec/sonic.c rc_stat[*(S)][B]++;\ B 99 libavcodec/sonic.c rc_stat2[(S)-state][B]++;\ B 101 libavcodec/sonic.c put_rac(C,S,B);\ B 390 libavcodec/svq3.c const int16_t *const B = s->mv_cache[list][index8 - 8]; B 405 libavcodec/svq3.c *mx = mid_pred(A[0], B[0], C[0]); B 406 libavcodec/svq3.c *my = mid_pred(A[1], B[1], C[1]); B 412 libavcodec/svq3.c *mx = B[0]; B 413 libavcodec/svq3.c *my = B[1]; B 425 libavcodec/svq3.c *mx = mid_pred(A[0], B[0], C[0]); B 426 libavcodec/svq3.c *my = mid_pred(A[1], B[1], C[1]); B 22 libavcodec/tests/celp_math.c static inline void IsAlmostEqual(float A, float B, float epsilon) B 24 libavcodec/tests/celp_math.c float diff = fabsf(A - B); B 26 libavcodec/tests/celp_math.c float absb = fabsf(B); B 401 libavcodec/utvideodec.c int A, B, C; B 426 libavcodec/utvideodec.c B = bsrc[i - stride]; B 427 libavcodec/utvideodec.c bsrc[i] += mid_pred(A, B, (uint8_t)(A + B - C)); B 428 libavcodec/utvideodec.c C = B; B 433 libavcodec/utvideodec.c bsrc + 16, width - 16, &A, &B); B 439 libavcodec/utvideodec.c bsrc, width, &A, &B); B 453 libavcodec/utvideodec.c int A, B, C; B 481 libavcodec/utvideodec.c B = bsrc[i - stride2]; B 482 libavcodec/utvideodec.c bsrc[i] += mid_pred(A, B, (uint8_t)(A + B - C)); B 483 libavcodec/utvideodec.c C = B; B 488 libavcodec/utvideodec.c bsrc + 16, width - 16, &A, &B); B 491 libavcodec/utvideodec.c bsrc + stride, width, &A, &B); B 496 libavcodec/utvideodec.c bsrc, width, &A, &B); B 498 libavcodec/utvideodec.c bsrc + stride, width, &A, &B); B 508 libavcodec/utvideodec.c int A, B, C; B 534 libavcodec/utvideodec.c B = bsrc[i - (stride + 1)]; B 536 libavcodec/utvideodec.c bsrc[i] = (A - B + C + bsrc[i]) & 0xFF; B 549 libavcodec/utvideodec.c int A, B, C; B 578 libavcodec/utvideodec.c B = bsrc[i - (stride2 + 1)]; B 580 libavcodec/utvideodec.c bsrc[i] = (A - B + C + bsrc[i]) & 0xFF; B 586 libavcodec/utvideodec.c B = bsrc[-(1 + stride + stride - width)]; B 588 libavcodec/utvideodec.c bsrc[stride] = (A - B + C + bsrc[stride]) & 0xFF; B 591 libavcodec/utvideodec.c B = bsrc[i - (1 + stride)]; B 593 libavcodec/utvideodec.c bsrc[i + stride] = (A - B + C + bsrc[i + stride]) & 0xFF; B 294 libavcodec/utvideoenc.c int A, B; B 313 libavcodec/utvideoenc.c A = B = 0; B 317 libavcodec/utvideoenc.c c->llvidencdsp.sub_median_pred(dst, src - stride, src, width, &A, &B); B 218 libavcodec/vc1_pred.c int16_t *A, *B, *C; B 315 libavcodec/vc1_pred.c B = s->current_picture.motion_val[dir][xy - wrap + off + v->blocks_off]; B 319 libavcodec/vc1_pred.c field_predB[0] = B[0]; B 320 libavcodec/vc1_pred.c field_predB[1] = B[1]; B 475 libavcodec/vc1_pred.c int A[2], B[2], C[2]; B 530 libavcodec/vc1_pred.c B[0] = B[1] = C[0] = C[1] = 0; B 540 libavcodec/vc1_pred.c B[0] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap][0]; B 541 libavcodec/vc1_pred.c B[1] = s->current_picture.motion_val[dir][s->block_index[n_adj] - 2 * wrap][1]; B 543 libavcodec/vc1_pred.c B[0] = (B[0] + s->current_picture.motion_val[dir][s->block_index[n_adj ^ 2] - 2 * wrap][0] + 1) >> 1; B 544 libavcodec/vc1_pred.c B[1] = (B[1] + s->current_picture.motion_val[dir][s->block_index[n_adj ^ 2] - 2 * wrap][1] + 1) >> 1; B 584 libavcodec/vc1_pred.c B[0] = s->current_picture.motion_val[dir][pos_b][0]; B 585 libavcodec/vc1_pred.c B[1] = s->current_picture.motion_val[dir][pos_b][1]; B 599 libavcodec/vc1_pred.c B[0] = B[1] = C[0] = C[1] = 0; B 603 libavcodec/vc1_pred.c px = B[0]; B 604 libavcodec/vc1_pred.c py = B[1]; B 607 libavcodec/vc1_pred.c px = mid_pred(A[0], B[0], C[0]); B 608 libavcodec/vc1_pred.c py = mid_pred(A[1], B[1], C[1]); B 611 libavcodec/vc1_pred.c else if (b_valid) { px = B[0]; py = B[1]; } B 621 libavcodec/vc1_pred.c field_b = (B[1] & 4) ? 1 : 0; B 633 libavcodec/vc1_pred.c px = mid_pred(A[0], B[0], C[0]); B 634 libavcodec/vc1_pred.c py = mid_pred(A[1], B[1], C[1]); B 638 libavcodec/vc1_pred.c px = !field_a ? A[0] : B[0]; B 639 libavcodec/vc1_pred.c py = !field_a ? A[1] : B[1]; B 641 libavcodec/vc1_pred.c px = field_a ? A[0] : B[0]; B 642 libavcodec/vc1_pred.c py = field_a ? A[1] : B[1]; B 650 libavcodec/vc1_pred.c px = B[0]; B 651 libavcodec/vc1_pred.c py = B[1]; B 663 libavcodec/vc1_pred.c px = B[0]; B 664 libavcodec/vc1_pred.c py = B[1]; B 668 libavcodec/vc1_pred.c px = (a_valid) ? A[0] : ((b_valid) ? B[0] : C[0]); B 669 libavcodec/vc1_pred.c py = (a_valid) ? A[1] : ((b_valid) ? B[1] : C[1]); B 696 libavcodec/vc1_pred.c int16_t *A, *B, *C; B 749 libavcodec/vc1_pred.c B = s->current_picture.motion_val[0][xy - wrap * 2 + off]; B 757 libavcodec/vc1_pred.c px = mid_pred(A[0], B[0], C[0]); B 758 libavcodec/vc1_pred.c py = mid_pred(A[1], B[1], C[1]); B 818 libavcodec/vc1_pred.c B = s->current_picture.motion_val[1][xy - wrap * 2 + off]; B 827 libavcodec/vc1_pred.c px = mid_pred(A[0], B[0], C[0]); B 828 libavcodec/vc1_pred.c py = mid_pred(A[1], B[1], C[1]); B 784 libavcodec/vc1dsp.c ((A * src[a] + B * src[a + 1] + \ B 791 libavcodec/vc1dsp.c const int B = (x) * (8 - y); B 816 libavcodec/vc1dsp.c const int B = (x) * (8 - y); B 839 libavcodec/vc1dsp.c const int B = (x) * (8 - y); B 865 libavcodec/vc1dsp.c const int B = ( x) * (8 - y); B 52 libavcodec/vp3dsp.c int A, B, C, D, Ad, Bd, Cd, Dd, E, F, G, H; B 63 libavcodec/vp3dsp.c B = M(xC7S1, ip[1 * 8]) - M(xC1S7, ip[7 * 8]); B 68 libavcodec/vp3dsp.c Bd = M(xC4S4, (B - D)); B 71 libavcodec/vp3dsp.c Dd = B + D; B 112 libavcodec/vp3dsp.c B = M(xC7S1, ip[1]) - M(xC1S7, ip[7]); B 117 libavcodec/vp3dsp.c Bd = M(xC4S4, (B - D)); B 120 libavcodec/vp3dsp.c Dd = B + D; B 203 libavcodec/vp3dsp.c int A, B, C, D, Ad, Bd, Cd, Dd, E, F, G, H; B 213 libavcodec/vp3dsp.c B = M(xC7S1, ip[1 * 8]); B 218 libavcodec/vp3dsp.c Bd = M(xC4S4, (B - D)); B 221 libavcodec/vp3dsp.c Dd = B + D; B 262 libavcodec/vp3dsp.c B = M(xC7S1, ip[1]); B 267 libavcodec/vp3dsp.c Bd = M(xC4S4, (B - D)); B 270 libavcodec/vp3dsp.c Dd = B + D; B 778 libavcodec/wavpack.c int A, B, L, L2, R, R2; B 803 libavcodec/wavpack.c B = 2U * s->decorr[i].samplesB[0] - s->decorr[i].samplesB[1]; B 806 libavcodec/wavpack.c B = (int)(3U * s->decorr[i].samplesB[0] - s->decorr[i].samplesB[1]) >> 1; B 813 libavcodec/wavpack.c B = s->decorr[i].samplesB[pos]; B 818 libavcodec/wavpack.c R2 = R + ((s->decorr[i].weightB * (int64_t)B + 512) >> 10); B 821 libavcodec/wavpack.c R2 = R + (unsigned)((int)(s->decorr[i].weightB * (unsigned)B + 512) >> 10); B 825 libavcodec/wavpack.c if (B && R) B 826 libavcodec/wavpack.c s->decorr[i].weightB -= ((((R ^ B) >> 30) & 2) - 1) * s->decorr[i].delta; B 303 libavcodec/wmv2dec.c int16_t *A, *B, *C, *mot_val; B 311 libavcodec/wmv2dec.c B = s->current_picture.motion_val[0][xy - wrap]; B 315 libavcodec/wmv2dec.c diff = FFMAX(FFABS(A[0] - B[0]), FFABS(A[1] - B[1])); B 328 libavcodec/wmv2dec.c *px = B[0]; B 329 libavcodec/wmv2dec.c *py = B[1]; B 336 libavcodec/wmv2dec.c *px = mid_pred(A[0], B[0], C[0]); B 337 libavcodec/wmv2dec.c *py = mid_pred(A[1], B[1], C[1]); B 69 libavcodec/x86/cavsdsp.c #define QPEL_CAVSV1(A,B,C,D,E,F,OP,ADD, MUL1, MUL2) \ B 80 libavcodec/x86/cavsdsp.c "paddw "#B", "#B" \n\t"\ B 84 libavcodec/x86/cavsdsp.c "psubw "#B", %%mm6 \n\t"\ B 85 libavcodec/x86/cavsdsp.c "psraw $1, "#B" \n\t"\ B 94 libavcodec/x86/cavsdsp.c #define QPEL_CAVSV2(A,B,C,D,E,F,OP,ADD, MUL1, MUL2) \ B 101 libavcodec/x86/cavsdsp.c "psubw "#B", %%mm6 \n\t"\ B 110 libavcodec/x86/cavsdsp.c #define QPEL_CAVSV3(A,B,C,D,E,F,OP,ADD, MUL1, MUL2) \ B 116 libavcodec/x86/cavsdsp.c "psllw $3, "#B" \n\t"\ B 117 libavcodec/x86/cavsdsp.c "psubw "#B", %%mm6 \n\t"\ B 118 libavcodec/x86/cavsdsp.c "psraw $3, "#B" \n\t"\ B 120 libavcodec/x86/cavsdsp.c "paddw "#B", %%mm6 \n\t"\ B 151 libavfilter/af_afade.c double B = 1. / (1.0 + exp(a)); B 153 libavfilter/af_afade.c gain = (A - B) / (C - B); B 171 libavfilter/qsvvpp.c surface->Data.B = frame->data[0]; B 296 libavfilter/vf_blend.c DEFINE_BLEND8(addition, FFMIN(255, A + B)) B 297 libavfilter/vf_blend.c DEFINE_BLEND8(grainmerge, av_clip_uint8(A + B - 128)) B 298 libavfilter/vf_blend.c DEFINE_BLEND8(average, (A + B) / 2) B 299 libavfilter/vf_blend.c DEFINE_BLEND8(subtract, FFMAX(0, A - B)) B 300 libavfilter/vf_blend.c DEFINE_BLEND8(multiply, MULTIPLY(1, A, B)) B 301 libavfilter/vf_blend.c DEFINE_BLEND8(multiply128,av_clip_uint8((A - 128) * B / 32. + 128)) B 302 libavfilter/vf_blend.c DEFINE_BLEND8(negation, 255 - FFABS(255 - A - B)) B 303 libavfilter/vf_blend.c DEFINE_BLEND8(extremity, FFABS(255 - A - B)) B 304 libavfilter/vf_blend.c DEFINE_BLEND8(difference, FFABS(A - B)) B 305 libavfilter/vf_blend.c DEFINE_BLEND8(grainextract, av_clip_uint8(128 + A - B)) B 306 libavfilter/vf_blend.c DEFINE_BLEND8(screen, SCREEN(1, A, B)) B 307 libavfilter/vf_blend.c DEFINE_BLEND8(overlay, (A < 128) ? MULTIPLY(2, A, B) : SCREEN(2, A, B)) B 308 libavfilter/vf_blend.c DEFINE_BLEND8(hardlight, (B < 128) ? MULTIPLY(2, B, A) : SCREEN(2, B, A)) B 309 libavfilter/vf_blend.c DEFINE_BLEND8(hardmix, (A < (255 - B)) ? 0: 255) B 310 libavfilter/vf_blend.c DEFINE_BLEND8(heat, (A == 0) ? 0 : 255 - FFMIN(((255 - B) * (255 - B)) / A, 255)) B 311 libavfilter/vf_blend.c DEFINE_BLEND8(freeze, (B == 0) ? 0 : 255 - FFMIN(((255 - A) * (255 - A)) / B, 255)) B 312 libavfilter/vf_blend.c DEFINE_BLEND8(darken, FFMIN(A, B)) B 313 libavfilter/vf_blend.c DEFINE_BLEND8(lighten, FFMAX(A, B)) B 314 libavfilter/vf_blend.c DEFINE_BLEND8(divide, av_clip_uint8(B == 0 ? 255 : 255 * A / B)) B 315 libavfilter/vf_blend.c DEFINE_BLEND8(dodge, DODGE(A, B)) B 316 libavfilter/vf_blend.c DEFINE_BLEND8(burn, BURN(A, B)) B 317 libavfilter/vf_blend.c DEFINE_BLEND8(softlight, (A > 127) ? B + (255 - B) * (A - 127.5) / 127.5 * (0.5 - fabs(B - 127.5) / 255): B - B * ((127.5 - A) / 127.5) * (0.5 - fabs(B - 127.5)/255)) B 318 libavfilter/vf_blend.c DEFINE_BLEND8(exclusion, A + B - 2 * A * B / 255) B 319 libavfilter/vf_blend.c DEFINE_BLEND8(pinlight, (B < 128) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 128))) B 320 libavfilter/vf_blend.c DEFINE_BLEND8(phoenix, FFMIN(A, B) - FFMAX(A, B) + 255) B 321 libavfilter/vf_blend.c DEFINE_BLEND8(reflect, (B == 255) ? B : FFMIN(255, (A * A / (255 - B)))) B 322 libavfilter/vf_blend.c DEFINE_BLEND8(glow, (A == 255) ? A : FFMIN(255, (B * B / (255 - A)))) B 323 libavfilter/vf_blend.c DEFINE_BLEND8(and, A & B) B 324 libavfilter/vf_blend.c DEFINE_BLEND8(or, A | B) B 325 libavfilter/vf_blend.c DEFINE_BLEND8(xor, A ^ B) B 326 libavfilter/vf_blend.c DEFINE_BLEND8(vividlight, (A < 128) ? BURN(2 * A, B) : DODGE(2 * (A - 128), B)) B 327 libavfilter/vf_blend.c DEFINE_BLEND8(linearlight,av_clip_uint8((B < 128) ? B + 2 * A - 255 : B + 2 * (A - 128))) B 339 libavfilter/vf_blend.c DEFINE_BLEND16(addition, FFMIN(65535, A + B), 16) B 340 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, av_clip_uint16(A + B - 32768), 16) B 341 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 16) B 342 libavfilter/vf_blend.c DEFINE_BLEND16(subtract, FFMAX(0, A - B), 16) B 343 libavfilter/vf_blend.c DEFINE_BLEND16(multiply, MULTIPLY(1, A, B), 16) B 344 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, av_clip_uint16((A - 32768) * B / 8192. + 32768), 16) B 345 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 65535 - FFABS(65535 - A - B), 16) B 346 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(65535 - A - B), 16) B 347 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 16) B 348 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, av_clip_uint16(32768 + A - B), 16) B 349 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 16) B 350 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 32768) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 16) B 351 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 32768) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 16) B 352 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix, (A < (65535 - B)) ? 0: 65535, 16) B 353 libavfilter/vf_blend.c DEFINE_BLEND16(heat, (A == 0) ? 0 : 65535 - FFMIN(((65535 - B) * (65535 - B)) / A, 65535), 16) B 354 libavfilter/vf_blend.c DEFINE_BLEND16(freeze, (B == 0) ? 0 : 65535 - FFMIN(((65535 - A) * (65535 - A)) / B, 65535), 16) B 355 libavfilter/vf_blend.c DEFINE_BLEND16(darken, FFMIN(A, B), 16) B 356 libavfilter/vf_blend.c DEFINE_BLEND16(lighten, FFMAX(A, B), 16) B 357 libavfilter/vf_blend.c DEFINE_BLEND16(divide, av_clip_uint16(B == 0 ? 65535 : 65535 * A / B), 16) B 358 libavfilter/vf_blend.c DEFINE_BLEND16(dodge, DODGE(A, B), 16) B 359 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 16) B 360 libavfilter/vf_blend.c DEFINE_BLEND16(softlight, (A > 32767) ? B + (65535 - B) * (A - 32767.5) / 32767.5 * (0.5 - fabs(B - 32767.5) / 65535): B - B * ((32767.5 - A) / 32767.5) * (0.5 - fabs(B - 32767.5)/65535), 16) B 361 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion, A + B - 2 * A * B / 65535, 16) B 362 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight, (B < 32768) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 32768)), 16) B 363 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix, FFMIN(A, B) - FFMAX(A, B) + 65535, 16) B 364 libavfilter/vf_blend.c DEFINE_BLEND16(reflect, (B == 65535) ? B : FFMIN(65535, (A * A / (65535 - B))), 16) B 365 libavfilter/vf_blend.c DEFINE_BLEND16(glow, (A == 65535) ? A : FFMIN(65535, (B * B / (65535 - A))), 16) B 366 libavfilter/vf_blend.c DEFINE_BLEND16(and, A & B, 16) B 367 libavfilter/vf_blend.c DEFINE_BLEND16(or, A | B, 16) B 368 libavfilter/vf_blend.c DEFINE_BLEND16(xor, A ^ B, 16) B 369 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 32768) ? BURN(2 * A, B) : DODGE(2 * (A - 32768), B), 16) B 370 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,av_clip_uint16((B < 32768) ? B + 2 * A - 65535 : B + 2 * (A - 32768)), 16) B 382 libavfilter/vf_blend.c DEFINE_BLEND16(addition, FFMIN(1023, A + B), 10) B 383 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, (int)av_clip_uintp2(A + B - 512, 10), 10) B 384 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 10) B 385 libavfilter/vf_blend.c DEFINE_BLEND16(subtract, FFMAX(0, A - B), 10) B 386 libavfilter/vf_blend.c DEFINE_BLEND16(multiply, MULTIPLY(1, A, B), 10) B 387 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, (int)av_clip_uintp2((A - 512) * B / 128. + 512, 10), 10) B 388 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 1023 - FFABS(1023 - A - B), 10) B 389 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(1023 - A - B), 10) B 390 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 10) B 391 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, (int)av_clip_uintp2(512 + A - B, 10), 10) B 392 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 10) B 393 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 512) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 10) B 394 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 512) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 10) B 395 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix, (A < (1023 - B)) ? 0: 1023, 10) B 396 libavfilter/vf_blend.c DEFINE_BLEND16(heat, (A == 0) ? 0 : 1023 - FFMIN(((1023 - B) * (1023 - B)) / A, 1023), 10) B 397 libavfilter/vf_blend.c DEFINE_BLEND16(freeze, (B == 0) ? 0 : 1023 - FFMIN(((1023 - A) * (1023 - A)) / B, 1023), 10) B 398 libavfilter/vf_blend.c DEFINE_BLEND16(darken, FFMIN(A, B), 10) B 399 libavfilter/vf_blend.c DEFINE_BLEND16(lighten, FFMAX(A, B), 10) B 400 libavfilter/vf_blend.c DEFINE_BLEND16(divide, (int)av_clip_uintp2(B == 0 ? 1023 : 1023 * A / B, 10), 10) B 401 libavfilter/vf_blend.c DEFINE_BLEND16(dodge, DODGE(A, B), 10) B 402 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 10) B 403 libavfilter/vf_blend.c DEFINE_BLEND16(softlight, (A > 511) ? B + (1023 - B) * (A - 511.5) / 511.5 * (0.5 - fabs(B - 511.5) / 1023): B - B * ((511.5 - A) / 511.5) * (0.5 - fabs(B - 511.5)/1023), 10) B 404 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion, A + B - 2 * A * B / 1023, 10) B 405 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight, (B < 512) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 512)), 10) B 406 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix, FFMIN(A, B) - FFMAX(A, B) + 1023, 10) B 407 libavfilter/vf_blend.c DEFINE_BLEND16(reflect, (B == 1023) ? B : FFMIN(1023, (A * A / (1023 - B))), 10) B 408 libavfilter/vf_blend.c DEFINE_BLEND16(glow, (A == 1023) ? A : FFMIN(1023, (B * B / (1023 - A))), 10) B 409 libavfilter/vf_blend.c DEFINE_BLEND16(and, A & B, 10) B 410 libavfilter/vf_blend.c DEFINE_BLEND16(or, A | B, 10) B 411 libavfilter/vf_blend.c DEFINE_BLEND16(xor, A ^ B, 10) B 412 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 512) ? BURN(2 * A, B) : DODGE(2 * (A - 512), B), 10) B 413 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,(int)av_clip_uintp2((B < 512) ? B + 2 * A - 1023 : B + 2 * (A - 512), 10), 10) B 425 libavfilter/vf_blend.c DEFINE_BLEND16(addition, FFMIN(4095, A + B), 12) B 426 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, (int)av_clip_uintp2(A + B - 2048, 12), 12) B 427 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 12) B 428 libavfilter/vf_blend.c DEFINE_BLEND16(subtract, FFMAX(0, A - B), 12) B 429 libavfilter/vf_blend.c DEFINE_BLEND16(multiply, MULTIPLY(1, A, B), 12) B 430 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, (int)av_clip_uintp2((A - 2048) * B / 512. + 2048, 12), 12) B 431 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 4095 - FFABS(4095 - A - B), 12) B 432 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(4095 - A - B), 12) B 433 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 12) B 434 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, (int)av_clip_uintp2(2048 + A - B, 12), 12) B 435 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 12) B 436 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 2048) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 12) B 437 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 2048) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 12) B 438 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix, (A < (4095 - B)) ? 0: 4095, 12) B 439 libavfilter/vf_blend.c DEFINE_BLEND16(heat, (A == 0) ? 0 : 4095 - FFMIN(((4095 - B) * (4095 - B)) / A, 4095), 12) B 440 libavfilter/vf_blend.c DEFINE_BLEND16(freeze, (B == 0) ? 0 : 4095 - FFMIN(((4095 - A) * (4095 - A)) / B, 4095), 12) B 441 libavfilter/vf_blend.c DEFINE_BLEND16(darken, FFMIN(A, B), 12) B 442 libavfilter/vf_blend.c DEFINE_BLEND16(lighten, FFMAX(A, B), 12) B 443 libavfilter/vf_blend.c DEFINE_BLEND16(divide, (int)av_clip_uintp2(B == 0 ? 4095 : 4095 * A / B, 12), 12) B 444 libavfilter/vf_blend.c DEFINE_BLEND16(dodge, DODGE(A, B), 12) B 445 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 12) B 446 libavfilter/vf_blend.c DEFINE_BLEND16(softlight, (A > 2047) ? B + (4095 - B) * (A - 2047.5) / 2047.5 * (0.5 - fabs(B - 2047.5) / 4095): B - B * ((2047.5 - A) / 2047.5) * (0.5 - fabs(B - 2047.5)/4095), 12) B 447 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion, A + B - 2 * A * B / 4095, 12) B 448 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight, (B < 2048) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 2048)), 12) B 449 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix, FFMIN(A, B) - FFMAX(A, B) + 4095, 12) B 450 libavfilter/vf_blend.c DEFINE_BLEND16(reflect, (B == 4095) ? B : FFMIN(4095, (A * A / (4095 - B))), 12) B 451 libavfilter/vf_blend.c DEFINE_BLEND16(glow, (A == 4095) ? A : FFMIN(4095, (B * B / (4095 - A))), 12) B 452 libavfilter/vf_blend.c DEFINE_BLEND16(and, A & B, 12) B 453 libavfilter/vf_blend.c DEFINE_BLEND16(or, A | B, 12) B 454 libavfilter/vf_blend.c DEFINE_BLEND16(xor, A ^ B, 12) B 455 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 2048) ? BURN(2 * A, B) : DODGE(2 * (A - 2048), B), 12) B 456 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,(int)av_clip_uintp2((B < 2048) ? B + 2 * A - 4095 : B + 2 * (A - 2048), 12), 12) B 468 libavfilter/vf_blend.c DEFINE_BLEND16(addition, FFMIN(511, A + B), 9) B 469 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, (int)av_clip_uintp2(A + B - 256, 9), 9) B 470 libavfilter/vf_blend.c DEFINE_BLEND16(average, (A + B) / 2, 9) B 471 libavfilter/vf_blend.c DEFINE_BLEND16(subtract, FFMAX(0, A - B), 9) B 472 libavfilter/vf_blend.c DEFINE_BLEND16(multiply, MULTIPLY(1, A, B), 9) B 473 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, (int)av_clip_uintp2((A - 256) * B / 64. + 256, 9), 9) B 474 libavfilter/vf_blend.c DEFINE_BLEND16(negation, 511 - FFABS(511 - A - B), 9) B 475 libavfilter/vf_blend.c DEFINE_BLEND16(extremity, FFABS(511 - A - B), 9) B 476 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 9) B 477 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, (int)av_clip_uintp2(256 + A - B, 9), 9) B 478 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 9) B 479 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 256) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 9) B 480 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 256) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 9) B 481 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix, (A < (511 - B)) ? 0: 511, 9) B 482 libavfilter/vf_blend.c DEFINE_BLEND16(heat, (A == 0) ? 0 : 511 - FFMIN(((511 - B) * (511 - B)) / A, 511), 9) B 483 libavfilter/vf_blend.c DEFINE_BLEND16(freeze, (B == 0) ? 0 : 511 - FFMIN(((511 - A) * (511 - A)) / B, 511), 9) B 484 libavfilter/vf_blend.c DEFINE_BLEND16(darken, FFMIN(A, B), 9) B 485 libavfilter/vf_blend.c DEFINE_BLEND16(lighten, FFMAX(A, B), 9) B 486 libavfilter/vf_blend.c DEFINE_BLEND16(divide, (int)av_clip_uintp2(B == 0 ? 511 : 511 * A / B, 9), 9) B 487 libavfilter/vf_blend.c DEFINE_BLEND16(dodge, DODGE(A, B), 9) B 488 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 9) B 489 libavfilter/vf_blend.c DEFINE_BLEND16(softlight, (A > 511) ? B + (511 - B) * (A - 511.5) / 511.5 * (0.5 - fabs(B - 511.5) / 511): B - B * ((511.5 - A) / 511.5) * (0.5 - fabs(B - 511.5)/511), 9) B 490 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion, A + B - 2 * A * B / 511, 9) B 491 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight, (B < 256) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 256)), 9) B 492 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix, FFMIN(A, B) - FFMAX(A, B) + 511, 9) B 493 libavfilter/vf_blend.c DEFINE_BLEND16(reflect, (B == 511) ? B : FFMIN(511, (A * A / (511 - B))), 9) B 494 libavfilter/vf_blend.c DEFINE_BLEND16(glow, (A == 511) ? A : FFMIN(511, (B * B / (511 - A))), 9) B 495 libavfilter/vf_blend.c DEFINE_BLEND16(and, A & B, 9) B 496 libavfilter/vf_blend.c DEFINE_BLEND16(or, A | B, 9) B 497 libavfilter/vf_blend.c DEFINE_BLEND16(xor, A ^ B, 9) B 498 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 256) ? BURN(2 * A, B) : DODGE(2 * (A - 256), B), 9) B 499 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,(int)av_clip_uintp2((B < 256) ? B + 2 * A - 511 : B + 2 * (A - 256), 9), 9) B 511 libavfilter/vf_blend.c DEFINE_BLEND32(addition, A + B, 32) B 512 libavfilter/vf_blend.c DEFINE_BLEND32(grainmerge, A + B - 0.5, 32) B 513 libavfilter/vf_blend.c DEFINE_BLEND32(average, (A + B) / 2, 32) B 514 libavfilter/vf_blend.c DEFINE_BLEND32(subtract, A - B, 32) B 515 libavfilter/vf_blend.c DEFINE_BLEND32(multiply, A * B, 32) B 516 libavfilter/vf_blend.c DEFINE_BLEND32(multiply128, (A - 0.5) * B / 0.125 + 0.5, 32) B 517 libavfilter/vf_blend.c DEFINE_BLEND32(negation, 1.0 - FFABS(1.0 - A - B), 32) B 518 libavfilter/vf_blend.c DEFINE_BLEND32(extremity, FFABS(1.0 - A - B), 32) B 519 libavfilter/vf_blend.c DEFINE_BLEND32(difference, FFABS(A - B), 32) B 520 libavfilter/vf_blend.c DEFINE_BLEND32(grainextract, 0.5 + A - B, 32) B 521 libavfilter/vf_blend.c DEFINE_BLEND32(screen, SCREEN(1, A, B), 32) B 522 libavfilter/vf_blend.c DEFINE_BLEND32(overlay, (A < 0.5) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 32) B 523 libavfilter/vf_blend.c DEFINE_BLEND32(hardlight, (B < 0.5) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 32) B 524 libavfilter/vf_blend.c DEFINE_BLEND32(hardmix, (A < (1.0 - B)) ? 0: 1.0, 32) B 525 libavfilter/vf_blend.c DEFINE_BLEND32(heat, (A == 0) ? 0 : 1.0 - FFMIN(((1.0 - B) * (1.0 - B)) / A, 1.0), 32) B 526 libavfilter/vf_blend.c DEFINE_BLEND32(freeze, (B == 0) ? 0 : 1.0 - FFMIN(((1.0 - A) * (1.0 - A)) / B, 1.0), 32) B 527 libavfilter/vf_blend.c DEFINE_BLEND32(darken, FFMIN(A, B), 32) B 528 libavfilter/vf_blend.c DEFINE_BLEND32(lighten, FFMAX(A, B), 32) B 529 libavfilter/vf_blend.c DEFINE_BLEND32(divide, B == 0 ? 1.0 : 1.0 * A / B, 32) B 530 libavfilter/vf_blend.c DEFINE_BLEND32(dodge, DODGE(A, B), 32) B 531 libavfilter/vf_blend.c DEFINE_BLEND32(burn, BURN(A, B), 32) B 532 libavfilter/vf_blend.c DEFINE_BLEND32(softlight, (A > 0.5) ? B + (1.0 - B) * (A - 0.5) / 0.5 * (0.5 - fabs(B - 0.5) / 1.0): B - B * ((0.5 - A) / 0.5) * (0.5 - fabs(B - 0.5)/1.0), 32) B 533 libavfilter/vf_blend.c DEFINE_BLEND32(exclusion, A + B - 2 * A * B / 1.0, 32) B 534 libavfilter/vf_blend.c DEFINE_BLEND32(pinlight, (B < 0.5) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 0.5)), 32) B 535 libavfilter/vf_blend.c DEFINE_BLEND32(phoenix, FFMIN(A, B) - FFMAX(A, B) + 1.0, 32) B 536 libavfilter/vf_blend.c DEFINE_BLEND32(reflect, (B == 1.0) ? B : FFMIN(1.0, (A * A / (1.0 - B))), 32) B 537 libavfilter/vf_blend.c DEFINE_BLEND32(glow, (A == 1.0) ? A : FFMIN(1.0, (B * B / (1.0 - A))), 32) B 538 libavfilter/vf_blend.c DEFINE_BLEND32(and, av_int2float(av_float2int(A) & av_float2int(B)), 32) B 539 libavfilter/vf_blend.c DEFINE_BLEND32(or, av_int2float(av_float2int(A) | av_float2int(B)), 32) B 540 libavfilter/vf_blend.c DEFINE_BLEND32(xor, av_int2float(av_float2int(A) ^ av_float2int(B)), 32) B 541 libavfilter/vf_blend.c DEFINE_BLEND32(vividlight, (A < 0.5) ? BURN(2 * A, B) : DODGE(2 * (A - 0.5), B), 32) B 542 libavfilter/vf_blend.c DEFINE_BLEND32(linearlight,(B < 0.5) ? B + 2 * A - 1.0 : B + 2 * (A - 0.5), 32) B 277 libavfilter/vf_colorbalance.c const uint8_t boffset = s->rgba_map[B]; B 328 libavfilter/vf_colorbalance.c const uint8_t boffset = s->rgba_map[B]; B 132 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + B 136 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin] + B 138 libavfilter/vf_colorchannelmixer.c dstb[j] = av_clip_uint8(s->lut[B][R][rin] + B 139 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + B 140 libavfilter/vf_colorchannelmixer.c s->lut[B][B][bin] + B 141 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[B][A][ain] : 0)); B 145 libavfilter/vf_colorchannelmixer.c s->lut[A][B][bin] + B 191 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + B 195 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin] + B 197 libavfilter/vf_colorchannelmixer.c dstb[j] = av_clip_uintp2(s->lut[B][R][rin] + B 198 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + B 199 libavfilter/vf_colorchannelmixer.c s->lut[B][B][bin] + B 200 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[B][A][ain] : 0), depth); B 204 libavfilter/vf_colorchannelmixer.c s->lut[A][B][bin] + B 283 libavfilter/vf_colorchannelmixer.c const uint8_t boffset = s->rgba_map[B]; B 301 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + B 305 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin] + B 307 libavfilter/vf_colorchannelmixer.c dst[j + boffset] = av_clip_uint8(s->lut[B][R][rin] + B 308 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + B 309 libavfilter/vf_colorchannelmixer.c s->lut[B][B][bin] + B 310 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[B][A][ain] : 0)); B 314 libavfilter/vf_colorchannelmixer.c s->lut[A][B][bin] + B 338 libavfilter/vf_colorchannelmixer.c const uint8_t boffset = s->rgba_map[B]; B 356 libavfilter/vf_colorchannelmixer.c s->lut[R][B][bin] + B 360 libavfilter/vf_colorchannelmixer.c s->lut[G][B][bin] + B 362 libavfilter/vf_colorchannelmixer.c dst[j + boffset] = av_clip_uint16(s->lut[B][R][rin] + B 363 libavfilter/vf_colorchannelmixer.c s->lut[B][G][gin] + B 364 libavfilter/vf_colorchannelmixer.c s->lut[B][B][bin] + B 365 libavfilter/vf_colorchannelmixer.c (have_alpha == 1 ? s->lut[B][A][ain] : 0)); B 369 libavfilter/vf_colorchannelmixer.c s->lut[A][B][bin] + B 430 libavfilter/vf_colorchannelmixer.c s->lut[R][B][i] = lrint(i * s->rb); B 435 libavfilter/vf_colorchannelmixer.c s->lut[G][B][i] = lrint(i * s->gb); B 438 libavfilter/vf_colorchannelmixer.c s->lut[B][R][i] = lrint(i * s->br); B 439 libavfilter/vf_colorchannelmixer.c s->lut[B][G][i] = lrint(i * s->bg); B 440 libavfilter/vf_colorchannelmixer.c s->lut[B][B][i] = lrint(i * s->bb); B 441 libavfilter/vf_colorchannelmixer.c s->lut[B][A][i] = lrint(i * s->ba); B 445 libavfilter/vf_colorchannelmixer.c s->lut[A][B][i] = lrint(i * s->ab); B 55 libavfilter/vf_colorlevels.c { "bimin", "set input blue black point", OFFSET(range[B].in_min), AV_OPT_TYPE_DOUBLE, {.dbl=0}, -1, 1, FLAGS }, B 59 libavfilter/vf_colorlevels.c { "bimax", "set input blue white point", OFFSET(range[B].in_max), AV_OPT_TYPE_DOUBLE, {.dbl=1}, -1, 1, FLAGS }, B 63 libavfilter/vf_colorlevels.c { "bomin", "set output blue black point", OFFSET(range[B].out_min), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, 1, FLAGS }, B 67 libavfilter/vf_colorlevels.c { "bomax", "set output blue white point", OFFSET(range[B].out_max), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 1, FLAGS }, B 547 libavfilter/vf_curves.c const uint8_t b = curves->rgba_map[B]; B 560 libavfilter/vf_curves.c dstp[x + b] = curves->graph[B][srcp[x + b]]; B 573 libavfilter/vf_curves.c dst[x + b] = curves->graph[B][src[x + b]]; B 595 libavfilter/vf_curves.c const uint8_t b = curves->rgba_map[B]; B 614 libavfilter/vf_curves.c dstbp[x] = curves->graph[B][srcbp[x]]; B 633 libavfilter/vf_curves.c dstb[x] = curves->graph[B][srcb[x]]; B 105 libavfilter/vf_deblock.c int A, B, C, D, a, b, c, d; \ B 113 libavfilter/vf_deblock.c B = dst[x - 1 * dst_linesize]; \ B 118 libavfilter/vf_deblock.c b = B + delta / 2; \ B 144 libavfilter/vf_deblock.c int A, B, C, D, a, b, c, d; \ B 152 libavfilter/vf_deblock.c B = dst[-1]; \ B 157 libavfilter/vf_deblock.c b = B + delta / 2; \ B 184 libavfilter/vf_deblock.c int A, B, C, D, E, F, a, b, c, d, e, f; \ B 194 libavfilter/vf_deblock.c B = dst[x - 2 * dst_linesize]; \ B 201 libavfilter/vf_deblock.c b = B + delta / 4; \ B 230 libavfilter/vf_deblock.c int A, B, C, D, E, F, a, b, c, d, e, f; \ B 240 libavfilter/vf_deblock.c B = dst[-2]; \ B 247 libavfilter/vf_deblock.c b = B + delta / 4; \ B 152 libavfilter/vf_elbg.c const uint8_t b_idx = elbg->rgba_map[B]; B 192 libavfilter/vf_fade.c const uint8_t b_idx = s->rgba_map[B]; B 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]); B 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); B 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); B 84 libavfilter/vf_geq.c { "blue_expr", "set blue expression", OFFSET(expr_str[B]), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, B 85 libavfilter/vf_geq.c { "b", "set blue expression", OFFSET(expr_str[B]), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, B 229 libavfilter/vf_geq.c if (!geq->expr_str[Y] && !geq->expr_str[G] && !geq->expr_str[B] && !geq->expr_str[R]) { B 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])) { B 259 libavfilter/vf_geq.c if (!geq->expr_str[B]) B 260 libavfilter/vf_geq.c geq->expr_str[B] = av_strdup("b(X,Y)"); B 265 libavfilter/vf_geq.c (!geq->expr_str[G] || !geq->expr_str[B] || !geq->expr_str[R]) B 129 libavfilter/vf_histeq.c b = src[x + map[B]]; \ B 238 libavfilter/vf_histeq.c dst[x + histeq->rgba_map[B]] = b; B 96 libavfilter/vf_lut.c { "b", "set B expression", OFFSET(comp_expr_str[B]), AV_OPT_TYPE_STRING, { .str = "clipval" }, .flags = FLAGS }, B 439 libavfilter/vf_lut3d.c const uint8_t b = lut3d->rgba_map[B]; \ B 1948 libavfilter/vf_lut3d.c const uint8_t b = lut1d->rgba_map[B]; \ B 371 libavfilter/vf_overlay.c const int db = s->main_rgba_map[B]; B 376 libavfilter/vf_overlay.c const int sb = s->overlay_rgba_map[B]; B 332 libavfilter/vf_selectivecolor.c const uint8_t boffset = s->rgba_map[B]; \ B 49 libavfilter/vf_super2xsai.c #define GET_RESULT(A, B, C, D) ((A != C || A != D) - (B != C || B != D)) B 51 libavfilter/vf_super2xsai.c #define INTERPOLATE(A, B) (((A & hi_pixel_mask) >> 1) + ((B & hi_pixel_mask) >> 1) + (A & B & lo_pixel_mask)) B 53 libavfilter/vf_super2xsai.c #define Q_INTERPOLATE(A, B, C, D) ((A & q_hi_pixel_mask) >> 2) + ((B & q_hi_pixel_mask) >> 2) + ((C & q_hi_pixel_mask) >> 2) + ((D & q_hi_pixel_mask) >> 2) \ B 54 libavfilter/vf_super2xsai.c + ((((A & q_lo_pixel_mask) + (B & q_lo_pixel_mask) + (C & q_lo_pixel_mask) + (D & q_lo_pixel_mask)) >> 2) & q_lo_pixel_mask) B 90 libavfilter/vf_xbr.c #define df(A, B) pixel_diff(A, B, r2y) B 91 libavfilter/vf_xbr.c #define eq(A, B) (df(A, B) < 155) B 980 libavfilter/vsrc_testsrc.c v = (r << (rgba_map[R]*8)) + (g << (rgba_map[G]*8)) + (b << (rgba_map[B]*8)); B 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)); B 752 libavformat/nutdec.c uint64_t B, A = ffio_read_varlen(bc); B 755 libavformat/nutdec.c B = ffio_read_varlen(bc); B 758 libavformat/nutdec.c B = 0; B 761 libavformat/nutdec.c last_pts += A + B; B 783 libavutil/hwcontext_qsv.c surface->Data.B = frame->data[0]; B 273 libavutil/twofish.c uint32_t Key[8], Me[4], Mo[4], A, B; B 300 libavutil/twofish.c B = tf_h((2 * i + 1) * rho, Mo, cs->ksize); B 301 libavutil/twofish.c B = LR(B, 8); B 302 libavutil/twofish.c cs->K[2 * i] = A + B; B 303 libavutil/twofish.c cs->K[2 * i + 1] = LR((A + (2 * B)), 9); B 369 libpostproc/postprocess.c uint64_t B= (0x100 - b)&0xFF; B 374 libpostproc/postprocess.c (D<<24) | (C<<16) | (B<<8) | (A); B 67 libswscale/bayer_template.c B(1, 1) = \ B 68 libswscale/bayer_template.c B(0, 0) = \ B 69 libswscale/bayer_template.c B(0, 1) = \ B 70 libswscale/bayer_template.c B(1, 0) = S(0, 0) >> BAYER_SHIFT; B 74 libswscale/bayer_template.c B(0, 0) = S(0, 0) >> BAYER_SHIFT; \ B 78 libswscale/bayer_template.c B(0, 1) = (T(0, 0) + T(0, 2)) >> (1 + BAYER_SHIFT); \ B 82 libswscale/bayer_template.c B(1, 0) = (T(0, 0) + T(2, 0)) >> (1 + BAYER_SHIFT); \ B 86 libswscale/bayer_template.c B(1, 1) = (T(0, 0) + T(0, 2) + T(2, 0) + T(2, 2)) >> (2 + BAYER_SHIFT); B 99 libswscale/bayer_template.c B(1, 1) = \ B 100 libswscale/bayer_template.c B(0, 0) = \ B 101 libswscale/bayer_template.c B(0, 1) = \ B 102 libswscale/bayer_template.c B(1, 0) = S(0, 1) >> BAYER_SHIFT; B 106 libswscale/bayer_template.c B(0, 0) = (T(0, -1) + T(0, 1)) >> (1 + BAYER_SHIFT); \ B 110 libswscale/bayer_template.c B(0, 1) = S(0, 1) >> BAYER_SHIFT; \ B 114 libswscale/bayer_template.c B(1, 0) = (T(0, -1) + T(0, 1) + T(2, -1) + T(2, 1)) >> (2 + BAYER_SHIFT); \ B 118 libswscale/bayer_template.c B(1, 1) = (T(0, 1) + T(2, 1)) >> (1 + BAYER_SHIFT); B 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) B 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) B 1007 libswscale/output.c int R, G, B; B 1050 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1097 libswscale/output.c int R, G, B; B 1108 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1153 libswscale/output.c int R, G, B; B 1172 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1199 libswscale/output.c int R, G, B; B 1218 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1256 libswscale/output.c int R, G, B; B 1289 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1328 libswscale/output.c int R, G, B; B 1336 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1371 libswscale/output.c int R, G, B; B 1385 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1404 libswscale/output.c int R, G, B; B 1418 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 1847 libswscale/output.c int R, G, B; B 1855 libswscale/output.c B = (unsigned)Y + U*c->yuv2rgb_u2b_coeff; B 1856 libswscale/output.c if ((R | G | B) & 0xC0000000) { B 1859 libswscale/output.c B = av_clip_uintp2(B, 30); B 1867 libswscale/output.c dest[3] = B >> 22; B 1872 libswscale/output.c dest[2] = B >> 22; B 1877 libswscale/output.c dest[2] = B >> 22; B 1882 libswscale/output.c dest[1] = B >> 22; B 1887 libswscale/output.c dest[0] = B >> 22; B 1892 libswscale/output.c dest[0] = B >> 22; B 1910 libswscale/output.c B >>= 22; B 1913 libswscale/output.c B += (7*err[2] + 1*c->dither_error[2][i] + 5*c->dither_error[2][i+1] + 3*c->dither_error[2][i+2])>>4; B 1919 libswscale/output.c b = B >> (isrgb8 ? 6 : 7); B 1925 libswscale/output.c err[2] = B - b*(isrgb8 ? 85 : 255); B 1933 libswscale/output.c b = (((B >> 20) + A_DITHER(i + 17*2,y) -96)>>8); B 1940 libswscale/output.c b = (((B >> 21) + A_DITHER(i + 17*2,y)-256)>>8); B 1952 libswscale/output.c b = (((B >> 20) + X_DITHER(i + 17*2,y) - 96)>>8); B 1959 libswscale/output.c b = (((B >> 21) + X_DITHER(i + 17*2,y)-256)>>8); B 2178 libswscale/output.c int R, G, B; B 2207 libswscale/output.c B = Y + U * c->yuv2rgb_u2b_coeff; B 2209 libswscale/output.c if ((R | G | B) & 0xC0000000) { B 2212 libswscale/output.c B = av_clip_uintp2(B, 30); B 2217 libswscale/output.c dest16[1][i] = B >> SH; B 2223 libswscale/output.c dest[1][i] = B >> 22; B 2262 libswscale/output.c int R, G, B, A; B 2292 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 2296 libswscale/output.c B = av_clip_uintp2(Y + B, 30); B 2299 libswscale/output.c dest16[1][i] = B >> 14; B 2338 libswscale/output.c int R, G, B, A; B 2368 libswscale/output.c B = U * c->yuv2rgb_u2b_coeff; B 2372 libswscale/output.c B = av_clip_uintp2(Y + B, 30); B 2375 libswscale/output.c dest32[1][i] = av_float2int(float_mult * (float)(B >> 14)); B 257 libswscale/ppc/yuv2rgb_altivec.c vector signed short *B) B 269 libswscale/ppc/yuv2rgb_altivec.c *B = vec_mradds(ux, c->CBU, Y); B 306 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; \ B 395 libswscale/ppc/yuv2rgb_altivec.c B = vec_packclp(B0, B1); \ B 397 libswscale/ppc/yuv2rgb_altivec.c out_pixels(R, G, B, oute); \ B 407 libswscale/ppc/yuv2rgb_altivec.c B = vec_packclp(B0, B1); \ B 410 libswscale/ppc/yuv2rgb_altivec.c out_pixels(R, G, B, outo); \ B 473 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; B 506 libswscale/ppc/yuv2rgb_altivec.c B = vec_packclp(B0, B1); B 509 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, out); B 639 libswscale/ppc/yuv2rgb_altivec.c vector unsigned char R, G, B; B 705 libswscale/ppc/yuv2rgb_altivec.c B = vec_packclp(B0, B1); B 709 libswscale/ppc/yuv2rgb_altivec.c out_abgr(R, G, B, out); B 712 libswscale/ppc/yuv2rgb_altivec.c out_bgra(R, G, B, out); B 715 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, out); B 718 libswscale/ppc/yuv2rgb_altivec.c out_argb(R, G, B, out); B 721 libswscale/ppc/yuv2rgb_altivec.c out_rgb24(R, G, B, out); B 724 libswscale/ppc/yuv2rgb_altivec.c out_bgr24(R, G, B, out); B 796 libswscale/ppc/yuv2rgb_altivec.c B = vec_packclp(B0, B1); B 801 libswscale/ppc/yuv2rgb_altivec.c out_abgr(R, G, B, nout); B 804 libswscale/ppc/yuv2rgb_altivec.c out_bgra(R, G, B, nout); B 807 libswscale/ppc/yuv2rgb_altivec.c out_rgba(R, G, B, nout); B 810 libswscale/ppc/yuv2rgb_altivec.c out_argb(R, G, B, nout); B 813 libswscale/ppc/yuv2rgb_altivec.c out_rgb24(R, G, B, nout); B 816 libswscale/ppc/yuv2rgb_altivec.c out_bgr24(R, G, B, nout); B 446 libswscale/utils.c int64_t B = (param[0] != SWS_PARAM_DEFAULT ? param[0] : 0) * (1 << 24); B 456 libswscale/utils.c coeff = (12 * (1 << 24) - 9 * B - 6 * C) * ddd + B 457 libswscale/utils.c (-18 * (1 << 24) + 12 * B + 6 * C) * dd + B 458 libswscale/utils.c (6 * (1 << 24) - 2 * B) * (1 << 30); B 460 libswscale/utils.c coeff = (-B - 6 * C) * ddd + B 461 libswscale/utils.c (6 * B + 30 * C) * dd + B 462 libswscale/utils.c (-12 * B - 48 * C) * d + B 463 libswscale/utils.c (8 * B + 24 * C) * (1 << 30);