Home | History | Annotate | Download | only in test

Lines Matching full:av_codec_context

206       AVCodecContext* av_codec_context = av_stream->codec;
207 AVCodec* av_codec = avcodec_find_decoder(av_codec_context->codec_id);
211 << av_codec_context->codec_id;
216 av_codec_context->thread_count = 2;
217 av_codec_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
218 av_codec_context->request_sample_fmt = AV_SAMPLE_FMT_S16;
220 if (avcodec_open2(av_codec_context, av_codec, NULL) < 0) {
222 << av_codec_context->codec_id;
227 if (av_codec_context->sample_fmt == AV_SAMPLE_FMT_S16P) {
232 av_codec_context->channel_layout,
233 av_codec_context->channels);
245 av_codec_context->channels,
246 av_codec_context->channels,
247 av_codec_context->sample_rate,
248 8 * av_get_bytes_per_sample(av_codec_context->sample_fmt),
249 av_codec_context->sample_rate / kAudioPacketsPerSecond);
253 PixelFormatToVideoFormat(av_codec_context->pix_fmt);