Home
last modified time | relevance | path

Searched refs:cid_table (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddnxhddec.c68 const CIDEntry *cid_table; member
117 const CIDEntry *cid_table = ff_dnxhd_get_cid_table(cid); in dnxhd_init_vlc() local
119 if (!cid_table) { in dnxhd_init_vlc()
123 if (cid_table->bit_depth != bitdepth && in dnxhd_init_vlc()
124 cid_table->bit_depth != DNXHD_VARIABLE) { in dnxhd_init_vlc()
126 cid_table->bit_depth, bitdepth); in dnxhd_init_vlc()
129 ctx->cid_table = cid_table; in dnxhd_init_vlc()
137 ctx->cid_table->ac_bits, 1, 1, in dnxhd_init_vlc()
138 ctx->cid_table->ac_codes, 2, 2, 0)) < 0) in dnxhd_init_vlc()
141 ctx->cid_table->dc_bits, 1, 1, in dnxhd_init_vlc()
[all …]
Ddnxhdenc.c229 if (ctx->cid_table->ac_info[2*j+0] >> 1 == alevel && in dnxhd_init_vlc()
230 (!offset || (ctx->cid_table->ac_info[2*j+1] & 1) && offset) && in dnxhd_init_vlc()
231 (!run || (ctx->cid_table->ac_info[2*j+1] & 2) && run)) { in dnxhd_init_vlc()
235 (ctx->cid_table->ac_codes[j] << 1) | (sign & 1); in dnxhd_init_vlc()
236 ctx->vlc_bits[index] = ctx->cid_table->ac_bits[j] + 1; in dnxhd_init_vlc()
238 ctx->vlc_codes[index] = ctx->cid_table->ac_codes[j]; in dnxhd_init_vlc()
239 ctx->vlc_bits[index] = ctx->cid_table->ac_bits[j]; in dnxhd_init_vlc()
247 (ctx->vlc_codes[index] << ctx->cid_table->index_bits) | offset; in dnxhd_init_vlc()
248 ctx->vlc_bits[index] += ctx->cid_table->index_bits; in dnxhd_init_vlc()
253 int run = ctx->cid_table->run[i]; in dnxhd_init_vlc()
[all …]
Ddnxhdenc.h55 const CIDEntry *cid_table; member
/third_party/ffmpeg/libavcodec/x86/
Ddnxhdenc_init.c34 if (ctx->cid_table->bit_depth == 8) in ff_dnxhdenc_init_x86()