/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_entropymode.c | 421 static void set_default_lf_deltas(struct loopfilter *lf) { in set_default_lf_deltas() argument 422 lf->mode_ref_delta_enabled = 1; in set_default_lf_deltas() 423 lf->mode_ref_delta_update = 1; in set_default_lf_deltas() 425 lf->ref_deltas[INTRA_FRAME] = 1; in set_default_lf_deltas() 426 lf->ref_deltas[LAST_FRAME] = 0; in set_default_lf_deltas() 427 lf->ref_deltas[GOLDEN_FRAME] = -1; in set_default_lf_deltas() 428 lf->ref_deltas[ALTREF_FRAME] = -1; in set_default_lf_deltas() 430 lf->mode_deltas[0] = 0; in set_default_lf_deltas() 431 lf->mode_deltas[1] = 0; in set_default_lf_deltas() 437 struct loopfilter *const lf = &cm->lf; in vp9_setup_past_independence() local [all …]
|
D | vp9_loopfilter.c | 239 struct loopfilter *lf = &cm->lf; in vp9_loop_filter_init() local 243 update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_init() 244 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_init() 258 struct loopfilter *const lf = &cm->lf; in vp9_loop_filter_frame_init() local 262 if (lf->last_sharpness_level != lf->sharpness_level) { in vp9_loop_filter_frame_init() 263 update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_frame_init() 264 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_frame_init() 276 if (!lf->mode_ref_delta_enabled) { in vp9_loop_filter_frame_init() 282 const int intra_lvl = lvl_seg + lf->ref_deltas[INTRA_FRAME] * scale; in vp9_loop_filter_frame_init() 287 const int inter_lvl = lvl_seg + lf->ref_deltas[ref] * scale in vp9_loop_filter_frame_init() [all …]
|
D | vp9_onyxc_int.h | 167 struct loopfilter lf; member
|
D | vp9_postproc.c | 610 const int q = MIN(63, cm->lf.filter_level * 10 / 6); in vp9_post_proc_frame()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_picklpf.c | 49 struct loopfilter *const lf = &cm->lf; in search_filter_level() local 57 int filt_mid = clamp(lf->filter_level, min_filter_level, max_filter_level); in search_filter_level() 131 lf->filter_level = filt_best; in search_filter_level() 137 struct loopfilter *const lf = &cm->lf; in vp9_pick_filter_level() local 139 lf->sharpness_level = cm->frame_type == KEY_FRAME ? 0 in vp9_pick_filter_level() 151 lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level); in vp9_pick_filter_level()
|
D | vp9_bitstream.c | 683 static void encode_loopfilter(struct loopfilter *lf, in encode_loopfilter() argument 688 vp9_wb_write_literal(wb, lf->filter_level, 6); in encode_loopfilter() 689 vp9_wb_write_literal(wb, lf->sharpness_level, 3); in encode_loopfilter() 693 vp9_wb_write_bit(wb, lf->mode_ref_delta_enabled); in encode_loopfilter() 695 if (lf->mode_ref_delta_enabled) { in encode_loopfilter() 696 vp9_wb_write_bit(wb, lf->mode_ref_delta_update); in encode_loopfilter() 697 if (lf->mode_ref_delta_update) { in encode_loopfilter() 699 const int delta = lf->ref_deltas[i]; in encode_loopfilter() 700 const int changed = delta != lf->last_ref_deltas[i]; in encode_loopfilter() 703 lf->last_ref_deltas[i] = delta; in encode_loopfilter() [all …]
|
D | vp9_ratectrl.c | 126 vp9_copy(cc->last_ref_lf_deltas, cm->lf.last_ref_deltas); in vp9_save_coding_context() 127 vp9_copy(cc->last_mode_lf_deltas, cm->lf.last_mode_deltas); in vp9_save_coding_context() 148 vp9_copy(cm->lf.last_ref_deltas, cc->last_ref_lf_deltas); in vp9_restore_coding_context() 149 vp9_copy(cm->lf.last_mode_deltas, cc->last_mode_lf_deltas); in vp9_restore_coding_context()
|
D | vp9_onyx_if.c | 955 cpi->common.lf.sharpness_level = cpi->oxcf.sharpness; in vp9_change_config() 2102 struct loopfilter *lf = &cm->lf; local 2104 lf->filter_level = 0; 2118 if (lf->filter_level > 0) { 2119 vp9_loop_filter_frame(cm, xd, lf->filter_level, 0, 0); 2589 cm->lf.mode_ref_delta_update = 0; 2819 cm->lf.mode_ref_delta_update = 0; 2937 cm->lf.mode_ref_delta_update || 3271 cm->lf.filter_level * 10 / 6);
|
D | vp9_encodeframe.c | 2447 cpi->common.lf.filter_level = 0; in switch_lossless_mode()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 542 static void setup_loopfilter(struct loopfilter *lf, in setup_loopfilter() argument 544 lf->filter_level = vp9_rb_read_literal(rb, 6); in setup_loopfilter() 545 lf->sharpness_level = vp9_rb_read_literal(rb, 3); in setup_loopfilter() 549 lf->mode_ref_delta_update = 0; in setup_loopfilter() 551 lf->mode_ref_delta_enabled = vp9_rb_read_bit(rb); in setup_loopfilter() 552 if (lf->mode_ref_delta_enabled) { in setup_loopfilter() 553 lf->mode_ref_delta_update = vp9_rb_read_bit(rb); in setup_loopfilter() 554 if (lf->mode_ref_delta_update) { in setup_loopfilter() 559 lf->ref_deltas[i] = vp9_rb_read_signed_literal(rb, 6); in setup_loopfilter() 563 lf->mode_deltas[i] = vp9_rb_read_signed_literal(rb, 6); in setup_loopfilter() [all …]
|
D | vp9_decoder.c | 364 vp9_loop_filter_frame_mt(pbi, cm, &pbi->mb, cm->lf.filter_level, 0, 0); in vp9_receive_compressed_data() 366 vp9_loop_filter_frame(cm, &pbi->mb, cm->lf.filter_level, 0, 0); in vp9_receive_compressed_data()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | test-data.sha1 | 572 a34e14923d6d17b1144254d8187d7f85b700a63c vp90-2-02-size-lf-1920x1080.webm 573 e3b28ddcfaeb37fb4d132b93f92642a9ad17c22d vp90-2-02-size-lf-1920x1080.webm.md5
|
D | test.mk | 523 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-02-size-lf-1920x1080.webm 524 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-02-size-lf-1920x1080.webm.md5
|