Home
last modified time | relevance | path

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

123

/external/libaom/libaom/av1/encoder/
Dratectrl.c162 int enumerator = frame_type == KEY_FRAME ? 2000000 : 1500000; in av1_rc_bits_per_mb()
287 rc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in av1_rc_init()
290 rc->avg_frame_qindex[KEY_FRAME] = in av1_rc_init()
296 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in av1_rc_init()
390 if (cm->current_frame.frame_type != KEY_FRAME && !cpi->use_svc && in adjust_q_cbr()
433 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in get_rate_correction_factor()
459 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in set_rate_correction_factor()
676 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in calc_active_worst_quality_one_pass_vbr()
678 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_FRAME] * 2; in calc_active_worst_quality_one_pass_vbr()
683 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 5 / 4 in calc_active_worst_quality_one_pass_vbr()
[all …]
Dencode_strategy.c130 cpi->common.current_frame.frame_type == KEY_FRAME) { in update_keyframe_counters()
174 cpi->common.current_frame.frame_type == KEY_FRAME) { in update_gf_group_index()
207 frame_params->error_resilient_mode &= frame_params->frame_type != KEY_FRAME; in set_ext_overrides()
237 const int intra_only = frame_params->frame_type == KEY_FRAME || in choose_primary_ref_frame()
284 if (cm->current_frame.frame_type == KEY_FRAME) { in update_fb_of_context_type()
530 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in update_frame_flags()
641 if (frame_is_sframe(cm)) frame_update_type = KEY_FRAME; in av1_update_ref_frame_map()
646 case KEY_FRAME: in av1_update_ref_frame_map()
733 if ((frame_params->frame_type == KEY_FRAME && frame_params->show_frame) || in av1_get_refresh_frame_flags()
741 frame_params->frame_type == KEY_FRAME)) { in av1_get_refresh_frame_flags()
[all …]
Dpicklpf.c234 (cm->current_frame.frame_type == KEY_FRAME) in av1_pick_filter_level()
251 cm->current_frame.frame_type == KEY_FRAME) in av1_pick_filter_level()
Dpass2_strategy.c1466 if (cur_update_type == KEY_FRAME) { in define_gf_group_pass0()
1472 if (cur_update_type == KEY_FRAME) { in define_gf_group_pass0()
1565 const int is_intra_only = frame_params->frame_type == KEY_FRAME || in define_gf_group()
1859 if (frame_params->frame_type != KEY_FRAME) { in define_gf_group()
1870 frame_params->frame_type == KEY_FRAME, use_alt_ref, in define_gf_group()
2448 rc->last_q[KEY_FRAME] = (tmp_q + cpi->oxcf.best_allowed_q) / 2; in process_first_pass_stats()
2449 rc->avg_frame_qindex[KEY_FRAME] = rc->last_q[KEY_FRAME]; in process_first_pass_stats()
2524 frame_params->frame_type = KEY_FRAME; in av1_get_second_pass_params()
2555 frame_params->frame_type = KEY_FRAME; in av1_get_second_pass_params()
2830 if (cpi->common.current_frame.frame_type != KEY_FRAME) { in av1_twopass_postencode_update()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c191 int enumerator = frame_type == KEY_FRAME ? 2700000 : 1800000; in vp9_rc_bits_per_mb()
366 rc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in vp9_rc_init()
369 rc->avg_frame_qindex[KEY_FRAME] = in vp9_rc_init()
375 rc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_rc_init()
753 FRAME_TYPE frame_type = cm->intra_only ? KEY_FRAME : cm->frame_type; in vp9_rc_update_rate_correction_factors()
835 FRAME_TYPE frame_type = cm->intra_only ? KEY_FRAME : cm->frame_type; in vp9_rc_regulate_q()
904 if (cpi->common.frame_type == KEY_FRAME) { in calc_active_worst_quality_one_pass_vbr()
906 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_FRAME] << 1; in calc_active_worst_quality_one_pass_vbr()
912 ? rc->last_q[KEY_FRAME] * 5 >> 2 in calc_active_worst_quality_one_pass_vbr()
916 ? rc->last_q[KEY_FRAME] << 1 in calc_active_worst_quality_one_pass_vbr()
[all …]
Dvp9_picklpf.c30 section_intra_rating = (cpi->common.frame_type == KEY_FRAME) in get_section_intra_rating()
194 cpi->oxcf.content != VP9E_CONTENT_SCREEN && cm->frame_type != KEY_FRAME) in vp9_pick_filter_level()
197 if (cm->frame_type == KEY_FRAME) filt_guess -= 4; in vp9_pick_filter_level()
Dvp9_rd.c105 vp9_cost_tokens(cpi->intra_uv_mode_cost[KEY_FRAME][i], in fill_mode_costs()
205 if (cpi->common.frame_type != KEY_FRAME) { in vp9_compute_rd_mult_based_on_qindex()
234 if (cpi->oxcf.pass == 2 && (cpi->common.frame_type != KEY_FRAME)) { in modulate_rdmult()
360 cm->frame_type != KEY_FRAME) in vp9_initialize_rd_consts()
374 if (!cpi->sf.use_nonrd_pick_mode || cm->frame_type == KEY_FRAME) in vp9_initialize_rd_consts()
378 cm->frame_type == KEY_FRAME) { in vp9_initialize_rd_consts()
385 cm->frame_type == KEY_FRAME) { in vp9_initialize_rd_consts()
Dvp9_speed_features.c303 (cm->frame_type == KEY_FRAME) in set_good_speed_feature_framesize_independent()
367 if (cm->frame_type != KEY_FRAME) in set_good_speed_feature_framesize_independent()
433 const int is_keyframe = cm->frame_type == KEY_FRAME; in set_rt_speed_feature_framesize_independent()
484 (cm->frame_type == KEY_FRAME) in set_rt_speed_feature_framesize_independent()
622 if (cm->frame_type != KEY_FRAME && cpi->resize_state == ORIG && in set_rt_speed_feature_framesize_independent()
670 if (cm->frame_type != KEY_FRAME && cpi->resize_state == ORIG && in set_rt_speed_feature_framesize_independent()
781 if (cm->frame_type != KEY_FRAME && cm->width >= 320 && cm->height >= 240) in set_rt_speed_feature_framesize_independent()
793 if (cpi->rc.is_src_frame_alt_ref && cm->frame_type != KEY_FRAME) { in set_rt_speed_feature_framesize_independent()
Dvp9_svc_layercontext.c133 lrc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in vp9_init_layer_context()
136 lrc->last_q[KEY_FRAME] = oxcf->best_allowed_q; in vp9_init_layer_context()
138 lrc->avg_frame_qindex[KEY_FRAME] = in vp9_init_layer_context()
933 if (cpi->common.frame_type != KEY_FRAME && !cpi->ext_refresh_last_frame && in vp9_one_pass_cbr_svc_start_layer()
1195 vp9_svc_reset_temporal_layers(cpi, cpi->common.frame_type == KEY_FRAME); in vp9_svc_check_spatial_layer_sync()
1242 if (cm->frame_type == KEY_FRAME || in vp9_svc_update_ref_frame_bypass_mode()
1259 } else if (cm->frame_type == KEY_FRAME && !svc->simulcast_mode) { in vp9_svc_update_ref_frame()
1302 if (cm->frame_type == KEY_FRAME && cpi->oxcf.rc_mode == VPX_CBR && in vp9_svc_adjust_avg_frame_qindex()
/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()
1204 if (pc->frame_type != KEY_FRAME) { in vp8_pack_bitstream()
1229 if (pc->frame_type == KEY_FRAME) { in vp8_pack_bitstream()
[all …]
Dratectrl.c849 ((cpi->common.frame_type != KEY_FRAME))) { in calc_pframe_target_size()
1042 if (cpi->common.frame_type == KEY_FRAME) { in vp8_update_rate_correction_factors()
1119 if (cpi->common.frame_type == KEY_FRAME) { in vp8_update_rate_correction_factors()
1153 if (cpi->common.frame_type == KEY_FRAME) { in vp8_regulate_q()
1172 if (cpi->common.frame_type == KEY_FRAME) { in vp8_regulate_q()
1226 if (cpi->common.frame_type == KEY_FRAME) { in vp8_regulate_q()
1280 if (cpi->common.frame_type != KEY_FRAME && cpi->pass == 0 && in vp8_regulate_q()
1385 if (cpi->common.frame_type == KEY_FRAME) { in vp8_compute_frame_size_bounds()
1451 if (cm->frame_type == KEY_FRAME) { in vp8_pick_frame_size()
1488 if (cpi->common.frame_type != KEY_FRAME && in vp8_drop_encodedframe_overshoot()
Donyx_if.c533 if (cpi->common.frame_type != KEY_FRAME && block_count > 0) { in cyclic_background_refresh()
2602 if ((cm->frame_type != KEY_FRAME) && !cpi->source_alt_ref_active) { in update_golden_frame_stats()
2677 if (cm->frame_type == KEY_FRAME) { in update_rd_ref_frame_probs()
2831 ((cm->frame_type == KEY_FRAME) || cm->refresh_golden_frame || in recode_loop_test()
2867 if (cm->frame_type == KEY_FRAME) { in update_reference_frames()
2957 if (cm->frame_type == KEY_FRAME) { in update_reference_frames()
3156 if (cpi->oxcf.noise_sensitivity && cm->frame_type != KEY_FRAME) { in vp8_loopfilter_frame()
3170 if (cpi->oxcf.noise_sensitivity && cm->frame_type != KEY_FRAME) { in vp8_loopfilter_frame()
3242 cm->frame_type = KEY_FRAME; /* delayed intra frame */ in encode_frame_to_data_rate()
3301 cm->frame_type = KEY_FRAME; in encode_frame_to_data_rate()
[all …]
Dsegmentation.c21 if ((cm->frame_type == KEY_FRAME) || (cm->refresh_golden_frame)) { in vp8_update_gf_useage_maps()
Dmr_dissim.c69 if (cm->frame_type != KEY_FRAME) { in vp8_cal_dissimilarity()
75 if (cm->frame_type != KEY_FRAME) { in vp8_cal_dissimilarity()
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()
/external/openscreen/cast/streaming/
Dencoded_frame.h38 KEY_FRAME, enumerator
Drtp_packetizer_unittest.cc45 frame.dependency = is_key_frame ? EncodedFrame::KEY_FRAME in CreateFrame()
89 EXPECT_EQ(frame.dependency == EncodedFrame::KEY_FRAME, in TestGeneratePacket()
Dframe_collector_unittest.cc78 EXPECT_EQ(EncodedFrame::KEY_FRAME, frame.dependency); in TEST()
153 EXPECT_EQ(EncodedFrame::KEY_FRAME, frame.dependency); in TEST()
Drtp_packetizer.cc93 ((frame.dependency == EncodedFrame::KEY_FRAME) ? kRtpKeyFrameBitMask in GeneratePacket()
Dframe_collector.cc77 frame_.dependency = EncodedFrame::KEY_FRAME; in CollectRtpPacket()
/external/openscreen/cast/standalone_receiver/
Ddummy_player.cc38 << (frame.dependency == EncodedFrame::KEY_FRAME ? "KEY " : "") in OnFramesReady()
/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()
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c822 if (pc->frame_type == KEY_FRAME) { in init_frame()
938 if (pc->frame_type == KEY_FRAME) { in vp8_decode_frame()
972 if ((!pbi->decoded_key_frame && pc->frame_type != KEY_FRAME)) { in vp8_decode_frame()
983 if (pc->frame_type == KEY_FRAME) { in vp8_decode_frame()
1106 if (pc->frame_type != KEY_FRAME) { in vp8_decode_frame()
1162 pc->refresh_last_frame = pc->frame_type == KEY_FRAME || vp8_read_bit(bc); in vp8_decode_frame()
1244 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()
495 } else if (pbi->common.frame_type == KEY_FRAME) { in decode_mb_mode_mvs()
508 if (pbi->common.frame_type == KEY_FRAME) { in decode_mb_mode_mvs()

123