5 #ifndef PPAPI_CPP_DEV_VIDEO_DECODER_DEV_H_
6 #define PPAPI_CPP_DEV_VIDEO_DECODER_DEV_H_
10 #include "ppapi/c/dev/pp_video_dev.h"
11 #include "ppapi/cpp/completion_callback.h"
12 #include "ppapi/cpp/dev/buffer_dev.h"
13 #include "ppapi/cpp/resource.h"
29 PP_VideoDecoder_Profile profile);
36 int32_t Decode(
const PP_VideoBitstreamBuffer_Dev& bitstream_buffer,
45 #endif // PPAPI_CPP_DEV_VIDEO_DECODER_DEV_H_
int32_t Flush(const CompletionCallback &callback)
This class represents a 3D rendering context in the browser.
int32_t Decode(const PP_VideoBitstreamBuffer_Dev &bitstream_buffer, const CompletionCallback &callback)
void ReusePictureBuffer(int32_t picture_buffer_id)
VideoDecoder_Dev(const InstanceHandle &instance, const Graphics3D &context, PP_VideoDecoder_Profile profile)
virtual ~VideoDecoder_Dev()
A reference counted module resource.
void AssignPictureBuffers(const std::vector< PP_PictureBuffer_Dev > &buffers)
int32_t Reset(const CompletionCallback &callback)