/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
ffmpeg_cdm_video_decoder.cc | 181 av_frame_.reset(av_frame_alloc()); 229 av_frame_unref(av_frame_.get()); 232 // |av_frame_->reordered_opaque| 233 av_frame_->reordered_opaque = codec_context_->reordered_opaque; 237 av_frame_.get(), 254 if (!av_frame_->data[cdm::VideoFrame::kYPlane] || 255 !av_frame_->data[cdm::VideoFrame::kUPlane] || 256 !av_frame_->data[cdm::VideoFrame::kVPlane]) { 271 DCHECK_EQ(av_frame_->format, PIX_FMT_YUV420P); 272 DCHECK_EQ(av_frame_->width % 2, 0) [all...] |
ffmpeg_cdm_audio_decoder.cc | 183 av_frame_.reset(av_frame_alloc()); 274 av_frame_unref(av_frame_.get()); 278 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet); 315 if (av_frame_->sample_rate != samples_per_second_ || 316 av_frame_->channels != channels_ || 317 av_frame_->format != av_sample_format_) { 319 << " Sample Rate: " << av_frame_->sample_rate << " vs " 321 << ", Channels: " << av_frame_->channels << " vs " 323 << ", Sample Format: " << av_frame_->format << " vs " 329 NULL, codec_context_->channels, av_frame_->nb_samples [all...] |
ffmpeg_cdm_audio_decoder.h | 67 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; member in class:media::FFmpegCdmAudioDecoder
|
ffmpeg_cdm_video_decoder.h | 41 // Allocates storage, then copies video frame stored in |av_frame_| to 49 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; member in class:media::FFmpegCdmVideoDecoder
|
/external/chromium_org/media/filters/ |
ffmpeg_audio_decoder.cc | 140 DCHECK(!av_frame_); 273 codec_context_.get(), av_frame_.get(), &frame_decoded, &packet); 296 const int channels = DetermineChannels(av_frame_.get()); 298 if (av_frame_->sample_rate != config_.samples_per_second() || 300 av_frame_->format != av_sample_format_) { 302 << " Sample Rate: " << av_frame_->sample_rate << " vs " 306 << ", Sample Format: " << av_frame_->format << " vs " 310 av_frame_->sample_rate == 2 * config_.samples_per_second()) { 316 av_frame_unref(av_frame_.get()); 323 av_buffer_get_opaque(av_frame_->buf[0])) [all...] |
ffmpeg_video_decoder.cc | 257 DCHECK(!av_frame_); 282 av_frame_.get(), 307 if (!av_frame_->data[VideoFrame::kYPlane] || 308 !av_frame_->data[VideoFrame::kUPlane] || 309 !av_frame_->data[VideoFrame::kVPlane]) { 311 av_frame_unref(av_frame_.get()); 316 reinterpret_cast<VideoFrame*>(av_buffer_get_opaque(av_frame_->buf[0])); 318 base::TimeDelta::FromMicroseconds(av_frame_->reordered_opaque)); 322 av_frame_unref(av_frame_.get()); 328 av_frame_.reset() [all...] |
ffmpeg_audio_decoder.h | 88 // Releases resources associated with |codec_context_| and |av_frame_| 101 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; member in class:media::FFmpegAudioDecoder
|
ffmpeg_video_decoder.h | 71 // Releases resources associated with |codec_context_| and |av_frame_| 83 scoped_ptr<AVFrame, ScopedPtrAVFreeFrame> av_frame_; member in class:media::FFmpegVideoDecoder
|