Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPB_VideoEncoder_0_1 Struct Reference

Public Attributes

PP_Resource(* Create )(PP_Instance instance)
 
PP_Bool(* IsVideoEncoder )(PP_Resource resource)
 
int32_t(* GetSupportedProfiles )(PP_Resource video_encoder, struct PP_ArrayOutput output, struct PP_CompletionCallback callback)
 
int32_t(* Initialize )(PP_Resource video_encoder, PP_VideoFrame_Format input_format, const struct PP_Size *input_visible_size, PP_VideoProfile output_profile, uint32_t initial_bitrate, PP_HardwareAcceleration acceleration, struct PP_CompletionCallback callback)
 
int32_t(* GetFramesRequired )(PP_Resource video_encoder)
 
int32_t(* GetFrameCodedSize )(PP_Resource video_encoder, struct PP_Size *coded_size)
 
int32_t(* GetVideoFrame )(PP_Resource video_encoder, PP_Resource *video_frame, struct PP_CompletionCallback callback)
 
int32_t(* Encode )(PP_Resource video_encoder, PP_Resource video_frame, PP_Bool force_keyframe, struct PP_CompletionCallback callback)
 
int32_t(* GetBitstreamBuffer )(PP_Resource video_encoder, struct PP_BitstreamBuffer *bitstream_buffer, struct PP_CompletionCallback callback)
 
void(* RecycleBitstreamBuffer )(PP_Resource video_encoder, const struct PP_BitstreamBuffer *bitstream_buffer)
 
void(* RequestEncodingParametersChange )(PP_Resource video_encoder, uint32_t bitrate, uint32_t framerate)
 
void(* Close )(PP_Resource video_encoder)
 

The documentation for this struct was generated from the following file: