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

Unified Diff: media/filters/video_decode_engine.h

Issue 1669002: remove AVFrame Dependency (Closed)
Patch Set: more patch Created 10 years, 8 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/omx_video_decode_engine.cc ('k') | media/filters/video_decoder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_decode_engine.h
diff --git a/media/filters/video_decode_engine.h b/media/filters/video_decode_engine.h
index 9f05ab5f5c920300dedfb6433da4a5483d4ef87c..975ecea97b6951c1ade782ddf6269c42f643d353 100644
--- a/media/filters/video_decode_engine.h
+++ b/media/filters/video_decode_engine.h
@@ -40,7 +40,8 @@ class VideoDecodeEngine {
//
// TODO(ajwong): Should this function just allocate a new yuv_frame and return
// it via a "GetNextFrame()" method or similar?
- virtual void DecodeFrame(Buffer* buffer, AVFrame* yuv_frame,
+ virtual void DecodeFrame(Buffer* buffer,
+ scoped_refptr<VideoFrame>* video_frame,
bool* got_result, Task* done_cb) = 0;
// Flushes the decode engine of any buffered input packets.
« no previous file with comments | « media/filters/omx_video_decode_engine.cc ('k') | media/filters/video_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698