Home | History | Annotate | Download | only in encoder

Lines Matching refs:oxcf

350     if (cpi->oxcf.fixed_q >= 0)
352 int Q = cpi->oxcf.key_q;
369 target = cpi->oxcf.starting_buffer_level / 2;
371 if(target > cpi->oxcf.target_bandwidth * 3 / 2)
372 target = cpi->oxcf.target_bandwidth * 3 / 2;
382 if (cpi->oxcf.number_of_layers == 1) {
406 if (cpi->oxcf.rc_max_intra_bitrate_pct)
409 * cpi->oxcf.rc_max_intra_bitrate_pct / 100;
442 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q;
557 if (cpi->oxcf.fixed_q == -1)
595 /*if ( cpi->oxcf.fixed_q == -1)
597 if ( cpi->oxcf.play_alternate && (cpi->last_boost > (100 + (AF_THRESH*cpi->frames_till_gf_update_due)) ) )
629 if((cpi->common.refresh_alt_ref_frame) && (cpi->oxcf.number_of_layers == 1))
740 (1 + cpi->oxcf.optimal_buffer_level / 100);
742 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) ||
743 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level))
754 if ((cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) &&
755 (cpi->buffer_level < cpi->oxcf.optimal_buffer_level))
758 ((cpi->oxcf.optimal_buffer_level - cpi->buffer_level) /
769 if (percent_low > cpi->oxcf.under_shoot_pct)
770 percent_low = cpi->oxcf.under_shoot_pct;
791 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER)
814 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level)
817 (cpi->oxcf.optimal_buffer_level >> 2) )
823 (cpi->oxcf.optimal_buffer_level >> 2));
835 (cpi->oxcf.optimal_buffer_level*3>>2));
856 if ((cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER)
857 && (cpi->buffer_level > cpi->oxcf.optimal_buffer_level))
860 - cpi->oxcf.optimal_buffer_level)
863 else if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level)
869 if (percent_high > cpi->oxcf.over_shoot_pct)
870 percent_high = cpi->oxcf.over_shoot_pct;
914 if ( cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY &&
928 (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) &&
941 (cpi->buffer_level * 100) / cpi->oxcf.optimal_buffer_level);
948 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size)
949 cpi->bits_off_target = (int)cpi->oxcf.maximum_buffer_size;
952 if (cpi->oxcf.number_of_layers > 1) {
956 for (i = cpi->current_layer + 1; i < cpi->oxcf.number_of_layers;
970 if (cpi->oxcf.error_resilient_mode == 0 &&
973 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q;
1044 if (cpi->oxcf.fixed_q < 0)
1119 if (cpi->oxcf.number_of_layers == 1 &&
1198 if (cpi->oxcf.number_of_layers == 1 &&
1215 if (cpi->oxcf.fixed_q >= 0)
1217 Q = cpi->oxcf.fixed_q;
1221 Q = cpi->oxcf.key_q;
1223 else if (cpi->oxcf.number_of_layers == 1 &&
1226 Q = cpi->oxcf.alt_q;
1228 else if (cpi->oxcf.number_of_layers == 1 &&
1231 Q = cpi->oxcf.gold_q;
1247 if (cpi->oxcf.number_of_layers == 1 &&
1298 else if (cpi->oxcf.number_of_layers == 1 &&
1368 int key_freq = cpi->oxcf.key_freq>0 ? cpi->oxcf.key_freq : 1;
1371 oxcf.auto_key && av_key_frame_frequency > key_freq)
1430 if (cpi->oxcf.number_of_layers > 1)
1451 if (cpi->oxcf.fixed_q >= 0)
1468 if (cpi->oxcf.number_of_layers > 1 ||
1478 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER)
1480 if (cpi->buffer_level >= ((cpi->oxcf.optimal_buffer_level + cpi->oxcf.maximum_buffer_size) >> 1))
1488 else if (cpi->buffer_level <= (cpi->oxcf.optimal_buffer_level >> 1))
1509 if (cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY)