Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dloopfilter.c71 int block_inside_limit = 0; in vp8_loop_filter_update_sharpness() local
74 block_inside_limit = filt_lvl >> (sharpness_lvl > 0); in vp8_loop_filter_update_sharpness()
75 block_inside_limit = block_inside_limit >> (sharpness_lvl > 4); in vp8_loop_filter_update_sharpness()
79 if (block_inside_limit > (9 - sharpness_lvl)) in vp8_loop_filter_update_sharpness()
80 block_inside_limit = (9 - sharpness_lvl); in vp8_loop_filter_update_sharpness()
83 if (block_inside_limit < 1) in vp8_loop_filter_update_sharpness()
84 block_inside_limit = 1; in vp8_loop_filter_update_sharpness()
86 vpx_memset(lfi->lim[i], block_inside_limit, SIMD_WIDTH); in vp8_loop_filter_update_sharpness()
87 vpx_memset(lfi->blim[i], (2 * filt_lvl + block_inside_limit), in vp8_loop_filter_update_sharpness()
89 vpx_memset(lfi->mblim[i], (2 * (filt_lvl + 2) + block_inside_limit), in vp8_loop_filter_update_sharpness()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_loopfilter.c215 int block_inside_limit = lvl >> ((sharpness_lvl > 0) + (sharpness_lvl > 4)); in update_sharpness() local
218 if (block_inside_limit > (9 - sharpness_lvl)) in update_sharpness()
219 block_inside_limit = (9 - sharpness_lvl); in update_sharpness()
222 if (block_inside_limit < 1) in update_sharpness()
223 block_inside_limit = 1; in update_sharpness()
225 vpx_memset(lfi->lfthr[lvl].lim, block_inside_limit, SIMD_WIDTH); in update_sharpness()
226 vpx_memset(lfi->lfthr[lvl].mblim, (2 * (lvl + 2) + block_inside_limit), in update_sharpness()