Home
last modified time | relevance | path

Searched refs:av_frame_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dffmpeg_cdm_video_decoder.cc181 av_frame_.reset(av_frame_alloc()); in Initialize()
229 av_frame_unref(av_frame_.get()); in DecodeFrame()
233 av_frame_->reordered_opaque = codec_context_->reordered_opaque; in DecodeFrame()
237 av_frame_.get(), in DecodeFrame()
254 if (!av_frame_->data[cdm::VideoFrame::kYPlane] || in DecodeFrame()
255 !av_frame_->data[cdm::VideoFrame::kUPlane] || in DecodeFrame()
256 !av_frame_->data[cdm::VideoFrame::kVPlane]) { in DecodeFrame()
271 DCHECK_EQ(av_frame_->format, PIX_FMT_YUV420P); in CopyAvFrameTo()
272 DCHECK_EQ(av_frame_->width % 2, 0); in CopyAvFrameTo()
273 DCHECK_EQ(av_frame_->height % 2, 0); in CopyAvFrameTo()
[all …]
Dffmpeg_cdm_audio_decoder.cc183 av_frame_.reset(av_frame_alloc()); in Initialize()
274 av_frame_unref(av_frame_.get()); in DecodeBuffer()
278 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet); in DecodeBuffer()
315 if (av_frame_->sample_rate != samples_per_second_ || in DecodeBuffer()
316 av_frame_->channels != channels_ || in DecodeBuffer()
317 av_frame_->format != av_sample_format_) { in DecodeBuffer()
319 << " Sample Rate: " << av_frame_->sample_rate << " vs " in DecodeBuffer()
321 << ", Channels: " << av_frame_->channels << " vs " in DecodeBuffer()
323 << ", Sample Format: " << av_frame_->format << " vs " in DecodeBuffer()
329 NULL, codec_context_->channels, av_frame_->nb_samples, in DecodeBuffer()
[all …]
Dffmpeg_cdm_video_decoder.h49 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; variable
Dffmpeg_cdm_audio_decoder.h67 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; variable
/external/chromium_org/media/filters/
Dffmpeg_audio_decoder.cc258 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet); in FFmpegDecode()
281 const int channels = DetermineChannels(av_frame_.get()); in FFmpegDecode()
283 if (av_frame_->sample_rate != config_.samples_per_second() || in FFmpegDecode()
285 av_frame_->format != av_sample_format_) { in FFmpegDecode()
287 << " Sample Rate: " << av_frame_->sample_rate << " vs " in FFmpegDecode()
291 << ", Sample Format: " << av_frame_->format << " vs " in FFmpegDecode()
295 av_frame_->sample_rate == 2 * config_.samples_per_second()) { in FFmpegDecode()
301 av_frame_unref(av_frame_.get()); in FFmpegDecode()
308 av_buffer_get_opaque(av_frame_->buf[0])); in FFmpegDecode()
312 const int unread_frames = output->frame_count() - av_frame_->nb_samples; in FFmpegDecode()
[all …]
Dffmpeg_video_decoder.cc277 av_frame_.get(), in FFmpegDecode()
302 if (!av_frame_->data[VideoFrame::kYPlane] || in FFmpegDecode()
303 !av_frame_->data[VideoFrame::kUPlane] || in FFmpegDecode()
304 !av_frame_->data[VideoFrame::kVPlane]) { in FFmpegDecode()
306 av_frame_unref(av_frame_.get()); in FFmpegDecode()
311 reinterpret_cast<VideoFrame*>(av_buffer_get_opaque(av_frame_->buf[0])); in FFmpegDecode()
313 base::TimeDelta::FromMicroseconds(av_frame_->reordered_opaque)); in FFmpegDecode()
317 av_frame_unref(av_frame_.get()); in FFmpegDecode()
323 av_frame_.reset(); in ReleaseFFmpegResources()
350 av_frame_.reset(av_frame_alloc()); in ConfigureDecoder()
Dffmpeg_video_decoder.h83 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; variable
Dffmpeg_audio_decoder.h101 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; variable