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

Unified Diff: media/video/video_decode_accelerator.h

Issue 7260008: Implement proper synchronization between HW video decode IPC and CommandBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing compilation errors from bots. Created 9 years, 6 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/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index c50da976f97f88ff471e076ebc91a3133966b116..f13e7d636507bf31b1c98c773b0d4e8031594a77 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -257,7 +257,7 @@ class VideoDecodeAccelerator {
// |bitstream_buffer| is the input bitstream that is sent for decoding.
//
// Returns true when command successfully accepted. Otherwise false.
scherkus (not reviewing) 2011/06/27 22:54:47 update docs
Ami GONE FROM CHROMIUM 2011/06/28 00:06:35 Done.
- virtual bool Decode(const BitstreamBuffer& bitstream_buffer) = 0;
+ virtual void Decode(const BitstreamBuffer& bitstream_buffer) = 0;
// Assigns a set of picture buffers to the video decoder.
// AssignGLESBuffers assigns texture-backed buffers.
@@ -287,7 +287,7 @@ class VideoDecodeAccelerator {
// flushing, the decode will call NotifyFlushDone().
//
// Returns true when command successfully accepted. Otherwise false.
scherkus (not reviewing) 2011/06/27 22:54:47 update docs
Ami GONE FROM CHROMIUM 2011/06/28 00:06:35 Done.
- virtual bool Flush() = 0;
+ virtual void Flush() = 0;
// Aborts the decoder. Decode will abort the decoding as soon as possible and
// will not output anything. NotifyAbortDone() is called as soon as abort has
@@ -295,7 +295,7 @@ class VideoDecodeAccelerator {
// when there has not been callbacks to dismiss them.
//
// Returns true when command successfully accepted. Otherwise false.
scherkus (not reviewing) 2011/06/27 22:54:47 update docs
Ami GONE FROM CHROMIUM 2011/06/28 00:06:35 Done.
- virtual bool Abort() = 0;
+ virtual void Abort() = 0;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698