Chromium Code Reviews| Index: ppapi/c/dev/pp_video_dev.h |
| diff --git a/ppapi/c/dev/pp_video_dev.h b/ppapi/c/dev/pp_video_dev.h |
| index 8833818a3de4104e2e5841feb66622a65acb67f2..a2fdc8a2bea45971738fa5e47ed3351dd061142e 100644 |
| --- a/ppapi/c/dev/pp_video_dev.h |
| +++ b/ppapi/c/dev/pp_video_dev.h |
| @@ -165,16 +165,6 @@ enum PP_ColorFormat_Dev { |
| }; |
| PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_ColorFormat_Dev, 4); |
| -// Enumeration to determine which type of memory for buffer is used. |
| -enum PP_PictureBufferType_Dev { |
|
Ami GONE FROM CHROMIUM
2011/07/18 18:33:00
Technically requires bumping the PPB_ version numb
vrk (LEFT CHROMIUM)
2011/07/19 01:26:08
Makes sense; done.
|
| - PP_PICTUREBUFFERTYPE_NONE = 0, |
| - // System memory a.k.a. RAM. |
| - PP_PICTUREBUFFERTYPE_SYSTEM = 1, |
| - // GLES texture allocated using OpenGL ES APIs. |
| - PP_PICTUREBUFFERTYPE_GLESTEXTURE = 1 << 1 |
| -}; |
| -PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(PP_PictureBufferType_Dev, 4); |
| - |
| // The data structure for video bitstream buffer. |
| struct PP_VideoBitstreamBuffer_Dev { |
| // Client-specified identifier for the bitstream buffer. |
| @@ -219,26 +209,12 @@ struct PP_SysmemBuffer_Dev { |
| }; |
| // Structure to describe a decoded output frame. |
| -// The decoded pixels will always begin flush with the upper left-hand corner |
| -// of the buffer (0, 0). |
| struct PP_Picture_Dev { |
| // ID of the picture buffer where the picture is stored. |
| int32_t picture_buffer_id; |
| // ID of the bitstream from which this data was decoded. |
| int32_t bitstream_buffer_id; |
| - |
| - // Visible size of the picture. |
| - // This describes the dimensions of the picture that is intended to be |
| - // displayed from the decoded output. |
| - struct PP_Size visible_size; |
| - |
| - // Decoded size of the picture. |
| - // This describes the dimensions of the decoded output. This may be slightly |
| - // larger than the visible size because the stride is sometimes larger than |
| - // the width of the output. The plugin should handle rendering the frame |
| - // appropriately with respect to the sizes. |
| - struct PP_Size decoded_size; |
| }; |
| // Enumeration for error events that may be reported through |