Home
last modified time | relevance | path

Searched refs:KEY_FRAME (Results 1 – 25 of 57) sorted by relevance

123

/external/libaom/libaom/av1/encoder/
Dratectrl.c155 int enumerator = frame_type == KEY_FRAME ? 2700000 : 1800000; in av1_rc_bits_per_mb()
261 rc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in av1_rc_init()
264 rc->avg_frame_qindex[KEY_FRAME] = in av1_rc_init()
270 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in av1_rc_init()
371 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in get_rate_correction_factor()
398 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in set_rate_correction_factor()
622 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in calc_active_worst_quality_one_pass_vbr()
624 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_FRAME] * 2; in calc_active_worst_quality_one_pass_vbr()
629 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 5 / 4 in calc_active_worst_quality_one_pass_vbr()
632 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 2 in calc_active_worst_quality_one_pass_vbr()
[all …]
Dencode_strategy.c146 cpi->common.current_frame.frame_type == KEY_FRAME) { in update_keyframe_counters()
180 cpi->common.current_frame.frame_type == KEY_FRAME) { in update_twopass_gf_group_index()
237 frame_params->error_resilient_mode &= frame_params->frame_type != KEY_FRAME; in set_ext_overrides()
325 const int intra_only = frame_params->frame_type == KEY_FRAME || in get_current_frame_ref_type()
348 const int intra_only = frame_params->frame_type == KEY_FRAME || in choose_primary_ref_frame()
387 if (cm->current_frame.frame_type == KEY_FRAME) { in update_fb_of_context_type()
660 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in update_frame_flags()
749 if ((cm->current_frame.frame_type == KEY_FRAME && cm->show_frame) || in update_ref_frame_map()
848 if ((frame_params->frame_type == KEY_FRAME && frame_params->show_frame) || in get_refresh_frame_flags()
856 frame_params->frame_type == KEY_FRAME)) { in get_refresh_frame_flags()
[all …]
Dpass2_strategy.c579 const int key_frame = (frame_params->frame_type == KEY_FRAME); in allocate_gf_group_bits()
772 const int is_intra_only = frame_params->frame_type == KEY_FRAME || in define_gf_group()
1082 if (frame_params->frame_type != KEY_FRAME) { in define_gf_group()
1521 frame_params->frame_type = KEY_FRAME; in av1_get_second_pass_params()
1561 rc->last_q[KEY_FRAME] = (tmp_q + cpi->oxcf.best_allowed_q) / 2; in av1_get_second_pass_params()
1562 rc->avg_frame_qindex[KEY_FRAME] = rc->last_q[KEY_FRAME]; in av1_get_second_pass_params()
1578 frame_params->frame_type = KEY_FRAME; in av1_get_second_pass_params()
1614 if (frame_params->frame_type == KEY_FRAME) { in av1_get_second_pass_params()
1721 if (cpi->common.current_frame.frame_type != KEY_FRAME) { in av1_twopass_postencode_update()
Dpicklpf.c232 (cm->current_frame.frame_type == KEY_FRAME) in av1_pick_filter_level()
249 cm->current_frame.frame_type == KEY_FRAME) in av1_pick_filter_level()
Dgop_structure.c173 const int key_frame = (frame_params->frame_type == KEY_FRAME); in av1_gop_setup_structure()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c191 int enumerator = frame_type == KEY_FRAME ? 2700000 : 1800000; in vp9_rc_bits_per_mb()
365 rc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in vp9_rc_init()
368 rc->avg_frame_qindex[KEY_FRAME] = in vp9_rc_init()
374 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_rc_init()
742 FRAME_TYPE frame_type = cm->intra_only ? KEY_FRAME : cm->frame_type; in vp9_rc_update_rate_correction_factors()
824 FRAME_TYPE frame_type = cm->intra_only ? KEY_FRAME : cm->frame_type; in vp9_rc_regulate_q()
893 if (cpi->common.frame_type == KEY_FRAME) { in calc_active_worst_quality_one_pass_vbr()
895 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_FRAME] << 1; in calc_active_worst_quality_one_pass_vbr()
901 ? rc->last_q[KEY_FRAME] * 5 >> 2 in calc_active_worst_quality_one_pass_vbr()
905 ? rc->last_q[KEY_FRAME] << 1 in calc_active_worst_quality_one_pass_vbr()
[all …]
Dvp9_rd.c81 vp9_cost_tokens(cpi->intra_uv_mode_cost[KEY_FRAME][i], in fill_mode_costs()
181 if (cpi->common.frame_type != KEY_FRAME) { in vp9_compute_rd_mult_based_on_qindex()
210 if (cpi->oxcf.pass == 2 && (cpi->common.frame_type != KEY_FRAME)) { in modulate_rdmult()
327 cm->frame_type != KEY_FRAME) in vp9_initialize_rd_consts()
341 if (!cpi->sf.use_nonrd_pick_mode || cm->frame_type == KEY_FRAME) in vp9_initialize_rd_consts()
345 cm->frame_type == KEY_FRAME) { in vp9_initialize_rd_consts()
352 cm->frame_type == KEY_FRAME) { in vp9_initialize_rd_consts()
Dvp9_picklpf.c182 cpi->oxcf.content != VP9E_CONTENT_SCREEN && cm->frame_type != KEY_FRAME) in vp9_pick_filter_level()
185 if (cm->frame_type == KEY_FRAME) filt_guess -= 4; in vp9_pick_filter_level()
Dvp9_speed_features.c299 (cm->frame_type == KEY_FRAME) in set_good_speed_feature_framesize_independent()
363 if (cm->frame_type != KEY_FRAME) in set_good_speed_feature_framesize_independent()
428 const int is_keyframe = cm->frame_type == KEY_FRAME; in set_rt_speed_feature_framesize_independent()
474 (cm->frame_type == KEY_FRAME) in set_rt_speed_feature_framesize_independent()
620 if (cm->frame_type != KEY_FRAME && cpi->resize_state == ORIG && in set_rt_speed_feature_framesize_independent()
771 if (cm->frame_type != KEY_FRAME && cm->width >= 320 && cm->height >= 240) in set_rt_speed_feature_framesize_independent()
779 if (cpi->rc.is_src_frame_alt_ref && cm->frame_type != KEY_FRAME) { in set_rt_speed_feature_framesize_independent()
Dvp9_svc_layercontext.c131 lrc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in vp9_init_layer_context()
134 lrc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
136 lrc->avg_frame_qindex[KEY_FRAME] = in vp9_init_layer_context()
877 if (cpi->common.frame_type != KEY_FRAME && !cpi->ext_refresh_last_frame && in vp9_one_pass_cbr_svc_start_layer()
1131 vp9_svc_reset_temporal_layers(cpi, cpi->common.frame_type == KEY_FRAME); in vp9_svc_check_spatial_layer_sync()
1178 if (cm->frame_type == KEY_FRAME || in vp9_svc_update_ref_frame_bypass_mode()
1195 } else if (cm->frame_type == KEY_FRAME) { in vp9_svc_update_ref_frame()
Dvp9_denoiser.c474 if (frame_type == KEY_FRAME || resized != 0 || denoiser->reset || in vp9_denoiser_update_frame_info()
579 if (cm->frame_type == KEY_FRAME || in vp9_denoiser_realloc_svc()
790 FRAME_TYPE frame_type = cm->intra_only ? KEY_FRAME : cm->frame_type; in vp9_denoiser_update_ref_frame()
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c695 if (cpi->common.frame_type == KEY_FRAME) { in independent_coef_context_savings()
719 if (cpi->common.frame_type != KEY_FRAME || in independent_coef_context_savings()
720 (cpi->common.frame_type == KEY_FRAME && newp != oldp)) { in independent_coef_context_savings()
732 if (prev_coef_savings[k] > 0 || cpi->common.frame_type == KEY_FRAME) { in independent_coef_context_savings()
808 if (cpi->common.frame_type != KEY_FRAME) { in vp8_estimate_entropy_savings()
850 if (cpi->common.frame_type == KEY_FRAME) { in vp8_update_coef_context()
926 cpi->common.frame_type == KEY_FRAME && newp != *Pold) { in vp8_update_coef_probs()
1036 if (oh.type == KEY_FRAME) { in vp8_pack_bitstream()
1198 if (pc->frame_type != KEY_FRAME) { in vp8_pack_bitstream()
1223 if (pc->frame_type == KEY_FRAME) { in vp8_pack_bitstream()
[all …]
Dratectrl.c845 ((cpi->common.frame_type != KEY_FRAME))) { in calc_pframe_target_size()
1038 if (cpi->common.frame_type == KEY_FRAME) { in vp8_update_rate_correction_factors()
1115 if (cpi->common.frame_type == KEY_FRAME) { in vp8_update_rate_correction_factors()
1141 if (cpi->common.frame_type == KEY_FRAME) { in vp8_regulate_q()
1160 if (cpi->common.frame_type == KEY_FRAME) { in vp8_regulate_q()
1214 if (cpi->common.frame_type == KEY_FRAME) { in vp8_regulate_q()
1364 if (cpi->common.frame_type == KEY_FRAME) { in vp8_compute_frame_size_bounds()
1426 if (cm->frame_type == KEY_FRAME) { in vp8_pick_frame_size()
1463 if (cpi->common.frame_type != KEY_FRAME && in vp8_drop_encodedframe_overshoot()
Donyx_if.c532 if (cpi->common.frame_type != KEY_FRAME && block_count > 0) { in cyclic_background_refresh()
2593 if ((cm->frame_type != KEY_FRAME) && !cpi->source_alt_ref_active) { in update_golden_frame_stats()
2668 if (cm->frame_type == KEY_FRAME) { in update_rd_ref_frame_probs()
2827 ((cm->frame_type == KEY_FRAME) || cm->refresh_golden_frame || in recode_loop_test()
2863 if (cm->frame_type == KEY_FRAME) { in update_reference_frames()
2953 if (cm->frame_type == KEY_FRAME) { in update_reference_frames()
3152 if (cpi->oxcf.noise_sensitivity && cm->frame_type != KEY_FRAME) { in vp8_loopfilter_frame()
3166 if (cpi->oxcf.noise_sensitivity && cm->frame_type != KEY_FRAME) { in vp8_loopfilter_frame()
3238 cm->frame_type = KEY_FRAME; /* delayed intra frame */ in encode_frame_to_data_rate()
3297 cm->frame_type = KEY_FRAME; in encode_frame_to_data_rate()
[all …]
Dmr_dissim.c69 if (cm->frame_type != KEY_FRAME) { in vp8_cal_dissimilarity()
75 if (cm->frame_type != KEY_FRAME) { in vp8_cal_dissimilarity()
Dsegmentation.c21 if ((cm->frame_type == KEY_FRAME) || (cm->refresh_golden_frame)) { in vp8_update_gf_useage_maps()
Dpicklpf.c145 if (cm->frame_type == KEY_FRAME) { in vp8cx_pick_filter_level_fast()
284 if (cm->frame_type == KEY_FRAME) { in vp8cx_pick_filter_level()
Dencodeframe.c452 if (cm->frame_type == KEY_FRAME) { in encode_mb_row()
596 if (cm->frame_type == KEY_FRAME) vp8_init_mbmode_probs(cm); in init_encode_frame_mb_context()
928 if (cm->frame_type == KEY_FRAME) { in vp8_encode_frame()
950 if ((cm->frame_type != KEY_FRAME) && in vp8_encode_frame()
1033 const int is_key = cpi->common.frame_type == KEY_FRAME; in sum_intra_stats()
Dfirstpass.c1676 if (cpi->common.frame_type == KEY_FRAME) gf_group_err -= gf_first_frame_err; in define_gf_group()
2006 cpi->common.frame_type != KEY_FRAME); in define_gf_group()
2110 (cpi->common.frame_type != KEY_FRAME))) { in define_gf_group()
2128 if (!cpi->source_alt_ref_pending && cpi->common.frame_type != KEY_FRAME) { in define_gf_group()
2169 if (cpi->common.frame_type != KEY_FRAME) { in define_gf_group()
2315 if (cpi->source_alt_ref_pending && (cpi->common.frame_type != KEY_FRAME)) { in vp8_second_pass()
2338 if (cpi->common.frame_type != KEY_FRAME) { in vp8_second_pass()
2551 cpi->common.frame_type = KEY_FRAME; in find_next_key_frame()
/external/libvpx/libvpx/vp8/common/
Dvp8_loopfilter.c22 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 2; in lf_init_lut()
25 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 1; in lf_init_lut()
28 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 1; in lf_init_lut()
31 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 0; in lf_init_lut()
Dblockd.h63 typedef enum { KEY_FRAME = 0, INTER_FRAME = 1 } FRAME_TYPE; enumerator
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c824 if (pc->frame_type == KEY_FRAME) { in init_frame()
940 if (pc->frame_type == KEY_FRAME) { in vp8_decode_frame()
974 if ((!pbi->decoded_key_frame && pc->frame_type != KEY_FRAME)) { in vp8_decode_frame()
985 if (pc->frame_type == KEY_FRAME) { in vp8_decode_frame()
1108 if (pc->frame_type != KEY_FRAME) { in vp8_decode_frame()
1164 pc->refresh_last_frame = pc->frame_type == KEY_FRAME || vp8_read_bit(bc); in vp8_decode_frame()
1246 if (pc->frame_type == KEY_FRAME && !yv12_fb_new->corrupted) { in vp8_decode_frame()
Ddecodemv.c140 if (pbi->common.frame_type != KEY_FRAME) { in mb_mode_mv_init()
498 } else if (pbi->common.frame_type == KEY_FRAME) { in decode_mb_mode_mvs()
511 if (pbi->common.frame_type == KEY_FRAME) { in decode_mb_mode_mvs()
/external/libvpx/libvpx/vp9/common/
Dvp9_entropy.c1091 } else if (cm->last_frame_type == KEY_FRAME) { in vp9_adapt_coef_probs()
Dvp9_blockd.h35 KEY_FRAME = 0, enumerator

123