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

Unified Diff: media/video/video_decode_accelerator.h

Issue 7021020: Clean up video frame sizes, types in Video Decode API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 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 55d1ad12e188dbbfc3e462cfbe88ba4ea858dafc..e0250dad9f3cbd5fc727f7752d2013281fa54f41 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -182,13 +182,6 @@ class VideoDecodeAccelerator
VIDEODECODERERROR_UNEXPECTED_FLUSH,
};
- // Represents the type of data buffer to be used by the decoder.
Ami GONE FROM CHROMIUM 2011/07/18 18:33:00 Do you want to DO the TODO from picture.h now, too
vrk (LEFT CHROMIUM) 2011/07/19 01:26:08 Done.
- enum MemoryType {
- PICTUREBUFFER_MEMORYTYPE_NONE = 0,
- PICTUREBUFFER_MEMORYTYPE_SYSTEM,
- PICTUREBUFFER_MEMORYTYPE_GL_TEXTURE,
- };
-
// Interface for collaborating with picture interface to provide memory for
// output picture and blitting them.
// This interface is extended by the various layers that relay messages back
@@ -201,12 +194,9 @@ class VideoDecodeAccelerator
// Callback to notify client that decoder has been initialized.
virtual void NotifyInitializeDone() = 0;
- // Callback to tell the information needed by the client to provide decoding
- // buffer to the decoder.
+ // Callback to tell client how many and what size of buffers to provide.
virtual void ProvidePictureBuffers(
- uint32 requested_num_of_buffers,
- const gfx::Size& dimensions,
- MemoryType type) = 0;
+ uint32 requested_num_of_buffers, const gfx::Size& dimensions) = 0;
// Callback to dismiss picture buffer that was assigned earlier.
virtual void DismissPictureBuffer(int32 picture_buffer_id) = 0;
« no previous file with comments | « media/video/picture.cc ('k') | ppapi/c/dev/pp_video_dev.h » ('j') | ppapi/c/dev/pp_video_dev.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698