5 #ifndef PPAPI_CPP_VIDEO_DECODER_H_
6 #define PPAPI_CPP_VIDEO_DECODER_H_
8 #include "ppapi/c/pp_codecs.h"
9 #include "ppapi/c/pp_size.h"
82 PP_VideoProfile profile,
83 PP_HardwareAcceleration acceleration,
84 uint32_t min_picture_count,
183 #endif // PPAPI_CPP_VIDEO_DECODER_H_
This class represents a 3D rendering context in the browser.
int32_t Initialize(const Graphics3D &graphics3d_context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, uint32_t min_picture_count, const CompletionCallback &callback)
int32_t Flush(const CompletionCallback &callback)
void RecyclePicture(const PP_VideoPicture &picture)
int32_t Decode(uint32_t decode_id, uint32_t size, const void *buffer, const CompletionCallback &callback)
int32_t GetPicture(const CompletionCallbackWithOutput< PP_VideoPicture > &callback)
int32_t Reset(const CompletionCallback &callback)
Returns PP_ERROR_FAILED if the decoder isn't initialized.
A reference counted module resource.