Home
last modified time | relevance | path

Searched refs:mbs (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dset_roi.cc55 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); in TEST() local
59 cpi.segmentation_map = reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); in TEST()
63 reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); in TEST()
64 vpx_memset(&roi_map[mbs >> 2], 1, (mbs >> 2)); in TEST()
65 vpx_memset(&roi_map[mbs >> 1], 2, (mbs >> 2)); in TEST()
66 vpx_memset(&roi_map[mbs -(mbs >> 2)], 3, (mbs >> 2)); in TEST()
78 const int mapcompare = memcmp(roi_map, cpi.segmentation_map, mbs); in TEST()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_ratectrl.c154 static int estimate_bits_at_q(int frame_kind, int q, int mbs, in estimate_bits_at_q() argument
161 return (mbs > (1 << 11)) ? (bpm >> BPER_MB_NORMBITS) * mbs in estimate_bits_at_q()
162 : (bpm * mbs) >> BPER_MB_NORMBITS; in estimate_bits_at_q()