Home
last modified time | relevance | path

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

/external/libvpx/vp8/common/
Dloopfilter.c252 int vp8_adjust_mb_lf_value(MACROBLOCKD *mbd, int filter_level) in vp8_adjust_mb_lf_value() argument
259 filter_level += mbd->ref_lf_deltas[mbmi->ref_frame]; in vp8_adjust_mb_lf_value()
266 filter_level += mbd->mode_lf_deltas[0]; in vp8_adjust_mb_lf_value()
272 filter_level += mbd->mode_lf_deltas[1]; in vp8_adjust_mb_lf_value()
276 filter_level += mbd->mode_lf_deltas[3]; in vp8_adjust_mb_lf_value()
280 filter_level += mbd->mode_lf_deltas[2]; in vp8_adjust_mb_lf_value()
284 if (filter_level > MAX_LOOP_FILTER) in vp8_adjust_mb_lf_value()
285 filter_level = MAX_LOOP_FILTER; in vp8_adjust_mb_lf_value()
286 else if (filter_level < 0) in vp8_adjust_mb_lf_value()
287 filter_level = 0; in vp8_adjust_mb_lf_value()
[all …]
Donyxc_int.h153 int filter_level; member
203 int vp8_adjust_mb_lf_value(MACROBLOCKD *mbd, int filter_level);
Dpostproc.c683 int q = oci->filter_level * 10 / 6; in vp8_post_proc_frame()
751 oci->filter_level, in vp8_post_proc_frame()
/external/libvpx/vp8/encoder/
Dpicklpf.c163 int best_filt_val = cm->filter_level; in vp8cx_pick_filter_level_fast()
179 if (cm->filter_level < min_filter_level) in vp8cx_pick_filter_level_fast()
180 cm->filter_level = min_filter_level; in vp8cx_pick_filter_level_fast()
181 else if (cm->filter_level > max_filter_level) in vp8cx_pick_filter_level_fast()
182 cm->filter_level = max_filter_level; in vp8cx_pick_filter_level_fast()
184 filt_val = cm->filter_level; in vp8cx_pick_filter_level_fast()
233 filt_val = cm->filter_level + (1 + ((filt_val > 10) ? 1 : 0)); in vp8cx_pick_filter_level_fast()
235 if (best_filt_val == cm->filter_level) in vp8cx_pick_filter_level_fast()
270 cm->filter_level = best_filt_val; in vp8cx_pick_filter_level_fast()
272 if (cm->filter_level < min_filter_level) in vp8cx_pick_filter_level_fast()
[all …]
Dratectrl.c234 cc->filter_level = cpi->common.filter_level; in vp8_save_coding_context()
272 cpi->common.filter_level = cc->filter_level; in vp8_restore_coding_context()
319 cpi->common.filter_level = cpi->common.base_qindex * 3 / 8 ; in vp8_setup_key_frame()
Donyx_int.h63 int filter_level; member
Donyx_if.c3241 cm->filter_level = 0; in loopfilter_frame()
3265 if (cm->filter_level > 0) in loopfilter_frame()
3267 vp8cx_set_alt_lf_level(cpi, cm->filter_level); in loopfilter_frame()
3268 vp8_loop_filter_frame(cm, &cpi->mb.e_mbd, cm->filter_level); in loopfilter_frame()
5150 …vp8_deblock(cm->frame_to_show, &cm->post_proc_buffer, cm->filter_level * 10 / 6, 1, 0, IF_RTCD(&cm… in vp8_get_compressed_data()
Dbitstream.c1482 vp8_write_literal(bc, pc->filter_level, 6); in vp8_pack_bitstream()
/external/libvpx/vp8/decoder/
Dthreading.c254 int filter_level; in thread_decoding_proc() local
323 if (pbi->common.filter_level) in thread_decoding_proc()
352 filter_level = pbi->mt_baseline_filter_level[Segment]; in thread_decoding_proc()
357 filter_level = vp8_adjust_mb_lf_value(xd, filter_level); in thread_decoding_proc()
360 if (filter_level) in thread_decoding_proc()
363 …dst.u_buffer, xd->dst.v_buffer, recon_y_stride, recon_uv_stride, &lfi[filter_level], pc->simpler_l… in thread_decoding_proc()
366 …dst.u_buffer, xd->dst.v_buffer, recon_y_stride, recon_uv_stride, &lfi[filter_level], pc->simpler_l… in thread_decoding_proc()
370 …dst.u_buffer, xd->dst.v_buffer, recon_y_stride, recon_uv_stride, &lfi[filter_level], pc->simpler_l… in thread_decoding_proc()
373 …dst.u_buffer, xd->dst.v_buffer, recon_y_stride, recon_uv_stride, &lfi[filter_level], pc->simpler_l… in thread_decoding_proc()
389 if (pbi->common.filter_level) in thread_decoding_proc()
[all …]
Dreconintra_mt.c31 if (pbi->common.filter_level) in vp8mt_build_intra_predictors_mby()
162 if (pbi->common.filter_level) in vp8mt_build_intra_predictors_mby_s()
300 if (pbi->common.filter_level) in vp8mt_build_intra_predictors_mbuv()
457 if (pbi->common.filter_level) in vp8mt_build_intra_predictors_mbuv_s()
622 if (num < 4 && pbi->common.filter_level) in vp8mt_predict_intra4x4()
627 if (num%4==0 && pbi->common.filter_level) in vp8mt_predict_intra4x4()
639 if ((num==4 || num==8 || num==12) && pbi->common.filter_level) in vp8mt_predict_intra4x4()
922 if (pbi->common.filter_level) in vp8mt_intra_prediction_down_copy()
Donyxd_if.c380 if(pbi->common.filter_level) in vp8dx_receive_compressed_data()
386 vp8_loop_filter_frame(cm, &pbi->mb, cm->filter_level); in vp8dx_receive_compressed_data()
Ddecodframe.c712 pc->filter_level = vp8_read_literal(bc, 6); in vp8_decode_frame()
848 …f (!(pbi->b_multithreaded_rd) || pc->multi_token_partition == ONE_PARTITION || !(pc->filter_level)) in vp8_decode_frame()
873 if(pbi->common.filter_level) in vp8_decode_frame()