Home
last modified time | relevance | path

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

12

/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.c157 int q = oci->filter_level * 10 / 6; in vp8_post_proc_frame()
/external/libaom/libaom/av1/encoder/
Dpicklpf.c56 int filter_level[2] = { filt_level, filt_level }; in try_filter_frame() local
57 if (plane == 0 && dir == 0) filter_level[1] = cm->lf.filter_level[1]; in try_filter_frame()
58 if (plane == 0 && dir == 1) filter_level[0] = cm->lf.filter_level[0]; in try_filter_frame()
63 cm->lf.filter_level[0] = filter_level[0]; in try_filter_frame()
64 cm->lf.filter_level[1] = filter_level[1]; in try_filter_frame()
66 case 1: cm->lf.filter_level_u = filter_level[0]; break; in try_filter_frame()
67 case 2: cm->lf.filter_level_v = filter_level[0]; break; in try_filter_frame()
210 lf->filter_level[0] = 0; in av1_pick_filter_level()
211 lf->filter_level[1] = 0; in av1_pick_filter_level()
252 lf->filter_level[0] = clamp(filt_guess, min_filter_level, max_filter_level); in av1_pick_filter_level()
[all …]
Dencoder.c4040 lf->filter_level[0] = 0; in loopfilter_frame()
4041 lf->filter_level[1] = 0; in loopfilter_frame()
4044 if (lf->filter_level[0] || lf->filter_level[1]) { in loopfilter_frame()
5035 cm->lf.filter_level[0] = 0; in encode_frame_to_data_rate()
5036 cm->lf.filter_level[1] = 0; in encode_frame_to_data_rate()
/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.c680 int filter_level = 48; in vp8_denoiser_denoise_mb() local
682 int hev_index = lfi_n->hev_thr_lut[INTER_FRAME][filter_level]; in vp8_denoiser_denoise_mb()
683 lfi.mblim = lfi_n->mblim[filter_level]; in vp8_denoiser_denoise_mb()
684 lfi.blim = lfi_n->blim[filter_level]; in vp8_denoiser_denoise_mb()
685 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.c217 lc->filter_level = cpi->common.filter_level; in save_layer_context()
254 cpi->common.filter_level = lc->filter_level; in restore_layer_context()
3143 cm->filter_level = 0; in vp8_loopfilter_frame()
3180 if (cm->filter_level > 0) { in vp8_loopfilter_frame()
3181 vp8cx_set_alt_lf_level(cpi, cm->filter_level); in vp8_loopfilter_frame()
3196 if (cm->filter_level > 0 && update_any_ref_buffers) { in vp8_loopfilter_frame()
5172 cm->filter_level * 10 / 6, 1, 0); in vp8_get_compressed_data()
/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()
440 if (!pbi->common.filter_level) { in mt_decode_mb_rows()
446 if (pbi->common.filter_level) { in mt_decode_mb_rows()
456 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in mt_decode_mb_rows()
487 if (filter_level) { in mt_decode_mb_rows()
491 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()
1042 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()
186 lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level); in vp9_pick_filter_level()
188 lf->filter_level = in vp9_pick_filter_level()
Dvp9_encoder.c3101 lf->filter_level = 0;
3106 lf->filter_level = 0;
3121 lf->last_filt_level = lf->filter_level;
3123 lf->filter_level = 0;
3130 if (lf->filter_level > 0 && is_reference_frame) {
3131 vp9_build_mask_frame(cm, lf->filter_level, 0);
3135 lf->filter_level, 0, 0, cpi->workers,
3138 vp9_loop_filter_frame(cm->frame_to_show, cm, xd, lf->filter_level, 0, 0);
3404 cm->lf.filter_level,
/external/libvpx/libvpx/test/
Dpp_filter_test.cc252 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
254 GetParam()(s, src_width, rows, cols, filter_level)); in RunFilterLevel()
379 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
381 mb_post_proc_down_(s, src_width, rows, cols, filter_level)); in RunFilterLevel()
/external/libvpx/libvpx/vp9/common/
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()
1533 const int filter_level = get_filter_level(lfi_n, mi); in vp9_build_mask() local
1548 if (!filter_level) { in vp9_build_mask()
1554 memset(&lfm->lfl_y[index], filter_level, bw); in vp9_build_mask()
1622 if (cm->lf.filter_level) { in vp9_reset_lfm()
Dvp9_loopfilter.h71 int filter_level; member
Dvp9_postproc.c297 const int q = VPXMIN(105, cm->lf.filter_level * 2); in vp9_post_proc_frame()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c989 if (cm->lf.filter_level) { in decode_block()
1376 lf->filter_level = vpx_rb_read_literal(rb, 6); in setup_loopfilter()
1703 if (cm->lf.filter_level && !cm->skip_loop_filter && in decode_tiles()
1714 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1797 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1820 if (cm->lf.filter_level && !cm->skip_loop_filter) { in decode_tiles()
1876 if (pbi->lpf_mt_opt && cm->lf.filter_level && !cm->skip_loop_filter) { in tile_worker_hook()
1913 if (pbi->lpf_mt_opt && cm->lf.filter_level && !cm->skip_loop_filter) { in tile_worker_hook()
1928 if (pbi->lpf_mt_opt && n < tile_data->buf_end && cm->lf.filter_level && in tile_worker_hook()
1938 if (pbi->lpf_mt_opt && !tile_data->xd.corrupted && cm->lf.filter_level && in tile_worker_hook()
[all …]
/external/skia/gm/
Dtilemodes_scaled.cpp37 static void setup(SkPaint* paint, const SkBitmap& bm, SkFilterQuality filter_level, in setup() argument
40 paint->setFilterQuality(filter_level); in setup()
/external/skqp/gm/
Dtilemodes_scaled.cpp37 static void setup(SkPaint* paint, const SkBitmap& bm, SkFilterQuality filter_level, in setup() argument
40 paint->setFilterQuality(filter_level); in setup()
/external/libaom/libaom/av1/common/
Dthread_common.c220 if (plane == 0 && !(cm->lf.filter_level[0]) && !(cm->lf.filter_level[1])) in enqueue_lf_jobs()
497 if (plane == 0 && !(cm->lf.filter_level[0]) && !(cm->lf.filter_level[1])) in av1_loop_filter_frame_mt()
Dav1_loopfilter.h82 int filter_level[2]; member
Dav1_loopfilter.c469 base_level = cm->lf.filter_level[dir_idx]; in get_filter_level()
530 filt_lvl[0] = cm->lf.filter_level[0]; in av1_loop_filter_frame_init()
534 filt_lvl_r[0] = cm->lf.filter_level[1]; in av1_loop_filter_frame_init()
2368 if (plane == 0 && !(cm->lf.filter_level[0]) && !(cm->lf.filter_level[1])) in loop_filter_rows()
2406 if (plane == 0 && !(cm->lf.filter_level[0]) && !(cm->lf.filter_level[1])) in loop_filter_rows()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c2167 lf->filter_level[0] = aom_rb_read_literal(rb, 6); in setup_loopfilter()
2168 lf->filter_level[1] = aom_rb_read_literal(rb, 6); in setup_loopfilter()
2170 if (lf->filter_level[0] || lf->filter_level[1]) { in setup_loopfilter()
2585 const int no_loopfilter = !(lf->filter_level[0] || lf->filter_level[1]); in av1_set_single_tile_decoding_mode()
4921 cm->lf.filter_level[0] = 0; in read_uncompressed_header()
4922 cm->lf.filter_level[1] = 0; in read_uncompressed_header()
5329 lf->filter_level[0] = 0; in read_uncompressed_header()
5330 lf->filter_level[1] = 0; in read_uncompressed_header()
5395 cm->lf.filter_level[0] = 0; in read_uncompressed_header()
5396 cm->lf.filter_level[1] = 0; in read_uncompressed_header()
[all …]

12