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

Unified Diff: media/filters/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/omx_video_decoder.cc ('k') | media/filters/video_renderer_base.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 8dc9d252d16c0d611706f52d9da4916002f550ea..3efe647f4f18c025f6c2df65e71a44e44fcf46aa 100644
--- a/media/filters/video_decode_engine.h
+++ b/media/filters/video_decode_engine.h
@@ -26,6 +26,7 @@ class VideoDecodeEngine {
kCreated,
kNormal,
kStopped,
+ kFlushing,
kError,
};
@@ -65,6 +66,7 @@ class VideoDecodeEngine {
virtual void Stop(Task* done_cb) = 0;
virtual void Pause(Task* done_cb) = 0;
+ virtual void Seek(Task* done_cb) = 0;
// Flushes the decode engine of any buffered input packets.
virtual void Flush(Task* done_cb) = 0;
@@ -73,6 +75,8 @@ class VideoDecodeEngine {
// DecodeFrame().
virtual VideoFrame::Format GetSurfaceFormat() const = 0;
+ virtual bool ProvidesBuffer() const = 0;
+
// Returns the current state of the decode engine.
virtual State state() const = 0;
};
« no previous file with comments | « media/filters/omx_video_decoder.cc ('k') | media/filters/video_renderer_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698