Chromium Code Reviews| 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; |