Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c103 int enumerator = frame_type == KEY_FRAME ? 3300000 : 2250000; in vp9_rc_bits_per_mb()
192 rc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in vp9_rc_init()
195 rc->avg_frame_qindex[KEY_FRAME] = (oxcf->worst_allowed_q + in vp9_rc_init()
201 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_rc_init()
278 if (cpi->common.frame_type == KEY_FRAME) { in get_rate_correction_factor()
297 if (cpi->common.frame_type == KEY_FRAME) { in set_rate_correction_factor()
442 if (cpi->common.frame_type == KEY_FRAME) { in calc_active_worst_quality_one_pass_vbr()
444 : rc->last_q[KEY_FRAME] * 2; in calc_active_worst_quality_one_pass_vbr()
448 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 5 / 4 in calc_active_worst_quality_one_pass_vbr()
451 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 2 in calc_active_worst_quality_one_pass_vbr()
[all …]
Dvp9_speed_features.c166 cm->frame_type == KEY_FRAME ? 0 : cpi->rc.frames_since_key; in set_rt_speed_feature()
261 sf->use_quant_fp = cm->frame_type == KEY_FRAME ? 0 : 1; in set_rt_speed_feature()
262 sf->auto_min_max_partition_size = (cm->frame_type == KEY_FRAME) ? in set_rt_speed_feature()
268 sf->force_frame_boost = cm->frame_type == KEY_FRAME || in set_rt_speed_feature()
271 sf->max_delta_qindex = (cm->frame_type == KEY_FRAME) ? 20 : 15; in set_rt_speed_feature()
289 sf->tx_size_search_method = (cm->frame_type == KEY_FRAME) ? in set_rt_speed_feature()
Dvp9_picklpf.c144 lf->sharpness_level = cm->frame_type == KEY_FRAME ? 0 in vp9_pick_filter_level()
156 if (cm->frame_type == KEY_FRAME) in vp9_pick_filter_level()
Dvp9_rd.c65 vp9_cost_tokens(cpi->intra_uv_mode_cost[KEY_FRAME], in fill_mode_costs()
124 if (cpi->oxcf.pass == 2 && (cpi->common.frame_type != KEY_FRAME)) { in vp9_compute_rd_mult()
194 cm->frame_type != KEY_FRAME) ? 0 : 1; in vp9_initialize_rd_consts()
198 if (!cpi->sf.use_nonrd_pick_mode || cm->frame_type == KEY_FRAME) { in vp9_initialize_rd_consts()
207 cm->frame_type == KEY_FRAME) { in vp9_initialize_rd_consts()
Dvp9_aq_cyclicrefresh.c188 (cm->frame_type == KEY_FRAME) || in vp9_cyclic_refresh_setup()
193 if (cm->frame_type == KEY_FRAME) in vp9_cyclic_refresh_setup()
Dvp9_firstpass.c391 cm->frame_type = KEY_FRAME; in set_first_pass_params()
1390 key_frame = cpi->common.frame_type == KEY_FRAME || in allocate_gf_group_bits()
1550 if (cpi->common.frame_type != KEY_FRAME) { in define_gf_group()
1568 if (cpi->common.frame_type == KEY_FRAME || rc->source_alt_ref_active) in define_gf_group()
1675 if (cpi->common.frame_type == KEY_FRAME || rc->source_alt_ref_active) in define_gf_group()
1733 } else if (cpi->common.frame_type != KEY_FRAME) { in define_gf_group()
1746 if (cpi->common.frame_type != KEY_FRAME) { in define_gf_group()
1849 cpi->common.frame_type = KEY_FRAME; in find_next_key_frame()
2210 lc->is_key_frame = (cm->frame_type == KEY_FRAME); in vp9_rc_get_second_pass_params()
2246 if (cpi->common.frame_type == KEY_FRAME) in vp9_rc_get_second_pass_params()
[all …]
Dvp9_aq_complexity.c39 if (cm->frame_type == KEY_FRAME || in vp9_setup_in_frame_q_adj()
Dvp9_aq_variance.c83 if (cm->frame_type == KEY_FRAME || in vp9_vaq_frame_setup()
Dvp9_svc_layercontext.c59 lrc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
61 lrc->avg_frame_qindex[KEY_FRAME] = (oxcf->worst_allowed_q + in vp9_init_layer_context()
Dvp9_encoder.c130 if (cm->frame_type == KEY_FRAME) { in setup_frame()
260 if (cm->frame_type == KEY_FRAME) { in configure_static_seg_features()
1474 (cm->frame_type == KEY_FRAME || in recode_loop_test()
1497 if (cm->frame_type == KEY_FRAME) { in vp9_update_reference_frames()
1787 if ((cm->frame_type == KEY_FRAME) && in encode_with_recode_loop()
2124 cm->frame_type != KEY_FRAME) { in encode_frame_to_data_rate()
2194 if (cm->frame_type == KEY_FRAME) in encode_frame_to_data_rate()
2262 if (cm->frame_type == KEY_FRAME) { in encode_frame_to_data_rate()
2396 return cm->frame_type == KEY_FRAME || in frame_is_reference()
2648 if (cm->frame_type == KEY_FRAME) { in vp9_get_compressed_data()
/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c873 if (cpi->common.frame_type == KEY_FRAME) in independent_coef_context_savings()
900 if (cpi->common.frame_type != KEY_FRAME || in independent_coef_context_savings()
901 (cpi->common.frame_type == KEY_FRAME && newp != oldp)) in independent_coef_context_savings()
916 cpi->common.frame_type == KEY_FRAME) in independent_coef_context_savings()
1012 if (cpi->common.frame_type != KEY_FRAME) in vp8_estimate_entropy_savings()
1061 if (cpi->common.frame_type == KEY_FRAME) in vp8_update_coef_context()
1152 cpi->common.frame_type == KEY_FRAME && newp != *Pold) in vp8_update_coef_probs()
1298 if (oh.type == KEY_FRAME) in vp8_pack_bitstream()
1490 if (pc->frame_type != KEY_FRAME) in vp8_pack_bitstream()
1517 if (pc->frame_type == KEY_FRAME) in vp8_pack_bitstream()
[all …]
Dratectrl.c929 ((cpi->common.frame_type != KEY_FRAME))) in calc_pframe_target_size()
1113 if (cpi->common.frame_type == KEY_FRAME) in vp8_update_rate_correction_factors()
1194 if (cpi->common.frame_type == KEY_FRAME) in vp8_update_rate_correction_factors()
1219 if (cpi->common.frame_type == KEY_FRAME) in vp8_regulate_q()
1243 if (cpi->common.frame_type == KEY_FRAME) in vp8_regulate_q()
1296 if (cpi->common.frame_type == KEY_FRAME) in vp8_regulate_q()
1461 if (cpi->common.frame_type == KEY_FRAME) in vp8_compute_frame_size_bounds()
1541 if (cm->frame_type == KEY_FRAME) in vp8_pick_frame_size()
Donyx_if.c586 if (cpi->common.frame_type != KEY_FRAME) in cyclic_background_refresh()
2841 if ((cm->frame_type != KEY_FRAME) && !cpi->source_alt_ref_active) in update_golden_frame_stats()
2924 if (cm->frame_type == KEY_FRAME) in update_rd_ref_frame_probs()
3101 ( (cm->frame_type == KEY_FRAME) || in recode_loop_test()
3144 if (cm->frame_type == KEY_FRAME) in update_reference_frames()
3271 if (cm->frame_type == KEY_FRAME) in update_reference_frames()
3403 cm->frame_type = KEY_FRAME; /* delayed intra frame */ in encode_frame_to_data_rate()
3463 cm->frame_type = KEY_FRAME; in encode_frame_to_data_rate()
3477 if(cm->frame_type != KEY_FRAME) in encode_frame_to_data_rate()
3498 if (cm->frame_type == KEY_FRAME) in encode_frame_to_data_rate()
[all …]
Dmr_dissim.c75 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity()
82 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity()
Dsegmentation.c23 if ((cm->frame_type == KEY_FRAME) || (cm->refresh_golden_frame)) in vp8_update_gf_useage_maps()
Dpicklpf.c151 if (cm->frame_type == KEY_FRAME) in vp8cx_pick_filter_level_fast()
295 if (cm->frame_type == KEY_FRAME) in vp8cx_pick_filter_level()
Dencodeframe.c500 if (cm->frame_type == KEY_FRAME) in encode_mb_row()
641 if (cm->frame_type == KEY_FRAME) in init_encode_frame_mb_context()
1003 if (cm->frame_type == KEY_FRAME) in vp8_encode_frame()
1028 if ((cm->frame_type != KEY_FRAME) && ((cpi->oxcf.number_of_layers > 1) || in vp8_encode_frame()
1129 const int is_key = cpi->common.frame_type == KEY_FRAME; in sum_intra_stats()
Dfirstpass.c1791 if (cpi->common.frame_type == KEY_FRAME) in define_gf_group()
2150 for (i = 0; i <= (cpi->source_alt_ref_pending && cpi->common.frame_type != KEY_FRAME); i++) { in define_gf_group()
2262 if (i == 1 || (!cpi->source_alt_ref_pending && (cpi->common.frame_type != KEY_FRAME))) in define_gf_group()
2282 if (!cpi->source_alt_ref_pending && cpi->common.frame_type != KEY_FRAME) in define_gf_group()
2326 if (cpi->common.frame_type != KEY_FRAME) in define_gf_group()
2479 if (cpi->source_alt_ref_pending && (cpi->common.frame_type != KEY_FRAME)) in vp8_second_pass()
2505 if (cpi->common.frame_type != KEY_FRAME) in vp8_second_pass()
2738 cpi->common.frame_type = KEY_FRAME; in find_next_key_frame()
/external/libvpx/libvpx/vp8/common/
Dloopfilter.c27 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 2; in lf_init_lut()
32 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 1; in lf_init_lut()
37 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 1; in lf_init_lut()
42 lfi->hev_thr_lut[KEY_FRAME][filt_lvl] = 0; in lf_init_lut()
Dblockd.h70 KEY_FRAME = 0, enumerator
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c916 if (pc->frame_type == KEY_FRAME) in init_frame()
1045 if (pc->frame_type == KEY_FRAME) in vp8_decode_frame()
1078 if ((!pbi->decoded_key_frame && pc->frame_type != KEY_FRAME)) in vp8_decode_frame()
1089 if (pc->frame_type == KEY_FRAME) { in vp8_decode_frame()
1221 if (pc->frame_type != KEY_FRAME) in vp8_decode_frame()
1283 pc->refresh_last_frame = pc->frame_type == KEY_FRAME || vp8_read_bit(bc); in vp8_decode_frame()
1370 if (pc->frame_type == KEY_FRAME && in vp8_decode_frame()
Ddecodemv.c169 if(pbi->common.frame_type != KEY_FRAME) in mb_mode_mv_init()
600 else if(pbi->common.frame_type == KEY_FRAME) in decode_mb_mode_mvs()
611 if(pbi->common.frame_type == KEY_FRAME) in decode_mb_mode_mvs()
/external/libvpx/libvpx/vp9/common/
Dvp9_entropy.c782 } else if (cm->last_frame_type == KEY_FRAME) { in vp9_adapt_coef_probs()
Dvp9_blockd.h59 KEY_FRAME = 0, enumerator
Dvp9_onyxc_int.h258 return cm->frame_type == KEY_FRAME || cm->intra_only; in frame_is_intra_only()

12