Lines Matching refs:block_max_depth
61 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()
458 const int w= s->b_width << s->block_max_depth; in encode_q_branch2()
459 const int rem_depth= s->block_max_depth - level; in encode_q_branch2()
481 if(level!=s->block_max_depth){ in encode_q_branch2()
516 const int block_size = MB_SIZE >> s->block_max_depth; in get_dc()
519 …t8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->blo… in get_dc()
524 const int b_stride = s->b_width << s->block_max_depth; in get_dc()
572 const int b_stride = s->b_width << s->block_max_depth; in get_block_bits()
573 const int b_height = s->b_height<< s->block_max_depth; in get_block_bits()
611 const int block_size = MB_SIZE >> s->block_max_depth; in get_block_rd()
621 const int b_stride = s->b_width << s->block_max_depth; in get_block_rd()
622 const int b_height = s->b_height<< s->block_max_depth; in get_block_rd()
713 const int block_size = MB_SIZE >> s->block_max_depth; in get_4block_rd()
716 …t8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->blo… in get_4block_rd()
724 const int b_stride = s->b_width << s->block_max_depth; in get_4block_rd()
907 const int b_stride= s->b_width << s->block_max_depth; in check_block()
953 const int b_stride= s->b_width << s->block_max_depth; in check_4block_inter()
1000 const int b_width = s->b_width << s->block_max_depth; in iterative_me()
1001 const int b_height= s->b_height << s->block_max_depth; in iterative_me()
1034 const int b_w= (MB_SIZE >> s->block_max_depth); in iterative_me()
1051 … memcpy(obmc_edged[y], ff_obmc_tab[s->block_max_depth] + y * b_w * 2, b_w * 2); in iterative_me()
1077 const int block_w= MB_SIZE >> s->block_max_depth; in iterative_me()
1078 const int block_h= MB_SIZE >> s->block_max_depth; in iterative_me()
1184 if(s->block_max_depth == 1){ in iterative_me()
1460 put_symbol(&s->c, s->header_state, s->block_max_depth - s->last_block_max_depth, 1); in encode_header()
1480 s->last_block_max_depth = s->block_max_depth; in update_last_header_values()