Lines Matching refs:bit_depth
50 int bit_depth; // 8, 10 or 0 if not initialized at all.
87 if (ff_dnxhd_cid_table[index].bit_depth != ctx->bit_depth) {
88 av_log(ctx->avctx, AV_LOG_ERROR, "bit depth mismatches %d %d\n", ff_dnxhd_cid_table[index].bit_depth, ctx->bit_depth);
100 init_vlc(&ctx->dc_vlc, DNXHD_DC_VLC_BITS, ctx->bit_depth + 4,
146 if (ctx->bit_depth != 10) {
149 ctx->bit_depth = 10;
156 if (ctx->bit_depth != 10) {
159 ctx->bit_depth = 10;
165 if (ctx->bit_depth != 8) {
168 ctx->bit_depth = 8;
327 int shift1 = ctx->bit_depth == 10;
415 ctx->last_dc[2] = 1 << (ctx->bit_depth + 2); // for levels +2^(bitdepth-1)