Searched refs:LOG2_MB_SIZE (Results 1 - 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | snow.h | 75 #define LOG2_MB_SIZE 4 macro 76 #define MB_SIZE (1<<LOG2_MB_SIZE)
|
H A D | snowenc.c | 233 const int block_w= 1<<(LOG2_MB_SIZE - 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() 335 (1<<16)>>shift, level-LOG2_MB_SIZE+4, block_w); in encode_q_branch() 342 ref_score= c->sub_motion_search(&s->m, &ref_mx, &ref_my, ref_score, 0, 0, level-LOG2_MB_SIZE+4, block_w); in encode_q_branch() 343 ref_score= ff_get_mb_score(&s->m, ref_mx, ref_my, 0, 0, level-LOG2_MB_SIZE+4, block_w, 0); in encode_q_branch()
|
H A D | snow.c | 115 int w= AV_CEIL_RSHIFT(s->avctx->width, LOG2_MB_SIZE); in ff_snow_alloc_blocks() 116 int h= AV_CEIL_RSHIFT(s->avctx->height, LOG2_MB_SIZE); in ff_snow_alloc_blocks()
|
Completed in 7 milliseconds