cb 116 cmdutils.c void register_exit(void (*cb)(int ret)) cb 118 cmdutils.c program_exit = cb; cb 57 cmdutils.h void register_exit(void (*cb)(int ret)); cb 3968 ffmpeg.c memcounters.cb = sizeof(memcounters); cb 861 ffplay.c uint8_t *lum, *cb, *cr; cb 871 ffplay.c cb = dst->data[1] + (dsty >> 1) * dst->linesize[1]; cb 883 ffplay.c cb += skip2; cb 889 ffplay.c cb[0] = ALPHA_BLEND(a >> 2, cb[0], u, 0); cb 891 ffplay.c cb++; cb 908 ffplay.c cb[0] = ALPHA_BLEND(a1 >> 2, cb[0], u1, 1); cb 910 ffplay.c cb++; cb 918 ffplay.c cb[0] = ALPHA_BLEND(a >> 2, cb[0], u, 0); cb 925 ffplay.c cb += dst->linesize[1] - width2 - skip2; cb 930 ffplay.c cb += skip2; cb 946 ffplay.c cb[0] = ALPHA_BLEND(a1 >> 2, cb[0], u1, 1); cb 948 ffplay.c cb++; cb 980 ffplay.c cb[0] = ALPHA_BLEND(a1 >> 2, cb[0], u1, 2); cb 983 ffplay.c cb++; cb 1001 ffplay.c cb[0] = ALPHA_BLEND(a1 >> 2, cb[0], u1, 1); cb 1003 ffplay.c cb++; cb 1010 ffplay.c cb += dst->linesize[1] - width2 - skip2; cb 1016 ffplay.c cb += skip2; cb 1022 ffplay.c cb[0] = ALPHA_BLEND(a >> 2, cb[0], u, 0); cb 1024 ffplay.c cb++; cb 1041 ffplay.c cb[0] = ALPHA_BLEND(a1 >> 2, cb[0], u, 1); cb 1043 ffplay.c cb++; cb 1051 ffplay.c cb[0] = ALPHA_BLEND(a >> 2, cb[0], u, 0); cb 575 libavcodec/4xm.c int cb = block[4][x + 8 * y]; cb 577 libavcodec/4xm.c int cg = (cb + cr) >> 1; cb 580 libavcodec/4xm.c cb += cb; cb 583 libavcodec/4xm.c dst[0] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cb 585 libavcodec/4xm.c dst[1] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cb 587 libavcodec/4xm.c dst[stride] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cb 589 libavcodec/4xm.c dst[1 + stride] = ((y + cb) >> 3) + (((y - cg) & 0xFC) << 3) + (((y + cr) & 0xF8) << 8); cb 109 libavcodec/aaccoder.c int cb, const float lambda, const float uplim, cb 122 libavcodec/aaccoder.c const int range = aac_cb_range[cb]; cb 123 libavcodec/aaccoder.c const int maxval = aac_cb_maxval[cb]; cb 153 libavcodec/aaccoder.c curbits = ff_aac_spectral_bits[cb-1][curidx]; cb 154 libavcodec/aaccoder.c vec = &ff_aac_codebook_vectors[cb-1][curidx*dim]; cb 186 libavcodec/aaccoder.c put_bits(pb, ff_aac_spectral_bits[cb-1][curidx], ff_aac_spectral_codes[cb-1][curidx]); cb 189 libavcodec/aaccoder.c if (ff_aac_codebook_vectors[cb-1][curidx*dim+j] != 0.0f) cb 193 libavcodec/aaccoder.c if (ff_aac_codebook_vectors[cb-1][curidx*2+j] == 64.0f) { cb 215 libavcodec/aaccoder.c int cb, const float lambda, const float uplim, \ cb 219 libavcodec/aaccoder.c BT_ESC ? ESC_BT : cb, lambda, uplim, bits, \ cb 234 libavcodec/aaccoder.c int cb, const float lambda, const float uplim, cb 251 libavcodec/aaccoder.c s, pb, in, scaled, size, scale_idx, cb, \ cb 253 libavcodec/aaccoder.c quantize_and_encode_band_cost_arr[cb]( \ cb 254 libavcodec/aaccoder.c s, pb, in, scaled, size, scale_idx, cb, \ cb 259 libavcodec/aaccoder.c int cb, const float lambda, const float uplim, cb 263 libavcodec/aaccoder.c cb, lambda, uplim, bits); cb 268 libavcodec/aaccoder.c int cb, const float lambda) cb 270 libavcodec/aaccoder.c quantize_and_encode_band_cost(s, pb, in, NULL, size, scale_idx, cb, lambda, cb 288 libavcodec/aaccoder.c int qmaxval, cb; cb 290 libavcodec/aaccoder.c if (qmaxval == 0) cb = 0; cb 291 libavcodec/aaccoder.c else if (qmaxval == 1) cb = 1; cb 292 libavcodec/aaccoder.c else if (qmaxval == 2) cb = 3; cb 293 libavcodec/aaccoder.c else if (qmaxval <= 4) cb = 5; cb 294 libavcodec/aaccoder.c else if (qmaxval <= 7) cb = 7; cb 295 libavcodec/aaccoder.c else if (qmaxval <= 12) cb = 9; cb 296 libavcodec/aaccoder.c else cb = 11; cb 297 libavcodec/aaccoder.c return cb; cb 316 libavcodec/aaccoder.c int w, swb, cb, start, size; cb 328 libavcodec/aaccoder.c for (cb = 0; cb < 12; cb++) { cb 329 libavcodec/aaccoder.c path[0][cb].cost = 0.0f; cb 330 libavcodec/aaccoder.c path[0][cb].prev_idx = -1; cb 331 libavcodec/aaccoder.c path[0][cb].run = 0; cb 336 libavcodec/aaccoder.c for (cb = 0; cb < 12; cb++) { cb 337 libavcodec/aaccoder.c path[swb+1][cb].prev_idx = cb; cb 338 libavcodec/aaccoder.c path[swb+1][cb].cost = path[swb][cb].cost; cb 339 libavcodec/aaccoder.c path[swb+1][cb].run = path[swb][cb].run + 1; cb 346 libavcodec/aaccoder.c for (cb = 0; cb < 12; cb++) { cb 353 libavcodec/aaccoder.c sce->sf_idx[(win+w)*16+swb], cb, cb 356 libavcodec/aaccoder.c cost_stay_here = path[swb][cb].cost + rd; cb 358 libavcodec/aaccoder.c if ( run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run] cb 359 libavcodec/aaccoder.c != run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run+1]) cb 362 libavcodec/aaccoder.c path[swb+1][cb].prev_idx = mincb; cb 363 libavcodec/aaccoder.c path[swb+1][cb].cost = cost_get_here; cb 364 libavcodec/aaccoder.c path[swb+1][cb].run = 1; cb 366 libavcodec/aaccoder.c path[swb+1][cb].prev_idx = cb; cb 367 libavcodec/aaccoder.c path[swb+1][cb].cost = cost_stay_here; cb 368 libavcodec/aaccoder.c path[swb+1][cb].run = path[swb][cb].run + 1; cb 370 libavcodec/aaccoder.c if (path[swb+1][cb].cost < next_minrd) { cb 371 libavcodec/aaccoder.c next_minrd = path[swb+1][cb].cost; cb 372 libavcodec/aaccoder.c next_mincb = cb; cb 382 libavcodec/aaccoder.c for (cb = 1; cb < 12; cb++) cb 383 libavcodec/aaccoder.c if (path[max_sfb][cb].cost < path[max_sfb][idx].cost) cb 384 libavcodec/aaccoder.c idx = cb; cb 387 libavcodec/aaccoder.c cb = idx; cb 388 libavcodec/aaccoder.c stackrun[stack_len] = path[ppos][cb].run; cb 389 libavcodec/aaccoder.c stackcb [stack_len] = cb; cb 390 libavcodec/aaccoder.c idx = path[ppos-path[ppos][cb].run+1][cb].prev_idx; cb 391 libavcodec/aaccoder.c ppos -= path[ppos][cb].run; cb 417 libavcodec/aaccoder.c int w, swb, cb, start, size; cb 429 libavcodec/aaccoder.c for (cb = 0; cb < 12; cb++) { cb 430 libavcodec/aaccoder.c path[0][cb].cost = run_bits+4; cb 431 libavcodec/aaccoder.c path[0][cb].prev_idx = -1; cb 432 libavcodec/aaccoder.c path[0][cb].run = 0; cb 453 libavcodec/aaccoder.c for (cb = 1; cb < 12; cb++) { cb 454 libavcodec/aaccoder.c path[swb+1][cb].cost = 61450; cb 455 libavcodec/aaccoder.c path[swb+1][cb].prev_idx = -1; cb 456 libavcodec/aaccoder.c path[swb+1][cb].run = 0; cb 464 libavcodec/aaccoder.c for (cb = 0; cb < startcb; cb++) { cb 465 libavcodec/aaccoder.c path[swb+1][cb].cost = 61450; cb 466 libavcodec/aaccoder.c path[swb+1][cb].prev_idx = -1; cb 467 libavcodec/aaccoder.c path[swb+1][cb].run = 0; cb 469 libavcodec/aaccoder.c for (cb = startcb; cb < 12; cb++) { cb 475 libavcodec/aaccoder.c sce->sf_idx[(win+w)*16+swb], cb, cb 478 libavcodec/aaccoder.c cost_stay_here = path[swb][cb].cost + bits; cb 480 libavcodec/aaccoder.c if ( run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run] cb 481 libavcodec/aaccoder.c != run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run+1]) cb 484 libavcodec/aaccoder.c path[swb+1][cb].prev_idx = mincb; cb 485 libavcodec/aaccoder.c path[swb+1][cb].cost = cost_get_here; cb 486 libavcodec/aaccoder.c path[swb+1][cb].run = 1; cb 488 libavcodec/aaccoder.c path[swb+1][cb].prev_idx = cb; cb 489 libavcodec/aaccoder.c path[swb+1][cb].cost = cost_stay_here; cb 490 libavcodec/aaccoder.c path[swb+1][cb].run = path[swb][cb].run + 1; cb 492 libavcodec/aaccoder.c if (path[swb+1][cb].cost < next_minbits) { cb 493 libavcodec/aaccoder.c next_minbits = path[swb+1][cb].cost; cb 494 libavcodec/aaccoder.c next_mincb = cb; cb 504 libavcodec/aaccoder.c for (cb = 1; cb < 12; cb++) cb 505 libavcodec/aaccoder.c if (path[max_sfb][cb].cost < path[max_sfb][idx].cost) cb 506 libavcodec/aaccoder.c idx = cb; cb 510 libavcodec/aaccoder.c cb = idx; cb 511 libavcodec/aaccoder.c stackrun[stack_len] = path[ppos][cb].run; cb 512 libavcodec/aaccoder.c stackcb [stack_len] = cb; cb 513 libavcodec/aaccoder.c idx = path[ppos-path[ppos][cb].run+1][cb].prev_idx; cb 514 libavcodec/aaccoder.c ppos -= path[ppos][cb].run; cb 654 libavcodec/aaccoder.c int cb = find_min_book(maxval, sce->sf_idx[w*16+g]); cb 658 libavcodec/aaccoder.c q + q0, cb, lambda / band->threshold, INFINITY, NULL); cb 785 libavcodec/aaccoder.c int cb; cb 793 libavcodec/aaccoder.c cb = find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]); cb 800 libavcodec/aaccoder.c cb, cb 55 libavcodec/aacenc.h int scale_idx, int cb, const float lambda); cb 53 libavcodec/atrac3plus.c static av_cold void build_canonical_huff(const uint8_t *cb, const uint8_t *xlat, cb 61 libavcodec/atrac3plus.c int min_len = *cb++; // get shortest codeword length cb 62 libavcodec/atrac3plus.c int max_len = *cb++; // get longest codeword length cb 65 libavcodec/atrac3plus.c for (i = *cb++; i > 0; i--) { cb 198 libavcodec/atrac3plus.c if (atrac3p_spectra_tabs[i].cb) cb 199 libavcodec/atrac3plus.c build_canonical_huff(atrac3p_spectra_tabs[i].cb, cb 1648 libavcodec/atrac3plus_data.h const uint8_t *cb; ///< pointer to the codebook descriptor cb 5253 libavcodec/avcodec.h int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); cb 61 libavcodec/cljrdec.c uint8_t *cb = &p->data[1][y * p->linesize[1]]; cb 69 libavcodec/cljrdec.c *(cb++) = get_bits(&gb, 6) << 2; cb 66 libavcodec/cljrenc.c uint8_t *cb = &p->data[1][y * p->linesize[1]]; cb 85 libavcodec/cljrenc.c put_bits(&pb, 6, (253*(*(cb++) + ((dither>>18)&3))) >> 10); cb 1064 libavcodec/dvbsubdec.c int y, cr, cb, alpha; cb 1117 libavcodec/dvbsubdec.c cb = *buf++; cb 1122 libavcodec/dvbsubdec.c cb = (buf[1] << 2) & 0xf0; cb 1131 libavcodec/dvbsubdec.c YUV_TO_RGB1_CCIR(cb, cr); cb 54 libavcodec/dvdsubdec.c int i, y, cb, cr; cb 60 libavcodec/dvdsubdec.c cb = *ycbcr++; cb 61 libavcodec/dvdsubdec.c YUV_TO_RGB1_CCIR(cb, cr); cb 604 libavcodec/dvdsubdec.c int i, y, cb, cr, r_add, g_add, b_add; cb 639 libavcodec/dvdsubdec.c cb = *++buf; cb 640 libavcodec/dvdsubdec.c YUV_TO_RGB1_CCIR(cb, cr); cb 90 libavcodec/escape124.c CodeBook cb = { 0 }; cb 93 libavcodec/escape124.c return cb; cb 96 libavcodec/escape124.c return cb; cb 97 libavcodec/escape124.c cb.blocks = av_malloc(size ? size * sizeof(MacroBlock) : 1); cb 98 libavcodec/escape124.c if (!cb.blocks) cb 99 libavcodec/escape124.c return cb; cb 101 libavcodec/escape124.c cb.depth = depth; cb 102 libavcodec/escape124.c cb.size = size; cb 110 libavcodec/escape124.c cb.blocks[i].pixels[j] = color1; cb 112 libavcodec/escape124.c cb.blocks[i].pixels[j] = color0; cb 115 libavcodec/escape124.c return cb; cb 207 libavcodec/escape130.c unsigned y[4] = { 0 }, cb = 0x10, cr = 0x10; cb 253 libavcodec/escape130.c cb = old_cb[0]; cb 277 libavcodec/escape130.c cb = get_bits(&gb, 5); cb 281 libavcodec/escape130.c cb = (cb + chroma_adjust[0][adjust_index]) & 31; cb 292 libavcodec/escape130.c *new_cb = cb; cb 143 libavcodec/fraps.c uint32_t *luma1,*luma2,*cb,*cr; cb 233 libavcodec/fraps.c cb = (uint32_t*)&f->data[2][ y * f->linesize[2] ]; cb 240 libavcodec/fraps.c *cb++ = *buf32++; cb 143 libavcodec/ivi_common.c static int ivi_create_huff_from_desc(const IVIHuffDesc *cb, VLC *vlc, int flag) cb 151 libavcodec/ivi_common.c for (i = 0; i < cb->num_rows; i++) { cb 152 libavcodec/ivi_common.c codes_per_row = 1 << cb->xbits[i]; cb 153 libavcodec/ivi_common.c not_last_row = (i != cb->num_rows - 1); cb 154 libavcodec/ivi_common.c prefix = ((1 << i) - 1) << (cb->xbits[i] + not_last_row); cb 160 libavcodec/ivi_common.c bits[pos] = i + cb->xbits[i] + not_last_row; cb 191 libavcodec/mips/aaccoder_mips.c int qmaxval, cb; cb 193 libavcodec/mips/aaccoder_mips.c if (qmaxval == 0) cb = 0; cb 194 libavcodec/mips/aaccoder_mips.c else if (qmaxval == 1) cb = 1; cb 195 libavcodec/mips/aaccoder_mips.c else if (qmaxval == 2) cb = 3; cb 196 libavcodec/mips/aaccoder_mips.c else if (qmaxval <= 4) cb = 5; cb 197 libavcodec/mips/aaccoder_mips.c else if (qmaxval <= 7) cb = 7; cb 198 libavcodec/mips/aaccoder_mips.c else if (qmaxval <= 12) cb = 9; cb 199 libavcodec/mips/aaccoder_mips.c else cb = 11; cb 200 libavcodec/mips/aaccoder_mips.c return cb; cb 209 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 216 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 217 libavcodec/mips/aaccoder_mips.c uint16_t *p_codes = (uint16_t *)ff_aac_spectral_codes[cb-1]; cb 282 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 289 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 290 libavcodec/mips/aaccoder_mips.c uint16_t *p_codes = (uint16_t *)ff_aac_spectral_codes[cb-1]; cb 374 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 381 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 382 libavcodec/mips/aaccoder_mips.c uint16_t *p_codes = (uint16_t *)ff_aac_spectral_codes[cb-1]; cb 453 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 460 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t*) ff_aac_spectral_bits[cb-1]; cb 461 libavcodec/mips/aaccoder_mips.c uint16_t *p_codes = (uint16_t*)ff_aac_spectral_codes[cb-1]; cb 547 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 554 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t*) ff_aac_spectral_bits[cb-1]; cb 555 libavcodec/mips/aaccoder_mips.c uint16_t *p_codes = (uint16_t*)ff_aac_spectral_codes[cb-1]; cb 640 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 647 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t* )ff_aac_spectral_bits[cb-1]; cb 648 libavcodec/mips/aaccoder_mips.c uint16_t *p_codes = (uint16_t*)ff_aac_spectral_codes[cb-1]; cb 649 libavcodec/mips/aaccoder_mips.c float *p_vectors = (float* )ff_aac_codebook_vectors[cb-1]; cb 654 libavcodec/mips/aaccoder_mips.c if (cb < 11) { cb 846 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 863 libavcodec/mips/aaccoder_mips.c s, pb, in, scaled, size, scale_idx, cb, \ cb 865 libavcodec/mips/aaccoder_mips.c quantize_and_encode_band_cost_arr[cb]( \ cb 866 libavcodec/mips/aaccoder_mips.c s, pb, in, scaled, size, scale_idx, cb, \ cb 871 libavcodec/mips/aaccoder_mips.c int cb, const float lambda) cb 873 libavcodec/mips/aaccoder_mips.c quantize_and_encode_band_cost(s, pb, in, NULL, size, scale_idx, cb, lambda, cb 883 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 892 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 900 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 964 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 972 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 1022 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1030 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t*)ff_aac_spectral_bits[cb-1]; cb 1096 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1104 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 1154 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1162 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 1212 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1220 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t*)ff_aac_spectral_bits[cb-1]; cb 1314 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1331 libavcodec/mips/aaccoder_mips.c s, pb, in, scaled, size, scale_idx, cb, \ cb 1333 libavcodec/mips/aaccoder_mips.c get_band_numbits_arr[cb]( \ cb 1334 libavcodec/mips/aaccoder_mips.c s, pb, in, scaled, size, scale_idx, cb, \ cb 1339 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1342 libavcodec/mips/aaccoder_mips.c return get_band_numbits(s, NULL, in, scaled, size, scale_idx, cb, lambda, uplim, bits); cb 1352 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1372 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1382 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 1383 libavcodec/mips/aaccoder_mips.c float *p_codes = (float *)ff_aac_codebook_vectors[cb-1]; cb 1485 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1495 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t*)ff_aac_spectral_bits[cb-1]; cb 1496 libavcodec/mips/aaccoder_mips.c float *p_codes = (float *)ff_aac_codebook_vectors[cb-1]; cb 1587 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1597 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 1598 libavcodec/mips/aaccoder_mips.c float *p_codes = (float *)ff_aac_codebook_vectors[cb-1]; cb 1705 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1715 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 1716 libavcodec/mips/aaccoder_mips.c float *p_codes = (float *)ff_aac_codebook_vectors[cb-1]; cb 1838 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1848 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t *)ff_aac_spectral_bits[cb-1]; cb 1849 libavcodec/mips/aaccoder_mips.c float *p_codes = (float *)ff_aac_codebook_vectors[cb-1]; cb 1971 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 1982 libavcodec/mips/aaccoder_mips.c uint8_t *p_bits = (uint8_t*)ff_aac_spectral_bits[cb-1]; cb 1983 libavcodec/mips/aaccoder_mips.c float *p_codes = (float* )ff_aac_codebook_vectors[cb-1]; cb 2105 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 2122 libavcodec/mips/aaccoder_mips.c s, pb, in, scaled, size, scale_idx, cb, \ cb 2124 libavcodec/mips/aaccoder_mips.c get_band_cost_arr[cb]( \ cb 2125 libavcodec/mips/aaccoder_mips.c s, pb, in, scaled, size, scale_idx, cb, \ cb 2130 libavcodec/mips/aaccoder_mips.c int cb, const float lambda, const float uplim, cb 2133 libavcodec/mips/aaccoder_mips.c return get_band_cost(s, NULL, in, scaled, size, scale_idx, cb, lambda, uplim, bits); cb 2210 libavcodec/mips/aaccoder_mips.c int cb; cb 2217 libavcodec/mips/aaccoder_mips.c cb = find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]); cb 2224 libavcodec/mips/aaccoder_mips.c cb, cb 2245 libavcodec/mips/aaccoder_mips.c int cb; cb 2253 libavcodec/mips/aaccoder_mips.c cb = find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]); cb 2260 libavcodec/mips/aaccoder_mips.c cb, cb 2391 libavcodec/mips/aaccoder_mips.c int w, swb, cb, start, size; cb 2403 libavcodec/mips/aaccoder_mips.c for (cb = 0; cb < 12; cb++) { cb 2404 libavcodec/mips/aaccoder_mips.c path[0][cb].cost = run_bits+4; cb 2405 libavcodec/mips/aaccoder_mips.c path[0][cb].prev_idx = -1; cb 2406 libavcodec/mips/aaccoder_mips.c path[0][cb].run = 0; cb 2427 libavcodec/mips/aaccoder_mips.c for (cb = 1; cb < 12; cb++) { cb 2428 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].cost = 61450; cb 2429 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].prev_idx = -1; cb 2430 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].run = 0; cb 2438 libavcodec/mips/aaccoder_mips.c for (cb = 0; cb < startcb; cb++) { cb 2439 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].cost = 61450; cb 2440 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].prev_idx = -1; cb 2441 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].run = 0; cb 2443 libavcodec/mips/aaccoder_mips.c for (cb = startcb; cb < 12; cb++) { cb 2449 libavcodec/mips/aaccoder_mips.c sce->sf_idx[(win+w)*16+swb], cb, cb 2452 libavcodec/mips/aaccoder_mips.c cost_stay_here = path[swb][cb].cost + bits; cb 2454 libavcodec/mips/aaccoder_mips.c if ( run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run] cb 2455 libavcodec/mips/aaccoder_mips.c != run_value_bits[sce->ics.num_windows == 8][path[swb][cb].run+1]) cb 2458 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].prev_idx = mincb; cb 2459 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].cost = cost_get_here; cb 2460 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].run = 1; cb 2462 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].prev_idx = cb; cb 2463 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].cost = cost_stay_here; cb 2464 libavcodec/mips/aaccoder_mips.c path[swb+1][cb].run = path[swb][cb].run + 1; cb 2466 libavcodec/mips/aaccoder_mips.c if (path[swb+1][cb].cost < next_minbits) { cb 2467 libavcodec/mips/aaccoder_mips.c next_minbits = path[swb+1][cb].cost; cb 2468 libavcodec/mips/aaccoder_mips.c next_mincb = cb; cb 2477 libavcodec/mips/aaccoder_mips.c for (cb = 1; cb < 12; cb++) cb 2478 libavcodec/mips/aaccoder_mips.c if (path[max_sfb][cb].cost < path[max_sfb][idx].cost) cb 2479 libavcodec/mips/aaccoder_mips.c idx = cb; cb 2483 libavcodec/mips/aaccoder_mips.c cb = idx; cb 2484 libavcodec/mips/aaccoder_mips.c stackrun[stack_len] = path[ppos][cb].run; cb 2485 libavcodec/mips/aaccoder_mips.c stackcb [stack_len] = cb; cb 2486 libavcodec/mips/aaccoder_mips.c idx = path[ppos-path[ppos][cb].run+1][cb].prev_idx; cb 2487 libavcodec/mips/aaccoder_mips.c ppos -= path[ppos][cb].run; cb 49 libavcodec/pafaudio.c int16_t cb[256]; cb 63 libavcodec/pafaudio.c cb[i] = sign_extend(AV_RL16(src + i * 2), 16); cb 67 libavcodec/pafaudio.c *output_samples++ = cb[*src++]; cb 332 libavcodec/pgssubdec.c int y, cb, cr, alpha; cb 354 libavcodec/pgssubdec.c cb = bytestream_get_byte(&buf); cb 357 libavcodec/pgssubdec.c YUV_TO_RGB1(cb, cr); cb 175 libavcodec/ra144enc.c static void create_adapt_vect(float *vect, const int16_t *cb, int lag) cb 179 libavcodec/ra144enc.c cb += BUFFERSIZE - lag; cb 181 libavcodec/ra144enc.c vect[i] = cb[i]; cb 184 libavcodec/ra144enc.c vect[lag + i] = cb[i]; cb 247 libavcodec/ra144enc.c const int8_t cb[][BLOCKSIZE], const float *ortho1, cb 258 libavcodec/ra144enc.c vect[j] = cb[i][j]; cb 282 libavcodec/roqvideoenc.c static int index_mb(uint8_t cluster[], uint8_t cb[], int numCB, cb 289 libavcodec/roqvideoenc.c int diff = squared_diff_macroblock(cluster, cb + i*dim*dim*3, dim); cb 247 libavcodec/snow.h static inline void snow_set_blocks(SnowContext *s, int level, int x, int y, int l, int cb, int cr, int mx, int my, int ref, int type){ cb 256 libavcodec/snow.h block.color[1]= cb; cb 479 libavcodec/snow.h static inline void set_blocks(SnowContext *s, int level, int x, int y, int l, int cb, int cr, int mx, int my, int ref, int type){ cb 489 libavcodec/snow.h block.color[1]= cb; cb 175 libavcodec/snowdec.c int cb= left->color[1]; cb 188 libavcodec/snowdec.c cb+= get_symbol(&s->c, &s->block_state[64], 1); cb 202 libavcodec/snowdec.c set_blocks(s, level, x, y, l, cb, cr, mx, my, ref, type); cb 239 libavcodec/snowenc.c int l,cr,cb; cb 371 libavcodec/snowenc.c cb= (sum + block_s/2)/block_s; cb 377 libavcodec/snowenc.c cb = cr = 0; cb 388 libavcodec/snowenc.c put_symbol(&ic, &i_state[64], cb-pcb, 1); cb 426 libavcodec/snowenc.c set_blocks(s, level, x, y, l, cb, cr, pmx, pmy, 0, BLOCK_INTRA); cb 269 libavcodec/twinvq.c const float *cb = mtab->lspcodebook; cb 270 libavcodec/twinvq.c const float *cb2 = cb + (1 << mtab->lsp_bit1) * mtab->n_lsp; cb 285 libavcodec/twinvq.c lsp[j] = cb[lpc_idx1 * mtab->n_lsp + j] + cb 3565 libavcodec/utils.c int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)) cb 3577 libavcodec/utils.c if (cb) { cb 3581 libavcodec/utils.c if (err = cb(&new_codec_mutex, AV_LOCK_CREATE)) { cb 3584 libavcodec/utils.c if (err = cb(&new_avformat_mutex, AV_LOCK_CREATE)) { cb 3586 libavcodec/utils.c cb(&new_codec_mutex, AV_LOCK_DESTROY); cb 3589 libavcodec/utils.c lockmgr_cb = cb; cb 78 libavcodec/vcr1.c uint8_t *cb = &p->data[1][(y >> 2) * p->linesize[1]]; cb 94 libavcodec/vcr1.c *cb++ = bytestream[3]; cb 240 libavcodec/vorbisdec.c unsigned cb; cb 261 libavcodec/vorbisdec.c for (cb = 0; cb < vc->codebook_count; ++cb) { cb 262 libavcodec/vorbisdec.c vorbis_codebook *codebook_setup = &vc->codebooks[cb]; cb 265 libavcodec/vorbisdec.c av_dlog(NULL, " %u. Codebook\n", cb); cb 269 libavcodec/vorbisdec.c " %u. Codebook setup data corrupt.\n", cb); cb 278 libavcodec/vorbisdec.c cb, codebook_setup->dimensions); cb 286 libavcodec/vorbisdec.c cb, entries); cb 142 libavcodec/vorbisenc.c static inline int put_codeword(PutBitContext *pb, vorbis_enc_codebook *cb, cb 146 libavcodec/vorbisenc.c av_assert2(entry < cb->nentries); cb 147 libavcodec/vorbisenc.c av_assert2(cb->lens[entry]); cb 148 libavcodec/vorbisenc.c if (pb->size_in_bits - put_bits_count(pb) < cb->lens[entry]) cb 150 libavcodec/vorbisenc.c put_bits(pb, cb->lens[entry], cb->codewords[entry]); cb 163 libavcodec/vorbisenc.c static int ready_codebook(vorbis_enc_codebook *cb) cb 167 libavcodec/vorbisenc.c ff_vorbis_len2vlc(cb->lens, cb->codewords, cb->nentries); cb 169 libavcodec/vorbisenc.c if (!cb->lookup) { cb 170 libavcodec/vorbisenc.c cb->pow2 = cb->dimensions = NULL; cb 172 libavcodec/vorbisenc.c int vals = cb_lookup_vals(cb->lookup, cb->ndimensions, cb->nentries); cb 173 libavcodec/vorbisenc.c cb->dimensions = av_malloc_array(cb->nentries, sizeof(float) * cb->ndimensions); cb 174 libavcodec/vorbisenc.c cb->pow2 = av_mallocz_array(cb->nentries, sizeof(float)); cb 175 libavcodec/vorbisenc.c if (!cb->dimensions || !cb->pow2) cb 177 libavcodec/vorbisenc.c for (i = 0; i < cb->nentries; i++) { cb 181 libavcodec/vorbisenc.c for (j = 0; j < cb->ndimensions; j++) { cb 183 libavcodec/vorbisenc.c if (cb->lookup == 1) cb 186 libavcodec/vorbisenc.c off = i * cb->ndimensions + j; // lookup type 2 cb 188 libavcodec/vorbisenc.c cb->dimensions[i * cb->ndimensions + j] = last + cb->min + cb->quantlist[off] * cb->delta; cb 189 libavcodec/vorbisenc.c if (cb->seq_p) cb 190 libavcodec/vorbisenc.c last = cb->dimensions[i * cb->ndimensions + j]; cb 191 libavcodec/vorbisenc.c cb->pow2[i] += cb->dimensions[i * cb->ndimensions + j] * cb->dimensions[i * cb->ndimensions + j]; cb 194 libavcodec/vorbisenc.c cb->pow2[i] /= 2.0; cb 209 libavcodec/vorbisenc.c vorbis_enc_codebook * cb; cb 215 libavcodec/vorbisenc.c cb = &venc->codebooks[rc->books[i][j]]; cb 216 libavcodec/vorbisenc.c assert(cb->ndimensions >= 2); cb 217 libavcodec/vorbisenc.c assert(cb->lookup); cb 219 libavcodec/vorbisenc.c for (j = 0; j < cb->nentries; j++) { cb 221 libavcodec/vorbisenc.c if (!cb->lens[j]) cb 223 libavcodec/vorbisenc.c a = fabs(cb->dimensions[j * cb->ndimensions]); cb 226 libavcodec/vorbisenc.c a = fabs(cb->dimensions[j * cb->ndimensions + 1]); cb 260 libavcodec/vorbisenc.c vorbis_enc_codebook *cb = &venc->codebooks[book]; cb 262 libavcodec/vorbisenc.c cb->ndimensions = cvectors[book].dim; cb 263 libavcodec/vorbisenc.c cb->nentries = cvectors[book].real_len; cb 264 libavcodec/vorbisenc.c cb->min = cvectors[book].min; cb 265 libavcodec/vorbisenc.c cb->delta = cvectors[book].delta; cb 266 libavcodec/vorbisenc.c cb->lookup = cvectors[book].lookup; cb 267 libavcodec/vorbisenc.c cb->seq_p = 0; cb 269 libavcodec/vorbisenc.c cb->lens = av_malloc_array(cb->nentries, sizeof(uint8_t)); cb 270 libavcodec/vorbisenc.c cb->codewords = av_malloc_array(cb->nentries, sizeof(uint32_t)); cb 271 libavcodec/vorbisenc.c if (!cb->lens || !cb->codewords) cb 273 libavcodec/vorbisenc.c memcpy(cb->lens, cvectors[book].clens, cvectors[book].len); cb 274 libavcodec/vorbisenc.c memset(cb->lens + cvectors[book].len, 0, cb->nentries - cvectors[book].len); cb 276 libavcodec/vorbisenc.c if (cb->lookup) { cb 277 libavcodec/vorbisenc.c vals = cb_lookup_vals(cb->lookup, cb->ndimensions, cb->nentries); cb 278 libavcodec/vorbisenc.c cb->quantlist = av_malloc_array(vals, sizeof(int)); cb 279 libavcodec/vorbisenc.c if (!cb->quantlist) cb 282 libavcodec/vorbisenc.c cb->quantlist[i] = cvectors[book].quant[i]; cb 284 libavcodec/vorbisenc.c cb->quantlist = NULL; cb 286 libavcodec/vorbisenc.c if ((ret = ready_codebook(cb)) < 0) cb 454 libavcodec/vorbisenc.c static void put_codebook_header(PutBitContext *pb, vorbis_enc_codebook *cb) cb 460 libavcodec/vorbisenc.c put_bits(pb, 16, cb->ndimensions); cb 461 libavcodec/vorbisenc.c put_bits(pb, 24, cb->nentries); cb 463 libavcodec/vorbisenc.c for (i = 1; i < cb->nentries; i++) cb 464 libavcodec/vorbisenc.c if (cb->lens[i] < cb->lens[i-1]) cb 466 libavcodec/vorbisenc.c if (i == cb->nentries) cb 471 libavcodec/vorbisenc.c int len = cb->lens[0]; cb 474 libavcodec/vorbisenc.c while (i < cb->nentries) { cb 476 libavcodec/vorbisenc.c for (j = 0; j+i < cb->nentries; j++) cb 477 libavcodec/vorbisenc.c if (cb->lens[j+i] != len) cb 479 libavcodec/vorbisenc.c put_bits(pb, ilog(cb->nentries - i), j); cb 485 libavcodec/vorbisenc.c for (i = 0; i < cb->nentries; i++) cb 486 libavcodec/vorbisenc.c if (!cb->lens[i]) cb 488 libavcodec/vorbisenc.c if (i != cb->nentries) cb 492 libavcodec/vorbisenc.c for (i = 0; i < cb->nentries; i++) { cb 494 libavcodec/vorbisenc.c put_bits(pb, 1, !!cb->lens[i]); cb 495 libavcodec/vorbisenc.c if (cb->lens[i]) cb 496 libavcodec/vorbisenc.c put_bits(pb, 5, cb->lens[i] - 1); cb 500 libavcodec/vorbisenc.c put_bits(pb, 4, cb->lookup); cb 501 libavcodec/vorbisenc.c if (cb->lookup) { cb 502 libavcodec/vorbisenc.c int tmp = cb_lookup_vals(cb->lookup, cb->ndimensions, cb->nentries); cb 503 libavcodec/vorbisenc.c int bits = ilog(cb->quantlist[0]); cb 506 libavcodec/vorbisenc.c bits = FFMAX(bits, ilog(cb->quantlist[i])); cb 508 libavcodec/vorbisenc.c put_float(pb, cb->min); cb 509 libavcodec/vorbisenc.c put_float(pb, cb->delta); cb 512 libavcodec/vorbisenc.c put_bits(pb, 1, cb->seq_p); cb 515 libavcodec/vorbisenc.c put_bits(pb, bits, cb->quantlist[i]); cb 149 libavfilter/vf_geq.c static double (*p[])(void *, double, double) = { lum, cb, cr, alpha }; cb 153 libavfilter/vf_geq.c double (*func2[])(void *, double, double) = { lum, cb, cr, alpha, p[plane], NULL }; cb 463 libavformat/avio.c int ff_check_interrupt(AVIOInterruptCB *cb) cb 466 libavformat/avio.c if (cb && cb->callback && (ret = cb->callback(cb->opaque))) cb 1681 libavformat/mov.c int y, cb, cr; cb 1685 libavformat/mov.c cb = ycbcr & 0xFF; cb 1687 libavformat/mov.c b = av_clip_uint8(1.164 * (y - 16) + 2.018 * (cb - 128)); cb 1688 libavformat/mov.c g = av_clip_uint8(1.164 * (y - 16) - 0.813 * (cr - 128) - 0.391 * (cb - 128)); cb 4738 libavformat/movenc.c int y, cb, cr; cb 4745 libavformat/movenc.c cb = av_clip_uint8(128. - 0.148 * r - 0.291 * g + 0.439 * b); cb 4748 libavformat/movenc.c return (y << 16) | (cr << 8) | cb; cb 221 libavformat/network.c AVIOInterruptCB *cb) cb 227 libavformat/network.c if (ff_check_interrupt(cb)) cb 234 libavformat/url.h int ff_check_interrupt(AVIOInterruptCB *cb); cb 36 libavutil/colorspace.h cb = (cb1) - 128;\ cb 39 libavutil/colorspace.h g_add = - FIX(0.34414*255.0/224.0) * cb - FIX(0.71414*255.0/224.0) * cr + \ cb 41 libavutil/colorspace.h b_add = FIX(1.77200*255.0/224.0) * cb + ONE_HALF;\ cb 54 libavutil/colorspace.h cb = (cb1) - 128;\ cb 57 libavutil/colorspace.h g_add = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;\ cb 58 libavutil/colorspace.h b_add = FIX(1.77200) * cb + ONE_HALF;\ cb 723 libswscale/yuv2rgb.c int64_t cb = av_clip_uint8(i-YUVRGB_TABLE_HEADROOM)*inc; cb 724 libswscale/yuv2rgb.c table[i] = y_table + elemsize * (cb >> 16); cb 734 libswscale/yuv2rgb.c int64_t cb = av_clip_uint8(i-YUVRGB_TABLE_HEADROOM)*inc; cb 735 libswscale/yuv2rgb.c table[i] = elemsize * (off + (cb >> 16)); cb 37 tests/utils.c static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb, cb 86 tests/utils.c cb[0] = ((- FIX(0.16874) * r1 - FIX(0.33126) * g1 + cb 91 tests/utils.c cb++; cb 111 tests/utils.c unsigned char *cb, *cr; cb 130 tests/utils.c cb = cb_tab; cb 135 tests/utils.c err_if(fwrite(cb, 1, w2, f) != w2); cb 137 tests/utils.c cb += w2; cb 143 tests/utils.c err_if(fwrite(cb, 1, w2, f) != w2); cb 144 tests/utils.c cb += w2;