Lines Matching refs:oxcf

57 #define POW1 (double)cpi->oxcf.two_pass_vbrbias / 100.0
58 #define POW2 (double)cpi->oxcf.two_pass_vbrbias / 100.0
326 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in frame_max_bits()
329 DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level); in frame_max_bits()
335 ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)); in frame_max_bits()
360 ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)); in frame_max_bits()
612 if (raw_motion_error < cpi->oxcf.encode_breakout) { in vp8_first_pass()
966 if (cpi->oxcf.cpu_used <= 5) { in estimate_max_q()
967 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_max_q()
1008 if ((cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY) && in estimate_max_q()
1064 if (cpi->oxcf.cpu_used <= 5) { in estimate_cq()
1065 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_cq()
1128 if (cpi->oxcf.cpu_used <= 5) { in estimate_q()
1129 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_q()
1206 if (cpi->oxcf.cpu_used <= 5) { in estimate_kf_group_q()
1207 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_kf_group_q()
1247 (double)cpi->buffer_level / (double)cpi->oxcf.optimal_buffer_level, in estimate_kf_group_q()
1259 double two_pass_min_rate = (double)(cpi->oxcf.target_bandwidth * in vp8_init_second_pass()
1260 cpi->oxcf.two_pass_vbrmin_section / 100); in vp8_init_second_pass()
1281 cpi->oxcf.target_bandwidth / 10000000.0); in vp8_init_second_pass()
1649 cpi->oxcf.play_alternate && cpi->oxcf.lag_in_frames; in define_gf_group()
1758 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in define_gf_group()
1763 int64_t df_buffer_level = cpi->oxcf.drop_frames_water_mark * in define_gf_group()
1764 (cpi->oxcf.optimal_buffer_level / 100); in define_gf_group()
1824 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()
1883 int frames_bwd = cpi->oxcf.arnr_max_frames - 1; in define_gf_group()
1884 int frames_fwd = cpi->oxcf.arnr_max_frames - 1; in define_gf_group()
1919 switch (cpi->oxcf.arnr_type) { in define_gf_group()
1943 frames_bwd += (cpi->oxcf.arnr_max_frames + 1) & 0x1; in define_gf_group()
2010 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in define_gf_group()
2093 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in define_gf_group()
2292 if (cpi->oxcf.error_resilient_mode) { in vp8_second_pass()
2334 if (cpi->oxcf.error_resilient_mode) { in vp8_second_pass()
2375 if (cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY) { in vp8_second_pass()
2382 cpi->cq_target_quality = cpi->oxcf.cq_level; in vp8_second_pass()
2592 if (cpi->oxcf.auto_key && in find_next_key_frame()
2643 if (cpi->oxcf.auto_key && in find_next_key_frame()
2716 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in find_next_key_frame()
2717 int64_t opt_buffer_lvl = cpi->oxcf.optimal_buffer_level; in find_next_key_frame()
2725 (opt_buffer_lvl + cpi->oxcf.maximum_buffer_size) >> 1; in find_next_key_frame()
2825 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in find_next_key_frame()
2829 int df_buffer_level = (int)(cpi->oxcf.drop_frames_water_mark * in find_next_key_frame()
2830 (cpi->oxcf.optimal_buffer_level / 100)); in find_next_key_frame()
2924 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in find_next_key_frame()
2981 if (cpi->oxcf.allow_spatial_resampling) { in find_next_key_frame()
2987 int new_width = cpi->oxcf.Width; in find_next_key_frame()
2988 int new_height = cpi->oxcf.Height; in find_next_key_frame()
3001 if ((cpi->common.Width != cpi->oxcf.Width) || in find_next_key_frame()
3002 (cpi->common.Height != cpi->oxcf.Height)) { in find_next_key_frame()
3011 av_bits_per_frame = cpi->oxcf.target_bandwidth / in find_next_key_frame()
3015 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in find_next_key_frame()
3037 if (bits_per_frame < (cpi->oxcf.target_bandwidth * in find_next_key_frame()
3038 cpi->oxcf.two_pass_vbrmin_section / 100)) { in find_next_key_frame()
3039 bits_per_frame = (cpi->oxcf.target_bandwidth * in find_next_key_frame()
3040 cpi->oxcf.two_pass_vbrmin_section / 100); in find_next_key_frame()
3077 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { in find_next_key_frame()
3082 if ((projected_buffer_level < (cpi->oxcf.resample_down_water_mark * in find_next_key_frame()
3083 cpi->oxcf.optimal_buffer_level / 100)) || in find_next_key_frame()
3085 (projected_buffer_level < (cpi->oxcf.resample_up_water_mark * in find_next_key_frame()
3086 cpi->oxcf.optimal_buffer_level / 100)))) { in find_next_key_frame()
3093 cpi->twopass.total_stats.count * cpi->oxcf.target_bandwidth / in find_next_key_frame()
3095 int64_t over_spend = cpi->oxcf.starting_buffer_level - cpi->buffer_level; in find_next_key_frame()
3121 new_width = ((hs - 1) + (cpi->oxcf.Width * hr)) / hs; in find_next_key_frame()
3122 new_height = ((vs - 1) + (cpi->oxcf.Height * vr)) / vs; in find_next_key_frame()
3129 (double)(cpi->oxcf.Width * cpi->oxcf.Height); in find_next_key_frame()