Home
last modified time | relevance | path

Searched refs:LOG2_MB_SIZE (Results 1 – 4 of 4) sorted by relevance

/third_party/openh264/codec/processing/src/backgrounddetection/
DBackgroundDetection.cpp43 #define LOG2_MB_SIZE (4) macro
166 … (pBgdParam->pCalcRes, (j * iPicWidthInMb + i) << (LOG2_BGD_OU_SIZE - LOG2_MB_SIZE), iPicWidthInMb, in ForegroundBackgroundDivision()
/third_party/ffmpeg/libavcodec/
Dsnow.h73 #define LOG2_MB_SIZE 4 macro
74 #define MB_SIZE (1<<LOG2_MB_SIZE)
Dsnowenc.c242 const int block_w= 1<<(LOG2_MB_SIZE - 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()
338 (1<<16)>>shift, level-LOG2_MB_SIZE+4, block_w); in encode_q_branch()
345 …ore= 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()
346 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()
Dsnow.c112 int w= AV_CEIL_RSHIFT(s->avctx->width, LOG2_MB_SIZE); in ff_snow_alloc_blocks()
113 int h= AV_CEIL_RSHIFT(s->avctx->height, LOG2_MB_SIZE); in ff_snow_alloc_blocks()