Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/common/
Dvp8_loopfilter.c130 int lvl_seg = default_filt_lvl; in vp8_loop_filter_frame_init() local
139 lvl_seg = mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; in vp8_loop_filter_frame_init()
143 lvl_seg += mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; in vp8_loop_filter_frame_init()
145 lvl_seg = (lvl_seg > 0) ? ((lvl_seg > 63) ? 63: lvl_seg) : 0; in vp8_loop_filter_frame_init()
153 memset(lfi->lvl[seg][0], lvl_seg, 4 * 4 ); in vp8_loop_filter_frame_init()
161 lvl_ref = lvl_seg + mbd->ref_lf_deltas[ref]; in vp8_loop_filter_frame_init()
181 lvl_ref = lvl_seg + mbd->ref_lf_deltas[ref]; in vp8_loop_filter_frame_init()
/external/libvpx/libvpx/vp9/common/
Dvp9_loopfilter.c271 int lvl_seg = default_filt_lvl; in vp9_loop_filter_frame_init() local
274 lvl_seg = clamp(seg->abs_delta == SEGMENT_ABSDATA ? in vp9_loop_filter_frame_init()
282 memset(lfi->lvl[seg_id], lvl_seg, sizeof(lfi->lvl[seg_id])); in vp9_loop_filter_frame_init()
285 const int intra_lvl = lvl_seg + lf->ref_deltas[INTRA_FRAME] * scale; in vp9_loop_filter_frame_init()
290 const int inter_lvl = lvl_seg + lf->ref_deltas[ref] * scale in vp9_loop_filter_frame_init()