Home
last modified time | relevance | path

Searched refs:filter_level (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/vp8/common/
Dvp8_loopfilter.c172 int filter_level; in vp8_loop_filter_row_normal() local
186 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal()
188 if (filter_level) { in vp8_loop_filter_row_normal()
189 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in vp8_loop_filter_row_normal()
190 lfi.mblim = lfi_n->mblim[filter_level]; in vp8_loop_filter_row_normal()
191 lfi.blim = lfi_n->blim[filter_level]; in vp8_loop_filter_row_normal()
192 lfi.lim = lfi_n->lim[filter_level]; in vp8_loop_filter_row_normal()
226 int filter_level; in vp8_loop_filter_row_simple() local
239 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_simple()
241 if (filter_level) { in vp8_loop_filter_row_simple()
[all …]
Donyxc_int.h132 int filter_level; member
Dpostproc.c275 int q = oci->filter_level * 10 / 6; in vp8_post_proc_frame()
/external/libvpx/libvpx/vp8/encoder/
Dpicklpf.c159 if (cm->filter_level < min_filter_level) { in vp8cx_pick_filter_level_fast()
160 cm->filter_level = min_filter_level; in vp8cx_pick_filter_level_fast()
161 } else if (cm->filter_level > max_filter_level) { in vp8cx_pick_filter_level_fast()
162 cm->filter_level = max_filter_level; in vp8cx_pick_filter_level_fast()
165 filt_val = cm->filter_level; in vp8cx_pick_filter_level_fast()
200 filt_val = cm->filter_level + 1 + (filt_val > 10); in vp8cx_pick_filter_level_fast()
202 if (best_filt_val == cm->filter_level) { in vp8cx_pick_filter_level_fast()
232 cm->filter_level = best_filt_val; in vp8cx_pick_filter_level_fast()
234 if (cm->filter_level < min_filter_level) cm->filter_level = min_filter_level; in vp8cx_pick_filter_level_fast()
236 if (cm->filter_level > max_filter_level) cm->filter_level = max_filter_level; in vp8cx_pick_filter_level_fast()
[all …]
Ddenoising.c681 int filter_level = 48; in vp8_denoiser_denoise_mb() local
683 int hev_index = lfi_n->hev_thr_lut[INTER_FRAME][filter_level]; in vp8_denoiser_denoise_mb()
684 lfi.mblim = lfi_n->mblim[filter_level]; in vp8_denoiser_denoise_mb()
685 lfi.blim = lfi_n->blim[filter_level]; in vp8_denoiser_denoise_mb()
686 lfi.lim = lfi_n->lim[filter_level]; in vp8_denoiser_denoise_mb()
Dratectrl.c185 cc->filter_level = cpi->common.filter_level; in vp8_save_coding_context()
219 cpi->common.filter_level = cc->filter_level; in vp8_restore_coding_context()
266 cpi->common.filter_level = cpi->common.base_qindex * 3 / 8; in vp8_setup_key_frame()
Donyx_int.h64 int filter_level; member
250 int filter_level; member
Donyx_if.c223 lc->filter_level = cpi->common.filter_level; in save_layer_context()
260 cpi->common.filter_level = lc->filter_level; in restore_layer_context()
3198 cm->filter_level = 0; in vp8_loopfilter_frame()
3235 if (cm->filter_level > 0) { in vp8_loopfilter_frame()
3236 vp8cx_set_alt_lf_level(cpi, cm->filter_level); in vp8_loopfilter_frame()
3251 if (cm->filter_level > 0 && update_any_ref_buffers) { in vp8_loopfilter_frame()
5230 cm->filter_level * 10 / 6, 1, 0); in vp8_get_compressed_data()
Dbitstream.c1174 vp8_write_literal(bc, pc->filter_level, 6); in vp8_pack_bitstream()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c169 if (i < 4 && pbi->common.filter_level) { in mt_decode_macroblock()
175 if (i % 4 == 0 && pbi->common.filter_level) { in mt_decode_macroblock()
183 if ((i == 4 || i == 8 || i == 12) && pbi->common.filter_level) { in mt_decode_macroblock()
297 int filter_level; in mt_decode_mb_rows() local
325 if (pbi->common.filter_level) { in mt_decode_mb_rows()
424 if (!pbi->common.filter_level) { in mt_decode_mb_rows()
430 if (pbi->common.filter_level) { in mt_decode_mb_rows()
440 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in mt_decode_mb_rows()
471 if (filter_level) { in mt_decode_mb_rows()
475 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in mt_decode_mb_rows()
[all …]
Ddecodeframe.c481 if (pc->filter_level) vp8_loop_filter_frame_init(pc, xd, pc->filter_level); in decode_mb_rows()
605 if (pc->filter_level) { in decode_mb_rows()
643 if (pc->filter_level) { in decode_mb_rows()
1030 pc->filter_level = vp8_read_literal(bc, 6); in vp8_decode_frame()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_picklpf.c155 if (method == LPF_PICK_MINIMAL_LPF && lf->filter_level) { in vp9_pick_filter_level()
156 lf->filter_level = 0; in vp9_pick_filter_level()
190 lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level); in vp9_pick_filter_level()
192 lf->filter_level = in vp9_pick_filter_level()
Dvp9_encoder.c2945 lf->filter_level = 0;
2960 lf->last_filt_level = lf->filter_level;
2962 lf->filter_level = 0;
2969 if (lf->filter_level > 0 && is_reference_frame) {
2970 vp9_build_mask_frame(cm, lf->filter_level, 0);
2974 lf->filter_level, 0, 0, cpi->workers,
2977 vp9_loop_filter_frame(cm->frame_to_show, cm, xd, lf->filter_level, 0, 0);
3246 cm->lf.filter_level,
Dvp9_bitstream.c700 vpx_wb_write_literal(wb, lf->filter_level, 6); in encode_loopfilter()
/external/libvpx/libvpx/vp9/common/
Dvp9_loopfilter.h71 int filter_level; member
123 struct macroblockd *mbd, int filter_level,
Dvp9_loopfilter.c658 const int filter_level = get_filter_level(lfi_n, mi); in build_masks() local
668 if (!filter_level) { in build_masks()
675 memset(&lfm->lfl_y[index], filter_level, w); in build_masks()
734 const int filter_level = get_filter_level(lfi_n, mi); in build_y_mask() local
740 if (!filter_level) { in build_y_mask()
747 memset(&lfm->lfl_y[index], filter_level, w); in build_y_mask()
1525 const int filter_level = get_filter_level(lfi_n, mi); in vp9_build_mask() local
1540 if (!filter_level) { in vp9_build_mask()
1546 memset(&lfm->lfl_y[index], filter_level, bw); in vp9_build_mask()
1614 if (cm->lf.filter_level) { in vp9_reset_lfm()
Dvp9_postproc.c297 const int q = VPXMIN(105, cm->lf.filter_level * 2); in vp9_post_proc_frame()
/external/libvpx/libvpx/test/
Dpp_filter_test.cc193 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
195 GetParam()(s, src_width, rows, cols, filter_level)); in RunFilterLevel()
307 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
309 GetParam()(s, src_width, rows, cols, filter_level)); in RunFilterLevel()
/external/skia/gm/
Dtilemodes_scaled.cpp36 static void setup(SkPaint* paint, const SkBitmap& bm, SkFilterQuality filter_level, in setup() argument
39 paint->setFilterQuality(filter_level); in setup()
/external/skqp/gm/
Dtilemodes_scaled.cpp36 static void setup(SkPaint* paint, const SkBitmap& bm, SkFilterQuality filter_level, in setup() argument
39 paint->setFilterQuality(filter_level); in setup()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c842 if (cm->lf.filter_level) { in decode_block()
1042 lf->filter_level = vpx_rb_read_literal(rb, 6); in setup_loopfilter()
1363 if (cm->lf.filter_level && !cm->skip_loop_filter && in decode_tiles()
1374 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1437 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1460 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1765 cm->lf.filter_level = 0; in read_uncompressed_header()
2055 if (cm->lf.filter_level && !cm->skip_loop_filter) { in vp9_decode_frame()
2056 vp9_loop_filter_frame_init(cm, cm->lf.filter_level); in vp9_decode_frame()
2079 vp9_loop_filter_frame_mt(new_fb, cm, pbi->mb.plane, cm->lf.filter_level, in vp9_decode_frame()