Home
last modified time | relevance | path

Searched refs:block_max_depth (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dsnowdec.c34 const int mb_w= s->b_width << s->block_max_depth; in predict_slice_buffered()
35 const int mb_h= s->b_height << s->block_max_depth; in predict_slice_buffered()
37 int block_size = MB_SIZE >> s->block_max_depth; in predict_slice_buffered()
40 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth]; in predict_slice_buffered()
91 const int b_width = s->b_width << s->block_max_depth; in predict_slice_buffered()
156 const int w= s->b_width << s->block_max_depth; in decode_q_branch()
157 const int rem_depth= s->block_max_depth - level; in decode_q_branch()
172 if(level==s->block_max_depth || get_rac(&s->c, &s->block_state[4 + s_context])){ in decode_q_branch()
312 s->block_max_depth in decode_header()
[all...]
H A Dsnow.h169 int block_max_depth; member
284 const int b_width = s->b_width << s->block_max_depth; in add_yblock()
285 const int b_height= s->b_height << s->block_max_depth; in add_yblock()
409 const int mb_w= s->b_width << s->block_max_depth; in predict_slice()
410 const int mb_h= s->b_height << s->block_max_depth; in predict_slice()
412 int block_size = MB_SIZE >> s->block_max_depth; in predict_slice()
415 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth]; in predict_slice()
459 const int mb_h= s->b_height << s->block_max_depth; in predict_plane()
466 const int w= s->b_width << s->block_max_depth; in set_blocks()
[all...]
H A Dsnowenc.c55 s->block_max_depth= (avctx->flags & AV_CODEC_FLAG_4MV ) ? 1 : 0; in encode_init()
143 int size= s->b_width * s->b_height << 2*s->block_max_depth; in encode_init()
229 const int w= s->b_width << s->block_max_depth; in encode_q_branch()
230 const int h= s->b_height << s->block_max_depth; in encode_q_branch()
231 const int rem_depth= s->block_max_depth - level; in encode_q_branch()
302 c->xmax = - (x+1)*block_w + (w<<(LOG2_MB_SIZE - s->block_max_depth)) + 16-3; in encode_q_branch()
303 c->ymax = - (y+1)*block_w + (h<<(LOG2_MB_SIZE - s->block_max_depth)) + 16-3; in encode_q_branch()
366 if(level!=s->block_max_depth) in encode_q_branch()
397 if(level!=s->block_max_depth) in encode_q_branch()
422 if(level!=s->block_max_depth){ in encode_q_branch()
[all...]
H A Dsnow.c122 s->block = av_calloc(w * h, sizeof(*s->block) << (s->block_max_depth*2)); in ff_snow_alloc_blocks()

Completed in 6 milliseconds