Home
last modified time | relevance | path

Searched refs:oxcf (Results 1 – 25 of 74) sorted by relevance

123

/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c106 VP9EncoderConfig oxcf; member
421 static void config_target_level(VP9EncoderConfig *oxcf) { in config_target_level() argument
424 const int target_level_index = get_level_index(oxcf->target_level); in config_target_level()
433 if ((double)oxcf->target_bandwidth > max_average_bitrate) in config_target_level()
434 oxcf->target_bandwidth = (int64_t)(max_average_bitrate); in config_target_level()
435 if (oxcf->ss_number_layers == 1 && oxcf->pass != 0) in config_target_level()
436 oxcf->ss_target_bitrate[0] = (int)oxcf->target_bandwidth; in config_target_level()
440 (int)((max_average_bitrate * 1.10 - (double)oxcf->target_bandwidth) * in config_target_level()
441 100 / (double)(oxcf->target_bandwidth)); in config_target_level()
442 if (oxcf->over_shoot_pct > max_over_shoot_pct) in config_target_level()
[all …]
Dsimple_encode.cc56 static VP9_COMP *init_encoder(const VP9EncoderConfig *oxcf, in init_encoder() argument
61 cpi = vp9_create_compressor(oxcf, buffer_pool); in init_encoder()
125 const VP9EncoderConfig oxcf = in ComputeFirstPassStats() local
128 VP9_COMP *cpi = init_encoder(&oxcf, impl_ptr_->img_fmt); in ComputeFirstPassStats()
144 timebase_units_to_ticks(&oxcf.g_timebase_in_ts, next_show_idx); in ComputeFirstPassStats()
146 timebase_units_to_ticks(&oxcf.g_timebase_in_ts, next_show_idx + 1); in ComputeFirstPassStats()
201 VP9EncoderConfig oxcf = in StartEncode() local
209 vp9_set_first_pass_stats(&oxcf, &stats); in StartEncode()
211 impl_ptr_->cpi = init_encoder(&oxcf, impl_ptr_->img_fmt); in StartEncode()
226 return vp9_get_frames_to_next_key(&cpi->oxcf, &cpi->frame_info, in GetKeyFrameGroupSize()
[all …]
Dvp9_cx_iface.h25 void vp9_dump_encoder_config(const VP9EncoderConfig *oxcf);
27 FRAME_INFO vp9_get_frame_info(const VP9EncoderConfig *oxcf);
41 void vp9_set_first_pass_stats(VP9EncoderConfig *oxcf,
/external/libaom/libaom/av1/
Dav1_cx_iface.c286 AV1EncoderConfig oxcf; member
623 static void disable_superres(AV1EncoderConfig *const oxcf) { in disable_superres() argument
624 oxcf->superres_mode = SUPERRES_NONE; in disable_superres()
625 oxcf->superres_scale_denominator = SCALE_NUMERATOR; in disable_superres()
626 oxcf->superres_kf_scale_denominator = SCALE_NUMERATOR; in disable_superres()
627 oxcf->superres_qthresh = 255; in disable_superres()
628 oxcf->superres_kf_qthresh = 255; in disable_superres()
691 static aom_codec_err_t set_encoder_config(AV1EncoderConfig *oxcf, in set_encoder_config() argument
699 oxcf->profile = cfg->g_profile; in set_encoder_config()
700 oxcf->fwd_kf_enabled = cfg->fwd_kf_enabled; in set_encoder_config()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c191 lc->starting_buffer_level = cpi->oxcf.starting_buffer_level; in save_layer_context()
192 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level; in save_layer_context()
193 lc->maximum_buffer_size = cpi->oxcf.maximum_buffer_size; in save_layer_context()
194 lc->starting_buffer_level_in_ms = cpi->oxcf.starting_buffer_level_in_ms; in save_layer_context()
195 lc->optimal_buffer_level_in_ms = cpi->oxcf.optimal_buffer_level_in_ms; in save_layer_context()
196 lc->maximum_buffer_size_in_ms = cpi->oxcf.maximum_buffer_size_in_ms; in save_layer_context()
231 cpi->oxcf.target_bandwidth = lc->target_bandwidth; in restore_layer_context()
232 cpi->oxcf.starting_buffer_level = lc->starting_buffer_level; in restore_layer_context()
233 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; in restore_layer_context()
234 cpi->oxcf.maximum_buffer_size = lc->maximum_buffer_size; in restore_layer_context()
[all …]
Dratectrl.c302 if (cpi->oxcf.fixed_q >= 0) { in calc_iframe_target_size()
303 int Q = cpi->oxcf.key_q; in calc_iframe_target_size()
317 target = cpi->oxcf.starting_buffer_level / 2; in calc_iframe_target_size()
319 if (target > cpi->oxcf.target_bandwidth * 3 / 2) { in calc_iframe_target_size()
320 target = cpi->oxcf.target_bandwidth * 3 / 2; in calc_iframe_target_size()
329 if (cpi->oxcf.number_of_layers == 1) { in calc_iframe_target_size()
351 if (cpi->oxcf.rc_max_intra_bitrate_pct) { in calc_iframe_target_size()
355 product *= cpi->oxcf.rc_max_intra_bitrate_pct; in calc_iframe_target_size()
387 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in calc_gf_params()
504 if (cpi->oxcf.fixed_q == -1) { in calc_gf_params()
[all …]
Dmr_dissim.c24 unsigned int iw = cpi->oxcf.Width * cpi->oxcf.mr_down_sampling_factor.den + in vp8_cal_low_res_mb_cols()
25 cpi->oxcf.mr_down_sampling_factor.num - 1; in vp8_cal_low_res_mb_cols()
27 low_res_w = iw / cpi->oxcf.mr_down_sampling_factor.num; in vp8_cal_low_res_mb_cols()
59 if (cpi->oxcf.mr_total_resolutions > 1 && in vp8_cal_dissimilarity()
60 cpi->oxcf.mr_encoder_id < (cpi->oxcf.mr_total_resolutions - 1)) { in vp8_cal_dissimilarity()
65 (LOWER_RES_FRAME_INFO *)cpi->oxcf.mr_low_res_mode_info; in vp8_cal_dissimilarity()
105 if (cpi->oxcf.play_alternate) { in vp8_cal_dissimilarity()
203 if (cpi->oxcf.mr_total_resolutions > 1 && in vp8_store_drop_frame_info()
204 cpi->oxcf.mr_encoder_id < (cpi->oxcf.mr_total_resolutions - 1)) { in vp8_store_drop_frame_info()
209 (LOWER_RES_FRAME_INFO *)cpi->oxcf.mr_low_res_mode_info; in vp8_store_drop_frame_info()
Dfirstpass.c57 #define POW1 (double)cpi->oxcf.two_pass_vbrbias / 100.0
58 #define POW2 (double)cpi->oxcf.two_pass_vbrbias / 100.0
324 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in frame_max_bits()
327 DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level); in frame_max_bits()
333 ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)); in frame_max_bits()
358 ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)); in frame_max_bits()
607 if (raw_motion_error < cpi->oxcf.encode_breakout) { in vp8_first_pass()
961 if (cpi->oxcf.cpu_used <= 5) { in estimate_max_q()
962 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_max_q()
1003 if ((cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY) && in estimate_max_q()
[all …]
Dpickinter.c69 if (cpi->oxcf.number_of_layers > 1) { in check_dot_artifact_candidate()
81 !cpi->oxcf.screen_content_mode) { in check_dot_artifact_candidate()
399 ((LOWER_RES_FRAME_INFO *)cpi->oxcf.mr_low_res_mode_info)->mb_info; in get_lower_res_motion_info()
410 parent_mb_row = mb_row * cpi->oxcf.mr_down_sampling_factor.den / in get_lower_res_motion_info()
411 cpi->oxcf.mr_down_sampling_factor.num; in get_lower_res_motion_info()
412 parent_mb_col = mb_col * cpi->oxcf.mr_down_sampling_factor.den / in get_lower_res_motion_info()
413 cpi->oxcf.mr_down_sampling_factor.num; in get_lower_res_motion_info()
424 if (cpi->oxcf.mr_encoder_id == (cpi->oxcf.mr_total_resolutions - 1)) in get_lower_res_motion_info()
432 cpi->oxcf.mr_down_sampling_factor.num / in get_lower_res_motion_info()
433 cpi->oxcf.mr_down_sampling_factor.den; in get_lower_res_motion_info()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c82 VP8_CONFIG oxcf; member
293 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, in set_vp8e_config() argument
297 oxcf->multi_threaded = cfg.g_threads; in set_vp8e_config()
298 oxcf->Version = cfg.g_profile; in set_vp8e_config()
300 oxcf->Width = cfg.g_w; in set_vp8e_config()
301 oxcf->Height = cfg.g_h; in set_vp8e_config()
302 oxcf->timebase = cfg.g_timebase; in set_vp8e_config()
304 oxcf->error_resilient_mode = cfg.g_error_resilient; in set_vp8e_config()
307 case VPX_RC_ONE_PASS: oxcf->Mode = MODE_BESTQUALITY; break; in set_vp8e_config()
308 case VPX_RC_FIRST_PASS: oxcf->Mode = MODE_FIRSTPASS; break; in set_vp8e_config()
[all …]
/external/libaom/libaom/av1/encoder/
Dratectrl.c99 return (double)(cpi->oxcf.width * cpi->oxcf.height) / (width * height); in resize_rate_factor()
183 const AV1EncoderConfig *oxcf = &cpi->oxcf; in av1_rc_clamp_pframe_target_size() local
200 if (oxcf->rc_max_inter_bitrate_pct) { in av1_rc_clamp_pframe_target_size()
202 rc->avg_frame_bandwidth * oxcf->rc_max_inter_bitrate_pct / 100; in av1_rc_clamp_pframe_target_size()
211 const AV1EncoderConfig *oxcf = &cpi->oxcf; in av1_rc_clamp_iframe_target_size() local
212 if (oxcf->rc_max_intra_bitrate_pct) { in av1_rc_clamp_iframe_target_size()
214 rc->avg_frame_bandwidth * oxcf->rc_max_intra_bitrate_pct / 100; in av1_rc_clamp_iframe_target_size()
283 void av1_rc_init(const AV1EncoderConfig *oxcf, int pass, RATE_CONTROL *rc) { in av1_rc_init() argument
286 if (pass == 0 && oxcf->rc_mode == AOM_CBR) { in av1_rc_init()
287 rc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; in av1_rc_init()
[all …]
Dencoder.c582 if (cpi->oxcf.superblock_size == AOM_SUPERBLOCK_SIZE_64X64) in select_sb_size()
584 if (cpi->oxcf.superblock_size == AOM_SUPERBLOCK_SIZE_128X128) in select_sb_size()
587 assert(cpi->oxcf.superblock_size == AOM_SUPERBLOCK_SIZE_DYNAMIC); in select_sb_size()
591 return AOMMIN(cpi->oxcf.width, cpi->oxcf.height) > 480 ? BLOCK_128X128 in select_sb_size()
601 if (cpi->oxcf.superres_mode == SUPERRES_NONE && in select_sb_size()
602 cpi->oxcf.resize_mode == RESIZE_NONE && cpi->oxcf.speed >= 1) { in select_sb_size()
764 const AV1EncoderConfig *oxcf) { in update_film_grain_parameters() argument
766 cpi->oxcf = *oxcf; in update_film_grain_parameters()
774 if (oxcf->film_grain_test_vector) { in update_film_grain_parameters()
778 film_grain_test_vectors + oxcf->film_grain_test_vector - 1, in update_film_grain_parameters()
[all …]
Dpass2_strategy.c56 const AV1EncoderConfig *oxcf, in calculate_modified_err() argument
67 oxcf->two_pass_vbrbias / 100.0); in calculate_modified_err()
146 const AV1EncoderConfig *oxcf) { in frame_max_bits() argument
148 (int64_t)oxcf->two_pass_vbrmax_section) / in frame_max_bits()
219 const AV1EncoderConfig *const oxcf = &cpi->oxcf; in get_twopass_worst_quality() local
226 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) in get_twopass_worst_quality()
235 AOMMIN(cpi->oxcf.under_shoot_pct, cpi->oxcf.over_shoot_pct); in get_twopass_worst_quality()
246 if (cpi->oxcf.rc_mode == AOM_CQ) q = AOMMAX(q, oxcf->cq_level); in get_twopass_worst_quality()
704 const int max_bits = frame_max_bits(rc, &cpi->oxcf); in calculate_total_gf_group_bits()
1432 if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) { in define_gf_group_pass0()
[all …]
Dencode_strategy.c379 const AV1EncoderConfig *const oxcf = &cpi->oxcf; in setup_arf_frame() local
397 if (oxcf->arnr_max_frames > 0) { in setup_arf_frame()
452 int arf_src_index = get_arf_src_index(&cpi->gf_group, cpi->oxcf.pass); in choose_frame_source()
457 cpi->oxcf.rc_mode != AOM_Q) { in choose_frame_source()
492 cpi->oxcf.error_resilient_mode || in allow_show_existing()
495 cpi->oxcf.s_frame_mode || (lookahead_src->flags & AOM_EFLAG_SET_S_FRAME); in allow_show_existing()
877 const AV1EncoderConfig *const oxcf = &cpi->oxcf; in denoise_and_encode() local
883 oxcf->enable_keyframe_filtering && !is_stat_generation_stage(cpi) && in denoise_and_encode()
886 !is_lossless_requested(oxcf) && oxcf->arnr_max_frames > 0; in denoise_and_encode()
907 av1_set_speed_features_framesize_independent(cpi, oxcf->speed); in denoise_and_encode()
[all …]
Dspeed_features.c284 if (!cpi->oxcf.large_scale_tile) { in set_good_speed_features_framesize_independent()
466 if (cpi->oxcf.enable_smooth_interintra) in set_good_speed_features_framesize_independent()
1057 if (cpi->oxcf.disable_trellis_quant == 3) { in init_rd_sf()
1058 rd_sf->optimize_coefficients = !is_lossless_requested(&cpi->oxcf) in init_rd_sf()
1061 } else if (cpi->oxcf.disable_trellis_quant == 2) { in init_rd_sf()
1062 rd_sf->optimize_coefficients = !is_lossless_requested(&cpi->oxcf) in init_rd_sf()
1065 } else if (cpi->oxcf.disable_trellis_quant == 0) { in init_rd_sf()
1066 if (is_lossless_requested(&cpi->oxcf)) { in init_rd_sf()
1071 } else if (cpi->oxcf.disable_trellis_quant == 1) { in init_rd_sf()
1124 const AV1EncoderConfig *const oxcf = &cpi->oxcf; in av1_set_speed_features_framesize_dependent() local
[all …]
Dsvc_layercontext.c25 const AV1EncoderConfig *const oxcf = &cpi->oxcf; in av1_init_layer_context() local
37 lrc->ni_av_qi = oxcf->worst_allowed_q; in av1_init_layer_context()
56 oxcf->starting_buffer_level_ms * lc->target_bandwidth / 1000; in av1_init_layer_context()
159 cpi->oxcf.target_bandwidth = lc->target_bandwidth; in av1_restore_layer_context()
167 if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && in av1_restore_layer_context()
199 lc->target_bandwidth = (int)cpi->oxcf.target_bandwidth; in av1_save_layer_context()
204 if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && in av1_save_layer_context()
284 get_layer_resolution(cpi->oxcf.width, cpi->oxcf.height, in av1_one_pass_cbr_svc_start_layer()
Dtune_vmaf.c160 aom_calc_vmaf(cpi->oxcf.vmaf_model_path, source, sharpened, bit_depth, in cal_approx_vmaf()
205 cpi->oxcf.border_in_pixels, cm->features.byte_alignment); in find_best_frame_unsharp_amount()
250 cpi->oxcf.border_in_pixels, cm->features.byte_alignment); in av1_vmaf_frame_preprocessing()
253 cpi->oxcf.border_in_pixels, cm->features.byte_alignment); in av1_vmaf_frame_preprocessing()
281 cpi->oxcf.border_in_pixels, cm->features.byte_alignment); in av1_vmaf_blk_preprocessing()
284 cpi->oxcf.border_in_pixels, cm->features.byte_alignment); in av1_vmaf_blk_preprocessing()
309 cpi->oxcf.border_in_pixels, cm->features.byte_alignment); in av1_vmaf_blk_preprocessing()
312 cpi->oxcf.border_in_pixels, cm->features.byte_alignment); in av1_vmaf_blk_preprocessing()
515 cm->seq_params.use_highbitdepth, cpi->oxcf.border_in_pixels, in av1_set_mb_vmaf_rdmult_scaling()
533 cpi->oxcf.border_in_pixels, in av1_set_mb_vmaf_rdmult_scaling()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_speed_features.c180 if ((speed >= 1) && (cpi->oxcf.pass == 2) && in set_good_speed_feature_framesize_dependent()
208 const VP9EncoderConfig *const oxcf = &cpi->oxcf; in set_good_speed_feature_framesize_independent() local
247 if (oxcf->pass == 2) { in set_good_speed_feature_framesize_independent()
269 if (cpi->oxcf.content != VP9E_CONTENT_FILM) sf->mode_skip_start = 10; in set_good_speed_feature_framesize_independent()
275 if (cpi->oxcf.content != VP9E_CONTENT_FILM) { in set_good_speed_feature_framesize_independent()
291 if (oxcf->vbr_corpus_complexity) in set_good_speed_feature_framesize_independent()
300 sf->reference_masking = oxcf->resize_mode != RESIZE_DYNAMIC ? 1 : 0; in set_good_speed_feature_framesize_independent()
496 cpi->oxcf.resize_mode == RESIZE_DYNAMIC)) { in set_rt_speed_feature_framesize_independent()
537 if (cpi->oxcf.rc_mode == VPX_VBR && cpi->oxcf.lag_in_frames > 0) in set_rt_speed_feature_framesize_independent()
574 if (cpi->oxcf.rc_mode == VPX_VBR && cpi->oxcf.lag_in_frames > 0 && in set_rt_speed_feature_framesize_independent()
[all …]
Dvp9_svc_layercontext.c32 const VP9EncoderConfig *const oxcf = &cpi->oxcf; in vp9_init_layer_context() local
64 for (sl = 0; sl < oxcf->ss_number_layers; ++sl) { in vp9_init_layer_context()
73 svc->framedrop_thresh[sl] = oxcf->drop_frames_water_mark; in vp9_init_layer_context()
86 if (cpi->oxcf.error_resilient_mode == 0 && cpi->oxcf.pass == 2) { in vp9_init_layer_context()
103 for (sl = 0; sl < oxcf->ss_number_layers; ++sl) { in vp9_init_layer_context()
104 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_init_layer_context()
105 int layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_init_layer_context()
113 lrc->ni_av_qi = oxcf->worst_allowed_q; in vp9_init_layer_context()
122 lrc->worst_quality = oxcf->worst_allowed_q; in vp9_init_layer_context()
123 lrc->best_quality = oxcf->best_allowed_q; in vp9_init_layer_context()
[all …]
Dvp9_ratectrl.c212 const VP9EncoderConfig *oxcf = &cpi->oxcf; in vp9_rc_clamp_pframe_target_size() local
228 if (oxcf->rc_max_inter_bitrate_pct) { in vp9_rc_clamp_pframe_target_size()
230 rc->avg_frame_bandwidth * oxcf->rc_max_inter_bitrate_pct / 100; in vp9_rc_clamp_pframe_target_size()
238 const VP9EncoderConfig *oxcf = &cpi->oxcf; in vp9_rc_clamp_iframe_target_size() local
239 if (oxcf->rc_max_intra_bitrate_pct) { in vp9_rc_clamp_iframe_target_size()
241 rc->avg_frame_bandwidth * oxcf->rc_max_intra_bitrate_pct / 100; in vp9_rc_clamp_iframe_target_size()
326 if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && in update_buffer_level_postencode()
327 cpi->oxcf.drop_frames_water_mark == 0) in update_buffer_level_postencode()
362 void vp9_rc_init(const VP9EncoderConfig *oxcf, int pass, RATE_CONTROL *rc) { in vp9_rc_init() argument
365 if (pass == 0 && oxcf->rc_mode == VPX_CBR) { in vp9_rc_init()
[all …]
Dvp9_encoder.c121 const VP9EncoderConfig *const oxcf = &cpi->oxcf; in is_spatial_denoise_enabled() local
123 return (oxcf->pass != 1) && !is_lossless_requested(&cpi->oxcf) && in is_spatial_denoise_enabled()
139 const VP9EncoderConfig *const oxcf = &cpi->oxcf; in compute_context_model_thresh() local
141 const int bitrate = (int)(oxcf->target_bandwidth >> 10); in compute_context_model_thresh()
465 const VP9EncoderConfig *const oxcf = &cpi->oxcf; in is_psnr_calc_enabled() local
467 return cpi->b_calculate_psnr && (oxcf->pass != 1) && cm->show_frame; in is_psnr_calc_enabled()
593 if (cpi->oxcf.mode != REALTIME || cpi->oxcf.speed < 5) return; in apply_roi_map()
1276 const VP9EncoderConfig *oxcf = &cpi->oxcf; in alloc_raw_frame_buffers() local
1279 cpi->lookahead = vp9_lookahead_init(oxcf->width, oxcf->height, in alloc_raw_frame_buffers()
1284 oxcf->lag_in_frames); in alloc_raw_frame_buffers()
[all …]
Dvp9_noise_estimate.c58 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi) && in enable_noise_estimation()
66 if (cpi->oxcf.pass == 0 && cpi->oxcf.rc_mode == VPX_CBR && in enable_noise_estimation()
67 cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cpi->oxcf.speed >= 5 && in enable_noise_estimation()
69 cpi->oxcf.content != VP9E_CONTENT_SCREEN && in enable_noise_estimation()
120 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi)) { in vp9_update_noise_estimate()
137 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi)) in vp9_update_noise_estimate()
154 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi) && in vp9_update_noise_estimate()
293 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi)) in vp9_update_noise_estimate()
299 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi)) in vp9_update_noise_estimate()
Dvp9_firstpass.c233 if (cpi->oxcf.vbr_corpus_complexity) in get_distribution_av_err()
244 const VP9EncoderConfig *oxcf, in calculate_mod_frame_score() argument
250 oxcf->two_pass_vbrbias / 100.0); in calculate_mod_frame_score()
263 static double calc_norm_frame_score(const VP9EncoderConfig *oxcf, in calc_norm_frame_score() argument
270 oxcf->two_pass_vbrbias / 100.0); in calc_norm_frame_score()
272 const double min_score = (double)(oxcf->two_pass_vbrmin_section) / 100.0; in calc_norm_frame_score()
273 const double max_score = (double)(oxcf->two_pass_vbrmax_section) / 100.0; in calc_norm_frame_score()
290 const VP9EncoderConfig *oxcf, in calculate_norm_frame_score() argument
293 return calc_norm_frame_score(oxcf, &cpi->frame_info, this_frame, in calculate_norm_frame_score()
299 const VP9EncoderConfig *oxcf) { in frame_max_bits() argument
[all …]
Dvp9_picklpf.c38 if (cpi->oxcf.pass == 2) { in get_max_filter_level()
113 if ((cpi->oxcf.pass == 2) && (section_intra_rating < 20)) in search_filter_level()
191 if (cpi->oxcf.pass == 0 && cpi->oxcf.rc_mode == VPX_CBR && in vp9_pick_filter_level()
192 cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cm->seg.enabled && in vp9_pick_filter_level()
194 cpi->oxcf.content != VP9E_CONTENT_SCREEN && cm->frame_type != KEY_FRAME) in vp9_pick_filter_level()
Dvp9_aq_cyclicrefresh.c142 if (cpi->oxcf.speed < 8) in vp9_cyclic_refresh_rc_bits_per_mb()
185 if (cpi->oxcf.rc_mode == VPX_VBR && mi->ref_frame[0] == GOLDEN_FRAME) in vp9_cyclic_refresh_update_segment()
289 !cpi->oxcf.gf_cbr_boost_pct) { in vp9_cyclic_refresh_postencode()
328 if (cpi->oxcf.rc_mode == VPX_VBR) rc->baseline_gf_interval = 20; in vp9_cyclic_refresh_set_golden_update()
383 if (cpi->oxcf.content != VP9E_CONTENT_SCREEN) { in cyclic_refresh_update_map()
387 cpi->oxcf.content == VP9E_CONTENT_SCREEN in cyclic_refresh_update_map()
469 if (cpi->oxcf.content != VP9E_CONTENT_SCREEN) in cyclic_refresh_update_map()
483 int qp_thresh = VPXMIN((cpi->oxcf.content == VP9E_CONTENT_SCREEN) ? 35 : 20, in vp9_cyclic_refresh_update_parameters()
488 is_lossless_requested(&cpi->oxcf) || in vp9_cyclic_refresh_update_parameters()
523 if (cpi->oxcf.content == VP9E_CONTENT_SCREEN) { in vp9_cyclic_refresh_update_parameters()
[all …]

123