Home
last modified time | relevance | path

Searched refs:block_max_depth (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dsnowdec.c37 const int mb_w= s->b_width << s->block_max_depth; in predict_slice_buffered()
38 const int mb_h= s->b_height << s->block_max_depth; in predict_slice_buffered()
40 int block_size = MB_SIZE >> s->block_max_depth; in predict_slice_buffered()
43 …t8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->blo… in predict_slice_buffered()
94 const int b_width = s->b_width << s->block_max_depth; in predict_slice_buffered()
159 const int w= s->b_width << s->block_max_depth; in decode_q_branch()
160 const int rem_depth= s->block_max_depth - level; in decode_q_branch()
175 if(level==s->block_max_depth || get_rac(&s->c, &s->block_state[4 + s_context])){ in decode_q_branch()
315 s->block_max_depth= 0; in decode_header()
409 s->block_max_depth+= (unsigned)get_symbol(&s->c, s->header_state, 1); in decode_header()
[all …]
Dsnow.h167 int block_max_depth; member
282 const int b_width = s->b_width << s->block_max_depth; in add_yblock()
283 const int b_height= s->b_height << s->block_max_depth; in add_yblock()
407 const int mb_w= s->b_width << s->block_max_depth; in predict_slice()
408 const int mb_h= s->b_height << s->block_max_depth; in predict_slice()
410 int block_size = MB_SIZE >> s->block_max_depth; in predict_slice()
413 …t8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->blo… in predict_slice()
457 const int mb_h= s->b_height << s->block_max_depth; in predict_plane()
464 const int w= s->b_width << s->block_max_depth; in set_blocks()
465 const int rem_depth= s->block_max_depth - level; in set_blocks()
Dsnowenc.c61 s->block_max_depth= (avctx->flags & AV_CODEC_FLAG_4MV ) ? 1 : 0; in encode_init()
152 int size= s->b_width * s->b_height << 2*s->block_max_depth; in encode_init()
238 const int w= s->b_width << s->block_max_depth; in encode_q_branch()
239 const int h= s->b_height << s->block_max_depth; in encode_q_branch()
240 const int rem_depth= s->block_max_depth - level; in encode_q_branch()
310 c->xmax = - (x+1)*block_w + (w<<(LOG2_MB_SIZE - s->block_max_depth)) + 16-3; in encode_q_branch()
311 c->ymax = - (y+1)*block_w + (h<<(LOG2_MB_SIZE - s->block_max_depth)) + 16-3; in encode_q_branch()
369 if(level!=s->block_max_depth) in encode_q_branch()
400 if(level!=s->block_max_depth) in encode_q_branch()
425 if(level!=s->block_max_depth){ in encode_q_branch()
[all …]
Dsnow.c119 s->block= av_mallocz_array(w * h, sizeof(BlockNode) << (s->block_max_depth*2)); in ff_snow_alloc_blocks()
/third_party/ffmpeg/doc/
Dsnow.txt82 block_max_depth s header_state
249 block_max_depth