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.c56 int block_inside_limit = 0; in vp8_loop_filter_update_sharpness() local
59 block_inside_limit = filt_lvl >> (sharpness_lvl > 0); in vp8_loop_filter_update_sharpness()
60 block_inside_limit = block_inside_limit >> (sharpness_lvl > 4); in vp8_loop_filter_update_sharpness()
63 if (block_inside_limit > (9 - sharpness_lvl)) { in vp8_loop_filter_update_sharpness()
64 block_inside_limit = (9 - sharpness_lvl); in vp8_loop_filter_update_sharpness()
68 if (block_inside_limit < 1) block_inside_limit = 1; in vp8_loop_filter_update_sharpness()
70 memset(lfi->lim[i], block_inside_limit, SIMD_WIDTH); in vp8_loop_filter_update_sharpness()
71 memset(lfi->blim[i], (2 * filt_lvl + block_inside_limit), SIMD_WIDTH); in vp8_loop_filter_update_sharpness()
72 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) block_inside_limit = 1; in update_sharpness()
227 memset(lfi->lfthr[lvl].lim, block_inside_limit, SIMD_WIDTH); in update_sharpness()
228 memset(lfi->lfthr[lvl].mblim, (2 * (lvl + 2) + block_inside_limit), in update_sharpness()