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.c174 int filter_level; in vp8_loop_filter_row_normal() local
188 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal()
190 if (filter_level) { in vp8_loop_filter_row_normal()
191 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in vp8_loop_filter_row_normal()
192 lfi.mblim = lfi_n->mblim[filter_level]; in vp8_loop_filter_row_normal()
193 lfi.blim = lfi_n->blim[filter_level]; in vp8_loop_filter_row_normal()
194 lfi.lim = lfi_n->lim[filter_level]; in vp8_loop_filter_row_normal()
228 int filter_level; in vp8_loop_filter_row_simple() local
241 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_simple()
243 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.c158 if (cm->filter_level < min_filter_level) { in vp8cx_pick_filter_level_fast()
159 cm->filter_level = min_filter_level; in vp8cx_pick_filter_level_fast()
160 } else if (cm->filter_level > max_filter_level) { in vp8cx_pick_filter_level_fast()
161 cm->filter_level = max_filter_level; in vp8cx_pick_filter_level_fast()
164 filt_val = cm->filter_level; in vp8cx_pick_filter_level_fast()
199 filt_val = cm->filter_level + 1 + (filt_val > 10); in vp8cx_pick_filter_level_fast()
201 if (best_filt_val == cm->filter_level) { in vp8cx_pick_filter_level_fast()
231 cm->filter_level = best_filt_val; in vp8cx_pick_filter_level_fast()
233 if (cm->filter_level < min_filter_level) cm->filter_level = min_filter_level; in vp8cx_pick_filter_level_fast()
235 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.c221 lc->filter_level = cpi->common.filter_level; in save_layer_context()
257 cpi->common.filter_level = lc->filter_level; in restore_layer_context()
3191 cm->filter_level = 0; in vp8_loopfilter_frame()
3228 if (cm->filter_level > 0) { in vp8_loopfilter_frame()
3229 vp8cx_set_alt_lf_level(cpi, cm->filter_level); in vp8_loopfilter_frame()
3244 if (cm->filter_level > 0 && update_any_ref_buffers) { in vp8_loopfilter_frame()
5217 cm->filter_level * 10 / 6, 1, 0); in vp8_get_compressed_data()
Dbitstream.c1175 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()
296 int filter_level; in mt_decode_mb_rows() local
324 if (pbi->common.filter_level) { in mt_decode_mb_rows()
425 if (!pbi->common.filter_level) { in mt_decode_mb_rows()
431 if (pbi->common.filter_level) { in mt_decode_mb_rows()
441 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in mt_decode_mb_rows()
472 if (filter_level) { in mt_decode_mb_rows()
476 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()
1024 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.c2957 lf->filter_level = 0;
2972 lf->last_filt_level = lf->filter_level;
2974 lf->filter_level = 0;
2981 if (lf->filter_level > 0 && is_reference_frame) {
2982 vp9_build_mask_frame(cm, lf->filter_level, 0);
2986 lf->filter_level, 0, 0, cpi->workers,
2989 vp9_loop_filter_frame(cm->frame_to_show, cm, xd, lf->filter_level, 0, 0);
3236 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.cc188 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
190 GetParam()(s, src_width, rows, cols, filter_level)); in RunFilterLevel()
296 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
298 GetParam()(s, src_width, rows, cols, filter_level)); in RunFilterLevel()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_dthread.c180 dst_cm->lf.filter_level = src_cm->lf.filter_level; in vp9_frameworker_copy_context()
Dvp9_decodeframe.c858 if (cm->lf.filter_level) { in decode_block()
1058 lf->filter_level = vpx_rb_read_literal(rb, 6); in setup_loopfilter()
1383 if (cm->lf.filter_level && !cm->skip_loop_filter && in decode_tiles()
1394 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1457 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1485 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1793 cm->lf.filter_level = 0; in read_uncompressed_header()
2089 if (cm->lf.filter_level && !cm->skip_loop_filter) { in vp9_decode_frame()
2090 vp9_loop_filter_frame_init(cm, cm->lf.filter_level); in vp9_decode_frame()
2131 vp9_loop_filter_frame_mt(new_fb, cm, pbi->mb.plane, cm->lf.filter_level, in vp9_decode_frame()
/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()