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

Unified Diff: media/filters/omx_video_decoder.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_decode_engine.cc ('k') | media/filters/omx_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/omx_video_decoder.h
diff --git a/media/filters/omx_video_decoder.h b/media/filters/omx_video_decoder.h
index 5f747ada6f13d7d651700a22a1ba1f1e42d8646b..7699514331f7f5a09a2a8b06e405ea051de98926 100644
--- a/media/filters/omx_video_decoder.h
+++ b/media/filters/omx_video_decoder.h
@@ -30,8 +30,10 @@ class OmxVideoDecoder : public VideoDecoder {
virtual void Initialize(DemuxerStream* stream, FilterCallback* callback);
virtual void Stop(FilterCallback* callback);
virtual void Pause(FilterCallback* callback);
+ virtual void Flush(FilterCallback* callback);
virtual void Seek(base::TimeDelta time, FilterCallback* callback);
virtual void FillThisBuffer(scoped_refptr<VideoFrame> frame);
+ virtual bool ProvidesBuffer();
virtual const MediaFormat& media_format() { return media_format_; }
private:
@@ -47,6 +49,7 @@ class OmxVideoDecoder : public VideoDecoder {
void StopCompleteTask(FilterCallback* callback);
void PauseCompleteTask(FilterCallback* callback);
+ void FlushCompleteTask(FilterCallback* callback);
void SeekCompleteTask(FilterCallback* callback);
// TODO(hclam): This is very ugly that we keep reference instead of
« no previous file with comments | « media/filters/omx_video_decode_engine.cc ('k') | media/filters/omx_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698