Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/common/
Dvp8_loopfilter.c203 int filter_level; in vp8_loop_filter_row_normal() local
218 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal()
220 if (filter_level) in vp8_loop_filter_row_normal()
222 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in vp8_loop_filter_row_normal()
223 lfi.mblim = lfi_n->mblim[filter_level]; in vp8_loop_filter_row_normal()
224 lfi.blim = lfi_n->blim[filter_level]; in vp8_loop_filter_row_normal()
225 lfi.lim = lfi_n->lim[filter_level]; in vp8_loop_filter_row_normal()
261 int filter_level; in vp8_loop_filter_row_simple() local
275 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_simple()
277 if (filter_level) in vp8_loop_filter_row_simple()
[all …]
Donyxc_int.h136 int filter_level; member
Dpostproc.c726 int q = oci->filter_level * 10 / 6; in vp8_post_proc_frame()
849 oci->filter_level, in vp8_post_proc_frame()
/external/libvpx/libvpx/vp8/encoder/
Dpicklpf.c166 if (cm->filter_level < min_filter_level) in vp8cx_pick_filter_level_fast()
167 cm->filter_level = min_filter_level; in vp8cx_pick_filter_level_fast()
168 else if (cm->filter_level > max_filter_level) in vp8cx_pick_filter_level_fast()
169 cm->filter_level = max_filter_level; in vp8cx_pick_filter_level_fast()
171 filt_val = cm->filter_level; in vp8cx_pick_filter_level_fast()
208 filt_val = cm->filter_level + 1 + (filt_val > 10); in vp8cx_pick_filter_level_fast()
210 if (best_filt_val == cm->filter_level) in vp8cx_pick_filter_level_fast()
243 cm->filter_level = best_filt_val; in vp8cx_pick_filter_level_fast()
245 if (cm->filter_level < min_filter_level) in vp8cx_pick_filter_level_fast()
246 cm->filter_level = min_filter_level; in vp8cx_pick_filter_level_fast()
[all …]
Ddenoising.c702 int filter_level = 48; in vp8_denoiser_denoise_mb() local
704 int hev_index = lfi_n->hev_thr_lut[INTER_FRAME][filter_level]; in vp8_denoiser_denoise_mb()
705 lfi.mblim = lfi_n->mblim[filter_level]; in vp8_denoiser_denoise_mb()
706 lfi.blim = lfi_n->blim[filter_level]; in vp8_denoiser_denoise_mb()
707 lfi.lim = lfi_n->lim[filter_level]; in vp8_denoiser_denoise_mb()
Dratectrl.c228 cc->filter_level = cpi->common.filter_level; in vp8_save_coding_context()
265 cpi->common.filter_level = cc->filter_level; in vp8_restore_coding_context()
313 cpi->common.filter_level = cpi->common.base_qindex * 3 / 8 ; in vp8_setup_key_frame()
Donyx_int.h69 int filter_level; member
274 int filter_level; member
Donyx_if.c232 lc->filter_level = cpi->common.filter_level; in save_layer_context()
270 cpi->common.filter_level = lc->filter_level; in restore_layer_context()
3498 cm->filter_level = 0; in vp8_loopfilter_frame()
3538 if (cm->filter_level > 0) in vp8_loopfilter_frame()
3540 vp8cx_set_alt_lf_level(cpi, cm->filter_level); in vp8_loopfilter_frame()
3554 if (cm->filter_level > 0 && update_any_ref_buffers) in vp8_loopfilter_frame()
5678 … vp8_deblock(cm, cm->frame_to_show, &cm->post_proc_buffer, cm->filter_level * 10 / 6, 1, 0); in vp8_get_compressed_data()
Dbitstream.c1400 vp8_write_literal(bc, pc->filter_level, 6); in vp8_pack_bitstream()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c199 if (i < 4 && pbi->common.filter_level) in mt_decode_macroblock()
204 if (i%4==0 && pbi->common.filter_level) in mt_decode_macroblock()
215 if ((i==4 || i==8 || i==12) && pbi->common.filter_level) in mt_decode_macroblock()
344 int filter_level; in mt_decode_mb_rows() local
371 if (pbi->common.filter_level) in mt_decode_mb_rows()
481 if (!pbi->common.filter_level) in mt_decode_mb_rows()
488 if (pbi->common.filter_level) in mt_decode_mb_rows()
498 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in mt_decode_mb_rows()
526 if (filter_level) in mt_decode_mb_rows()
532 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in mt_decode_mb_rows()
[all …]
Ddecodeframe.c550 if(pc->filter_level) in decode_mb_rows()
551 vp8_loop_filter_frame_init(pc, xd, pc->filter_level); in decode_mb_rows()
683 if(pc->filter_level) in decode_mb_rows()
730 if(pc->filter_level) in decode_mb_rows()
1153 pc->filter_level = vp8_read_literal(bc, 6); in vp8_decode_frame()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_picklpf.c81 int filt_mid = clamp(lf->filter_level, min_filter_level, max_filter_level); in search_filter_level()
159 if (method == LPF_PICK_MINIMAL_LPF && lf->filter_level) { in vp9_pick_filter_level()
160 lf->filter_level = 0; in vp9_pick_filter_level()
189 lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level); in vp9_pick_filter_level()
191 lf->filter_level = search_filter_level(sd, cpi, in vp9_pick_filter_level()
Dvp9_encoder.c2770 lf->filter_level = 0;
2784 if (lf->filter_level > 0) {
2785 vp9_build_mask_frame(cm, lf->filter_level, 0);
2789 lf->filter_level, 0, 0,
2793 vp9_loop_filter_frame(cm->frame_to_show, cm, xd, lf->filter_level, 0, 0);
4474 cm->lf.filter_level * 10 / 6);
Dvp9_bitstream.c699 vpx_wb_write_literal(wb, lf->filter_level, 6); in encode_loopfilter()
/external/libvpx/libvpx/vp9/common/
Dvp9_loopfilter.h71 int filter_level; member
128 int filter_level,
Dvp9_loopfilter.c716 const int filter_level = get_filter_level(lfi_n, mbmi); in build_masks() local
726 if (!filter_level) { in build_masks()
733 memset(&lfm->lfl_y[index], filter_level, w); in build_masks()
794 const int filter_level = get_filter_level(lfi_n, mbmi); in build_y_mask() local
800 if (!filter_level) { in build_y_mask()
807 memset(&lfm->lfl_y[index], filter_level, w); in build_y_mask()
1648 const int filter_level = get_filter_level(lfi_n, mbmi); in vp9_build_mask() local
1663 if (!filter_level) { in vp9_build_mask()
1669 memset(&lfm->lfl_y[index], filter_level, bw); in vp9_build_mask()
1737 if (cm->lf.filter_level) { in vp9_reset_lfm()
Dvp9_postproc.c629 const int q = VPXMIN(105, cm->lf.filter_level * 2); in vp9_post_proc_frame()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_dthread.c179 dst_cm->lf.filter_level = src_cm->lf.filter_level; in vp9_frameworker_copy_context()
Dvp9_decodeframe.c900 if (cm->lf.filter_level) { in decode_block()
1107 lf->filter_level = vpx_rb_read_literal(rb, 6); in setup_loopfilter()
1439 if (cm->lf.filter_level && !cm->skip_loop_filter && in decode_tiles()
1450 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1525 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1554 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1868 cm->lf.filter_level = 0; in read_uncompressed_header()
2213 if (cm->lf.filter_level && !cm->skip_loop_filter) { in vp9_decode_frame()
2214 vp9_loop_filter_frame_init(cm, cm->lf.filter_level); in vp9_decode_frame()
2243 cm->lf.filter_level, 0, 0, pbi->tile_workers, in vp9_decode_frame()
/external/skia/gm/
Dtilemodes_scaled.cpp35 static void setup(SkPaint* paint, const SkBitmap& bm, SkFilterQuality filter_level, in setup() argument
39 paint->setFilterQuality(filter_level); in setup()