HomeSort by relevance Sort by last modified time
    Searched refs:codec_context_ (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/media/filters/
audio_file_reader.cc 16 : codec_context_(NULL),
54 codec_context_ = NULL;
58 codec_context_ = c;
65 if (!codec_context_)
75 AVCodec* codec = avcodec_find_decoder(codec_context_->codec_id);
78 if (codec_context_->sample_fmt == AV_SAMPLE_FMT_S16P)
79 codec_context_->request_sample_fmt = AV_SAMPLE_FMT_S16;
81 if ((result = avcodec_open2(codec_context_, codec, NULL)) < 0) {
88 if (codec_context_->sample_fmt == AV_SAMPLE_FMT_S16P) {
91 << codec_context_->sample_fmt
    [all...]
ffmpeg_video_decoder.cc 66 // Don't use |codec_context_| here! With threaded decoding,
189 avcodec_flush_buffers(codec_context_.get());
214 DCHECK(!codec_context_);
304 codec_context_->reordered_opaque = buffer->timestamp().InMicroseconds();
308 av_frame_->reordered_opaque = codec_context_->reordered_opaque;
312 int result = avcodec_decode_video2(codec_context_.get(),
356 codec_context_.reset();
365 codec_context_.reset(avcodec_alloc_context3(NULL));
366 VideoDecoderConfigToAVCodecContext(config_, codec_context_.get());
370 codec_context_->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK
    [all...]
audio_file_reader.h 58 AVCodecContext* codec_context_; member in class:media::AudioFileReader
ffmpeg_audio_decoder.cc 152 avcodec_flush_buffers(codec_context_.get());
290 codec_context_->codec_id == AV_CODEC_ID_VORBIS &&
342 if (codec_context_.get() &&
360 codec_context_.reset(avcodec_alloc_context3(NULL));
361 AudioDecoderConfigToAVCodecContext(config, codec_context_.get());
363 codec_context_->opaque = this;
364 codec_context_->get_buffer2 = GetAudioBufferImpl;
365 codec_context_->refcounted_frames = 1;
367 AVCodec* codec = avcodec_find_decoder(codec_context_->codec_id);
368 if (!codec || avcodec_open2(codec_context_.get(), codec, NULL) < 0)
    [all...]
ffmpeg_audio_decoder.h 72 scoped_ptr_malloc<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegAudioDecoder
ffmpeg_video_decoder.h 67 // Releases resources associated with |codec_context_| and |av_frame_|
84 scoped_ptr_malloc<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegVideoDecoder
  /external/chromium_org/media/cdm/ppapi/
ffmpeg_cdm_audio_decoder.cc 161 codec_context_.reset(avcodec_alloc_context3(NULL));
162 CdmAudioDecoderConfigToAVCodecContext(config, codec_context_.get());
165 if (codec_context_->sample_fmt == AV_SAMPLE_FMT_S16P)
166 codec_context_->request_sample_fmt = AV_SAMPLE_FMT_S16;
168 AVCodec* codec = avcodec_find_decoder(codec_context_->codec_id);
169 if (!codec || avcodec_open2(codec_context_.get(), codec, NULL) < 0) {
171 << codec_context_->codec_id;
176 if (codec_context_->sample_fmt == AV_SAMPLE_FMT_S16P) {
178 << codec_context_->sample_fmt;
185 bytes_per_frame_ = codec_context_->channels * config.bits_per_channel / 8
    [all...]
ffmpeg_cdm_video_decoder.cc 154 codec_context_.reset(avcodec_alloc_context3(NULL));
155 CdmVideoDecoderConfigToAVCodecContext(config, codec_context_.get());
159 codec_context_->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
160 codec_context_->err_recognition = AV_EF_CAREFUL;
161 codec_context_->thread_count = kDecodeThreads;
162 codec_context_->opaque = this;
163 codec_context_->flags |= CODEC_FLAG_EMU_EDGE;
165 AVCodec* codec = avcodec_find_decoder(codec_context_->codec_id);
172 if ((status = avcodec_open2(codec_context_.get(), codec, NULL)) < 0) {
191 avcodec_flush_buffers(codec_context_.get())
    [all...]
ffmpeg_cdm_audio_decoder.h 67 scoped_ptr_malloc<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegCdmAudioDecoder
ffmpeg_cdm_video_decoder.h 50 scoped_ptr_malloc<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegCdmVideoDecoder

Completed in 31 milliseconds