Pepper_42_C_interfaces
|
#include <pp_codecs.h>
Public Attributes | |
uint32_t | decode_id |
uint32_t | texture_id |
uint32_t | texture_target |
struct PP_Size | texture_size |
struct PP_Rect | visible_rect |
Struct describing a decoded video picture. The decoded picture data is stored in the GL texture corresponding to |texture_id|. The plugin can determine which Decode call generated the picture using |decode_id|.
Definition at line 73 of file pp_codecs.h.
uint32_t PP_VideoPicture::decode_id |
|decode_id| parameter of the Decode call which generated this picture. See the PPB_VideoDecoder function Decode() for more details.
Definition at line 78 of file pp_codecs.h.
uint32_t PP_VideoPicture::texture_id |
Texture ID in the plugin's GL context. The plugin can use this to render the decoded picture.
Definition at line 83 of file pp_codecs.h.
struct PP_Size PP_VideoPicture::texture_size |
Dimensions of the texture holding the decoded picture.
Definition at line 96 of file pp_codecs.h.
uint32_t PP_VideoPicture::texture_target |
The GL texture target for the decoded picture. Possible values are: GL_TEXTURE_2D GL_TEXTURE_RECTANGLE_ARB GL_TEXTURE_EXTERNAL_OES
The pixel format of the texture is GL_RGBA.
Definition at line 92 of file pp_codecs.h.
struct PP_Rect PP_VideoPicture::visible_rect |
The visible subrectangle of the picture. The plugin should display only this part of the picture.
Definition at line 101 of file pp_codecs.h.