Lines Matching defs:avctx
86 for (ch = 0; ch < s->avctx->ch_layout.nb_channels; ch++) {
108 for (ch = 0; ch < s->avctx->ch_layout.nb_channels; ch++) {
131 if (s->avctx->ch_layout.nb_channels > 1) {
143 for (ch = 0; ch < s->avctx->ch_layout.nb_channels; ch++) {
208 int max_delay_samples = (s->options->max_delay_ms*s->avctx->sample_rate)/1000;
262 f->channels = s->avctx->ch_layout.nb_channels;
330 for (ch = 0; ch < s->avctx->ch_layout.nb_channels; ch++) {
354 rate = ((float)s->avctx->bit_rate) + frame_bits*frame_size*16;
356 rate /= s->avctx->sample_rate/frame_size;
387 if (s->avctx->ch_layout.nb_channels < 2)
405 if (s->avctx->ch_layout.nb_channels < 2)
439 for (k = 0; k < s->avctx->ch_layout.nb_channels; k++) {
500 ideal_fbits = s->avctx->bit_rate/(s->avctx->sample_rate/frame_size);
516 av_cold int ff_opus_psy_init(OpusPsyContext *s, AVCodecContext *avctx,
524 s->avctx = avctx;
537 s->dsp = avpriv_float_dsp_alloc(avctx->flags & AV_CODEC_FLAG_BITEXACT);
543 for (ch = 0; ch < s->avctx->ch_layout.nb_channels; ch++) {
608 av_log(s->avctx, AV_LOG_INFO, "Average Intensity Stereo band: %0.1f\n", s->avg_is_band);
609 av_log(s->avctx, AV_LOG_INFO, "Dual Stereo used: %0.2f%%\n", ((float)s->dual_stereo_used/s->total_packets_out)*100.0f);