Lines Matching defs:avctx
53 AVCodecContext *avctx,
90 av_log(avctx, AV_LOG_WARNING, "ff_combine_frame failed\n");
95 av_log(avctx, AV_LOG_WARNING, "ff_combine_frame failed\n");
112 av_log(avctx, AV_LOG_WARNING, "ff_combine_frame failed\n");
156 av_log(avctx, AV_LOG_INFO, "mlpparse: Parity check failed.\n");
164 if (ff_mlp_read_major_sync(avctx, &mh, &gb) < 0)
169 avctx->bits_per_raw_sample = mh.group1_bits;
170 if (avctx->bits_per_raw_sample > 16)
171 avctx->sample_fmt = AV_SAMPLE_FMT_S32;
173 avctx->sample_fmt = AV_SAMPLE_FMT_S16;
174 avctx->sample_rate = mh.group1_samplerate;
175 avctx->frame_size =
178 av_channel_layout_uninit(&avctx->ch_layout);
181 av_channel_layout_from_mask(&avctx->ch_layout, mh.channel_layout_mlp);
185 av_channel_layout_from_mask(&avctx->ch_layout, mh.channel_layout_thd_stream1);
187 av_channel_layout_from_mask(&avctx->ch_layout, mh.channel_layout_thd_stream2);
192 avctx->bit_rate = mh.peak_bitrate;