Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 10447035: Introducing DecoderBuffer and general Buffer cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/2011/2012/ Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/ffmpeg_h264_bitstream_converter.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_video_decoder.h
diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h
index d1d181daaee0b089d17375d4ae97a348d5431949..4d99a432dc1401fad5a19eff70c48256c1e8377a 100644
--- a/media/filters/ffmpeg_video_decoder.h
+++ b/media/filters/ffmpeg_video_decoder.h
@@ -12,6 +12,7 @@
#include "media/base/video_decoder.h"
#include "media/crypto/aes_decryptor.h"
+class DecoderBuffer;
class MessageLoop;
struct AVCodecContext;
@@ -50,11 +51,11 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder {
// Reads from the demuxer stream with corresponding callback method.
void ReadFromDemuxerStream();
- void DecodeBuffer(const scoped_refptr<Buffer>& buffer);
+ void DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer);
// Carries out the decoding operation scheduled by DecodeBuffer().
- void DoDecodeBuffer(const scoped_refptr<Buffer>& buffer);
- bool Decode(const scoped_refptr<Buffer>& buffer,
+ void DoDecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer);
+ bool Decode(const scoped_refptr<DecoderBuffer>& buffer,
scoped_refptr<VideoFrame>* video_frame);
// Delivers the frame to |read_cb_| and resets the callback.
« no previous file with comments | « media/filters/ffmpeg_h264_bitstream_converter.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698