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

Unified Diff: media/filters/omx_video_decode_engine.h

Issue 3030013: preparation for recycling buffer, patch 2 (Closed)
Patch Set: fix layout test Created 10 years, 4 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_video_decoder_unittest.cc ('k') | media/filters/omx_video_decode_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/omx_video_decode_engine.h
diff --git a/media/filters/omx_video_decode_engine.h b/media/filters/omx_video_decode_engine.h
index 7c1644f31bd55e2cc3f473ec400bb6c75d730ac5..db2c461d623321f162cef8f1deee992846a22d9c 100644
--- a/media/filters/omx_video_decode_engine.h
+++ b/media/filters/omx_video_decode_engine.h
@@ -44,9 +44,11 @@ class OmxVideoDecodeEngine :
Task* done_cb);
virtual void EmptyThisBuffer(scoped_refptr<Buffer> buffer);
virtual void FillThisBuffer(scoped_refptr<VideoFrame> video_frame);
+ virtual bool ProvidesBuffer() const;
virtual void Stop(Task* done_cb);
virtual void Pause(Task* done_cb);
virtual void Flush(Task* done_cb);
+ virtual void Seek(Task* done_cb);
virtual VideoFrame::Format GetSurfaceFormat() const;
virtual State state() const;
@@ -100,6 +102,7 @@ class OmxVideoDecodeEngine :
void StopTask(Task* task);
void PauseTask(Task* task);
void FlushTask(Task* task);
+ void SeekTask(Task* task);
// Transition method sequence for initialization
bool CreateComponent();
« no previous file with comments | « media/filters/ffmpeg_video_decoder_unittest.cc ('k') | media/filters/omx_video_decode_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698