8 #ifndef PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_
9 #define PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_
11 #include "ppapi/c/dev/pp_video_dev.h"
12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_completion_callback.h"
14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_resource.h"
17 #include "ppapi/c/pp_size.h"
18 #include "ppapi/c/pp_stdint.h"
20 #define PPB_VIDEODECODER_DEV_INTERFACE_0_16 "PPB_VideoDecoder(Dev);0.16"
21 #define PPB_VIDEODECODER_DEV_INTERFACE PPB_VIDEODECODER_DEV_INTERFACE_0_16
105 uint32_t no_of_buffers,
119 int32_t picture_buffer_id);
int32_t(* Flush)(PP_Resource video_decoder, struct PP_CompletionCallback callback)
void(* ReusePictureBuffer)(PP_Resource video_decoder, int32_t picture_buffer_id)
void(* AssignPictureBuffers)(PP_Resource video_decoder, uint32_t no_of_buffers, const struct PP_PictureBuffer_Dev buffers[])
int32_t(* Reset)(PP_Resource video_decoder, struct PP_CompletionCallback callback)
void(* Destroy)(PP_Resource video_decoder)
PP_Bool(* IsVideoDecoder)(PP_Resource resource)
PP_Resource(* Create)(PP_Instance instance, PP_Resource context, PP_VideoDecoder_Profile profile)
int32_t(* Decode)(PP_Resource video_decoder, const struct PP_VideoBitstreamBuffer_Dev *bitstream_buffer, struct PP_CompletionCallback callback)