Data Fields

uint32_t decode_id
uint32_t texture_id
uint32_t texture_target
struct PP_Size texture_size
struct PP_Rect visible_rect

Detailed Description

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|.


Field Documentation

|decode_id| parameter of the Decode call which generated this picture.

See the PPB_VideoDecoder function Decode() for more details.

Texture ID in the plugin's GL context.

The plugin can use this to render the decoded picture.

Dimensions of the texture holding the decoded picture.

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.

The visible subrectangle of the picture.

The plugin should display only this part of the picture.


The documentation for this struct was generated from the following file:
This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.