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 18 : codec_context_(NULL),
41 codec_context_ = NULL;
45 codec_context_ = c;
52 if (!codec_context_)
62 AVCodec* codec = avcodec_find_decoder(codec_context_->codec_id);
65 if (codec_context_->sample_fmt == AV_SAMPLE_FMT_S16P)
66 codec_context_->request_sample_fmt = AV_SAMPLE_FMT_S16;
68 if ((result = avcodec_open2(codec_context_, codec, NULL)) < 0) {
75 if (codec_context_->sample_fmt == AV_SAMPLE_FMT_S16P) {
78 << codec_context_->sample_fmt
    [all...]
audio_file_reader.h 65 return codec_context_;
72 AVCodecContext* codec_context_; member in class:media::AudioFileReader
ffmpeg_video_decoder.cc 83 // Don't use |codec_context_| here! With threaded decoding,
239 avcodec_flush_buffers(codec_context_.get());
256 DCHECK(!codec_context_);
277 codec_context_->reordered_opaque = buffer->timestamp().InMicroseconds();
281 int result = avcodec_decode_video2(codec_context_.get(),
327 codec_context_.reset();
336 codec_context_.reset(avcodec_alloc_context3(NULL));
337 VideoDecoderConfigToAVCodecContext(config_, codec_context_.get());
339 codec_context_->thread_count = GetThreadCount(codec_context_->codec_id)
    [all...]
ffmpeg_audio_decoder.cc 139 DCHECK(!codec_context_);
189 avcodec_flush_buffers(codec_context_.get());
225 codec_context_->codec_id == AV_CODEC_ID_VORBIS &&
273 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet);
348 codec_context_.reset();
371 codec_context_.reset(avcodec_alloc_context3(NULL));
372 AudioDecoderConfigToAVCodecContext(config_, codec_context_.get());
374 codec_context_->opaque = this;
375 codec_context_->get_buffer2 = GetAudioBuffer;
376 codec_context_->refcounted_frames = 1
    [all...]
ffmpeg_audio_decoder.h 88 // Releases resources associated with |codec_context_| and |av_frame_|
100 scoped_ptr<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegAudioDecoder
ffmpeg_video_decoder.h 71 // Releases resources associated with |codec_context_| and |av_frame_|
82 scoped_ptr<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegVideoDecoder
  /external/chromium_org/media/cdm/ppapi/external_clear_key/
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 158 codec_context_.reset(avcodec_alloc_context3(NULL));
159 CdmVideoDecoderConfigToAVCodecContext(config, codec_context_.get());
163 codec_context_->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
164 codec_context_->err_recognition = AV_EF_CAREFUL;
165 codec_context_->thread_count = kDecodeThreads;
166 codec_context_->opaque = this;
167 codec_context_->flags |= CODEC_FLAG_EMU_EDGE;
169 AVCodec* codec = avcodec_find_decoder(codec_context_->codec_id);
176 if ((status = avcodec_open2(codec_context_.get(), codec, NULL)) < 0) {
195 avcodec_flush_buffers(codec_context_.get())
    [all...]
ffmpeg_cdm_audio_decoder.h 66 scoped_ptr<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegCdmAudioDecoder
ffmpeg_cdm_video_decoder.h 48 scoped_ptr<AVCodecContext, ScopedPtrAVFreeContext> codec_context_; member in class:media::FFmpegCdmVideoDecoder

Completed in 509 milliseconds