Chromium Code Reviews| Index: ppapi/cpp/dev/video_decoder_dev.h |
| diff --git a/ppapi/cpp/dev/video_decoder_dev.h b/ppapi/cpp/dev/video_decoder_dev.h |
| index ff7be2a8ab972b687f148fd3bcd6dca35266bd89..0acc75fe3b85ae13ba5a28dd79ed8aa288785438 100644 |
| --- a/ppapi/cpp/dev/video_decoder_dev.h |
| +++ b/ppapi/cpp/dev/video_decoder_dev.h |
| @@ -8,6 +8,7 @@ |
| #include <vector> |
| #include "ppapi/c/dev/pp_video_dev.h" |
| +#include "ppapi/c/dev/ppb_video_decoder_dev.h" |
| #include "ppapi/cpp/completion_callback.h" |
| #include "ppapi/cpp/dev/buffer_dev.h" |
| #include "ppapi/cpp/resource.h" |
| @@ -70,9 +71,9 @@ class VideoDecoder : public Resource { |
| // AssignGLESBuffers provides texture-backed buffers, whereas |
| // AssignSysmemBuffers provides system memory-backed buffers. |
| void AssignGLESBuffers(uint32_t no_of_buffers, |
| - const PP_GLESBuffer_Dev& buffers); |
| + const std::vector<PP_GLESBuffer_Dev>& buffers); |
| void AssignSysmemBuffers(uint32_t no_of_buffers, |
| - const PP_SysmemBuffer_Dev& buffers); |
| + const std::vector<PP_SysmemBuffer_Dev>& buffers); |
| // Decodes given bitstream buffer. Once decoder is done with processing |
| // |bitstream_buffer| is will call |callback| with provided user data. |
| @@ -95,6 +96,9 @@ class VideoDecoder : public Resource { |
| // buffers for video decoding. |
| Client* client_; |
| + // Pointer to the underlying C interface of the video decoder. |
| + PPB_VideoDecoder_Dev* ppb_videodecoder_dev_; |
|
Ami GONE FROM CHROMIUM
2011/05/24 17:55:07
Unused?
|
| + |
| // Suppress compiler-generated copy constructors. |
| VideoDecoder(const VideoDecoder&); |
| void operator=(const VideoDecoder&); |