Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/common/
Dloopfilter.c70 int block_inside_limit = 0; in vp8_loop_filter_update_sharpness() local
73 block_inside_limit = filt_lvl >> (sharpness_lvl > 0); in vp8_loop_filter_update_sharpness()
74 block_inside_limit = block_inside_limit >> (sharpness_lvl > 4); in vp8_loop_filter_update_sharpness()
78 if (block_inside_limit > (9 - sharpness_lvl)) in vp8_loop_filter_update_sharpness()
79 block_inside_limit = (9 - sharpness_lvl); in vp8_loop_filter_update_sharpness()
82 if (block_inside_limit < 1) in vp8_loop_filter_update_sharpness()
83 block_inside_limit = 1; in vp8_loop_filter_update_sharpness()
85 vpx_memset(lfi->lim[i], block_inside_limit, SIMD_WIDTH); in vp8_loop_filter_update_sharpness()
86 vpx_memset(lfi->blim[i], (2 * filt_lvl + block_inside_limit), in vp8_loop_filter_update_sharpness()
88 vpx_memset(lfi->mblim[i], (2 * (filt_lvl + 2) + block_inside_limit), in vp8_loop_filter_update_sharpness()
/external/libvpx/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()