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 807f9232fae7a00eeb7db587668b6fd000dd18e9..46c6d873371658dc92b04c96cfa7afbe3ff14b12 100644 |
| --- a/media/video/video_decode_accelerator.h |
| +++ b/media/video/video_decode_accelerator.h |
| @@ -170,13 +170,6 @@ class VideoDecodeAccelerator { |
| VIDEODECODERERROR_UNEXPECTED_FLUSH, |
| }; |
| - // Represents the type of data buffer to be used by the decoder. |
| - enum MemoryType { |
| - PICTUREBUFFER_MEMORYTYPE_NONE = 0, |
| - PICTUREBUFFER_MEMORYTYPE_SYSTEM, |
| - PICTUREBUFFER_MEMORYTYPE_GL_TEXTURE, |
| - }; |
|
Ville-Mikko Rautio
2011/05/17 08:58:49
See the comment in pp_video_dev.h
|
| - |
| // 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 |
| @@ -186,12 +179,9 @@ class VideoDecodeAccelerator { |
| public: |
| virtual ~Client() {} |
| - // 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; |