Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/common/
Dvp8_loopfilter.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 memset(lfi->lim[i], block_inside_limit, SIMD_WIDTH); in vp8_loop_filter_update_sharpness()
86 memset(lfi->blim[i], (2 * filt_lvl + block_inside_limit), SIMD_WIDTH); in vp8_loop_filter_update_sharpness()
87 memset(lfi->mblim[i], (2 * (filt_lvl + 2) + block_inside_limit), in vp8_loop_filter_update_sharpness()
/external/libvpx/libvpx/vp9/common/
Dvp9_loopfilter.c218 int block_inside_limit = lvl >> ((sharpness_lvl > 0) + (sharpness_lvl > 4)); in update_sharpness() local
221 if (block_inside_limit > (9 - sharpness_lvl)) in update_sharpness()
222 block_inside_limit = (9 - sharpness_lvl); in update_sharpness()
225 if (block_inside_limit < 1) in update_sharpness()
226 block_inside_limit = 1; in update_sharpness()
228 memset(lfi->lfthr[lvl].lim, block_inside_limit, SIMD_WIDTH); in update_sharpness()
229 memset(lfi->lfthr[lvl].mblim, (2 * (lvl + 2) + block_inside_limit), in update_sharpness()