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

Lines Matching refs:cid_table

134     int max_level = 1 << (ctx->cid_table->bit_depth + 2);
158 if (ctx->cid_table->ac_level[j] >> 1 == alevel &&
159 (!offset || (ctx->cid_table->ac_flags[j] & 1) && offset) &&
160 (!run || (ctx->cid_table->ac_flags[j] & 2) && run)) {
164 (ctx->cid_table->ac_codes[j] << 1) | (sign & 1);
165 ctx->vlc_bits[index] = ctx->cid_table->ac_bits[j] + 1;
167 ctx->vlc_codes[index] = ctx->cid_table->ac_codes[j];
168 ctx->vlc_bits[index] = ctx->cid_table->ac_bits[j];
176 (ctx->vlc_codes[index] << ctx->cid_table->index_bits) | offset;
177 ctx->vlc_bits[index] += ctx->cid_table->index_bits;
182 int run = ctx->cid_table->run[i];
184 ctx->run_codes[run] = ctx->cid_table->run_codes[i];
185 ctx->run_bits[run] = ctx->cid_table->run_bits[i];
197 const uint8_t *luma_weight_table = ctx->cid_table->luma_weight;
198 const uint8_t *chroma_weight_table = ctx->cid_table->chroma_weight;
211 if (ctx->cid_table->bit_depth == 8) {
214 weight_matrix[j] = ctx->cid_table->luma_weight[i];
221 weight_matrix[j] = ctx->cid_table->chroma_weight[i];
279 ctx->frame_bits = (ctx->cid_table->coding_unit_size -
317 ctx->cid_table = &ff_dnxhd_cid_table[index];
323 avctx->bits_per_raw_sample = ctx->cid_table->bit_depth;
336 if (ctx->cid_table->bit_depth == 10) {
426 buf[0x21] = ctx->cid_table->bit_depth == 10 ? 0x58 : 0x38;
451 put_bits(&ctx->m.pb, ctx->cid_table->dc_bits[nbits] + nbits,
452 (ctx->cid_table->dc_codes[nbits] << nbits) +
490 weight_matrix = (n & 2) ? ctx->cid_table->chroma_weight
491 : ctx->cid_table->luma_weight;
499 if (ctx->cid_table->bit_depth == 10) {
511 if (ctx->cid_table->bit_depth == 10) {
622 ctx->m.last_dc[2] = 1 << (ctx->cid_table->bit_depth + 2);
649 av_assert1(nbits < ctx->cid_table->bit_depth + 4);
650 dc_bits += ctx->cid_table->dc_bits[nbits] + nbits;
678 ctx->m.last_dc[2] = 1 << (ctx->cid_table->bit_depth + 2);
732 if (ctx->cid_table->bit_depth == 8) {
1051 if ((ret = ff_alloc_packet2(avctx, pkt, ctx->cid_table->frame_size)) < 0)
1087 av_assert1(640 + offset + 4 <= ctx->cid_table->coding_unit_size);
1089 ctx->cid_table->coding_unit_size - 4 - offset - 640);
1091 AV_WB32(buf + ctx->cid_table->coding_unit_size - 4, 0x600DC0DE); // EOF
1096 buf += ctx->cid_table->coding_unit_size;
1110 int max_level = 1 << (ctx->cid_table->bit_depth + 2);