Home | History | Annotate | Download | only in encoder

Lines Matching refs:oxcf

337     if (cpi->oxcf.fixed_q >= 0)
375 /*if ( cpi->oxcf.fixed_q == -1)
377 if ( cpi->oxcf.play_alternate && ( (cpi->last_boost/2) > (100+(AF_THRESH*cpi->frames_till_gf_update_due)) ) )
402 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q;
517 if (cpi->oxcf.fixed_q == -1)
555 /*if ( cpi->oxcf.fixed_q == -1)
557 if ( cpi->oxcf.play_alternate && (cpi->last_boost > (100 + (AF_THRESH*cpi->frames_till_gf_update_due)) ) )
584 Q = (cpi->oxcf.fixed_q >= 0) ? cpi->oxcf.fixed_q : cpi->avg_frame_qindex;
618 /*if ( cpi->oxcf.fixed_q == -1)
620 if ( cpi->oxcf.play_alternate && ( (cpi->last_boost/2) > (100+(AF_THRESH*cpi->frames_till_gf_update_due)) ) )
627 if (cpi->oxcf.fixed_q >= 0)
636 if (cpi->oxcf.error_resilient_mode == 1)
691 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q;
819 if ((cpi->oxcf.under_shoot_pct > 0) && (cpi->oxcf.under_shoot_pct <= 100))
820 cpi->this_frame_target = (cpi->this_frame_target * cpi->oxcf.under_shoot_pct) / 100;
840 int one_percent_bits = 1 + cpi->oxcf.optimal_buffer_level / 100;
842 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level))
851 if ((cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) && (cpi->buffer_level < cpi->oxcf.optimal_buffer_level))
853 percent_low = (cpi->oxcf.optimal_buffer_level - cpi->buffer_level) / one_percent_bits;
883 oxcf.end_usage == USAGE_STREAM_FROM_SERVER)
896 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level)
898 if (critical_buffer_level > (cpi->oxcf.optimal_buffer_level / 4))
901 int above_base = (critical_buffer_level - (cpi->oxcf.optimal_buffer_level / 4));
904 // to cpi->oxcf.worst_allowed_q when (critical_buffer_level == cpi->optimal_buffer_level/4)
905 cpi->active_worst_quality = cpi->worst_quality - ((qadjustment_range * above_base) / (cpi->oxcf.optimal_buffer_level * 3 / 4));
926 if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level)
928 percent_high = (int)(100 * (cpi->bits_off_target - cpi->oxcf.optimal_buffer_level) / (cpi->total_byte_count * 8));
973 (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) &&
974 ((cpi->common.frame_type != KEY_FRAME))) //|| !cpi->oxcf.allow_spatial_resampling) )
984 (cpi->buffer_level * 100) / cpi->oxcf.optimal_buffer_level);
994 else if ((cpi->buffer_level < cpi->oxcf.drop_frames_water_mark * cpi->oxcf.optimal_buffer_level / 100) &&
1013 if (cpi->oxcf.error_resilient_mode == 0 &&
1017 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q;
1091 if (cpi->oxcf.fixed_q < 0)
1264 if (cpi->oxcf.fixed_q >= 0)
1266 Q = cpi->oxcf.fixed_q;
1270 Q = cpi->oxcf.key_q;
1274 Q = cpi->oxcf.alt_q;
1278 Q = cpi->oxcf.gold_q;
1509 if (cpi->oxcf.fixed_q >= 0)
1532 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER)
1534 if (cpi->buffer_level >= ((cpi->oxcf.optimal_buffer_level + cpi->oxcf.maximum_buffer_size) >> 1))
1540 else if (cpi->buffer_level <= (cpi->oxcf.optimal_buffer_level >> 1))