Searched refs:lvl_seg (Results 1 – 3 of 3) sorted by relevance
/external/libvpx/libvpx/vp8/common/ |
D | vp8_loopfilter.c | 109 int lvl_seg = default_filt_lvl; in vp8_loop_filter_frame_init() local 115 lvl_seg = mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; in vp8_loop_filter_frame_init() 117 lvl_seg += mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; in vp8_loop_filter_frame_init() 119 lvl_seg = (lvl_seg > 0) ? ((lvl_seg > 63) ? 63 : lvl_seg) : 0; in vp8_loop_filter_frame_init() 126 memset(lfi->lvl[seg][0], lvl_seg, 4 * 4); in vp8_loop_filter_frame_init() 134 lvl_ref = lvl_seg + mbd->ref_lf_deltas[ref]; in vp8_loop_filter_frame_init() 153 lvl_ref = lvl_seg + mbd->ref_lf_deltas[ref]; in vp8_loop_filter_frame_init()
|
/external/libaom/libaom/av1/common/ |
D | av1_loopfilter.c | 474 int lvl_seg = clamp(delta_lf + base_level, 0, MAX_LOOP_FILTER); in get_filter_level() local 479 lvl_seg = clamp(lvl_seg + data, 0, MAX_LOOP_FILTER); in get_filter_level() 483 const int scale = 1 << (lvl_seg >> 5); in get_filter_level() 484 lvl_seg += cm->lf.ref_deltas[mbmi->ref_frame[0]] * scale; in get_filter_level() 486 lvl_seg += cm->lf.mode_deltas[mode_lf_lut[mbmi->mode]] * scale; in get_filter_level() 487 lvl_seg = clamp(lvl_seg, 0, MAX_LOOP_FILTER); in get_filter_level() 489 return lvl_seg; in get_filter_level() 551 int lvl_seg = (dir == 0) ? filt_lvl[plane] : filt_lvl_r[plane]; in av1_loop_filter_frame_init() local 555 lvl_seg = clamp(lvl_seg + data, 0, MAX_LOOP_FILTER); in av1_loop_filter_frame_init() 561 memset(lfi->lvl[plane][seg_id][dir], lvl_seg, in av1_loop_filter_frame_init() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_loopfilter.c | 269 int lvl_seg = default_filt_lvl; in vp9_loop_filter_frame_init() local 272 lvl_seg = clamp( in vp9_loop_filter_frame_init() 280 memset(lfi->lvl[seg_id], lvl_seg, sizeof(lfi->lvl[seg_id])); in vp9_loop_filter_frame_init() 283 const int intra_lvl = lvl_seg + lf->ref_deltas[INTRA_FRAME] * scale; in vp9_loop_filter_frame_init() 288 const int inter_lvl = lvl_seg + lf->ref_deltas[ref] * scale + in vp9_loop_filter_frame_init()
|