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

Unified Diff: media/filters/ffmpeg_video_decoder.h

Issue 10451051: Provide a Chrome-owned buffer to FFmpeg for video decoding, instead of (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: media/filters/ffmpeg_video_decoder.h
===================================================================
--- media/filters/ffmpeg_video_decoder.h (revision 139175)
+++ media/filters/ffmpeg_video_decoder.h (working copy)
@@ -34,6 +34,9 @@
AesDecryptor* decryptor();
+ // called from within ffmpeg
Ami GONE FROM CHROMIUM 2012/05/26 22:52:34 Comments need to be complete English sentences, st
+ int GetVideoBuffer(AVFrame *frame);
+
protected:
virtual ~FFmpegVideoDecoder();
@@ -54,6 +57,7 @@
// Carries out the decoding operation scheduled by DecodeBuffer().
void DoDecodeBuffer(const scoped_refptr<Buffer>& buffer);
+ int AllocBuffer(VideoFrame **ptr);
bool Decode(const scoped_refptr<Buffer>& buffer,
scoped_refptr<VideoFrame>* video_frame);

Powered by Google App Engine
This is Rietveld 408576698