1 {{+bindTo:partials.standard_nacl_api}}
2 <h1>PP_VideoPicture Struct Reference</h1>
4 {{- dummy div to appease doxygen -}}
6 <!-- Generated by Doxygen 1.7.6.1 -->
11 <div class="contents">
12 <!-- doxytag: class="PP_VideoPicture" --><h2>
13 Data Fields</h2><table class="memberdecls">
15 <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___video_picture.html#a88b392adb1304481c346b5369c46a26b">decode_id</a></td></tr>
16 <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___video_picture.html#ae1a9b538db9e422e9f4c9126e941ea25">texture_id</a></td></tr>
17 <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___video_picture.html#a5e2d5f24f86223ad71f2efb83116f118">texture_target</a></td></tr>
18 <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_p_p___size.html">PP_Size</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___video_picture.html#a0f3c7022b44215e06f98f771f75641cc">texture_size</a></td></tr>
20 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
21 <div class="textblock"><p>Struct describing a decoded video picture. </p>
22 <p>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|. </p>
23 </div><hr /><h2>Field Documentation</h2>
24 <a class="anchor" id="a88b392adb1304481c346b5369c46a26b"></a><!-- doxytag: member="PP_VideoPicture::decode_id" ref="a88b392adb1304481c346b5369c46a26b" args="" -->
26 <div class="memproto">
27 <table class="memname">
29 <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture.html#a88b392adb1304481c346b5369c46a26b">PP_VideoPicture::decode_id</a></td>
34 <p>|decode_id| parameter of the Decode call which generated this picture. </p>
35 <p>See the PPB_VideoDecoder function Decode() for more details. </p>
38 <a class="anchor" id="ae1a9b538db9e422e9f4c9126e941ea25"></a><!-- doxytag: member="PP_VideoPicture::texture_id" ref="ae1a9b538db9e422e9f4c9126e941ea25" args="" -->
40 <div class="memproto">
41 <table class="memname">
43 <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture.html#ae1a9b538db9e422e9f4c9126e941ea25">PP_VideoPicture::texture_id</a></td>
48 <p>Texture ID in the plugin's GL context. </p>
49 <p>The plugin can use this to render the decoded picture. </p>
52 <a class="anchor" id="a0f3c7022b44215e06f98f771f75641cc"></a><!-- doxytag: member="PP_VideoPicture::texture_size" ref="a0f3c7022b44215e06f98f771f75641cc" args="" -->
54 <div class="memproto">
55 <table class="memname">
57 <td class="memname">struct <a class="el" href="struct_p_p___size.html">PP_Size</a> <a class="el" href="struct_p_p___video_picture.html#a0f3c7022b44215e06f98f771f75641cc">PP_VideoPicture::texture_size</a></td>
62 <p>Dimensions of the texture holding the decoded picture. </p>
65 <a class="anchor" id="a5e2d5f24f86223ad71f2efb83116f118"></a><!-- doxytag: member="PP_VideoPicture::texture_target" ref="a5e2d5f24f86223ad71f2efb83116f118" args="" -->
67 <div class="memproto">
68 <table class="memname">
70 <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture.html#a5e2d5f24f86223ad71f2efb83116f118">PP_VideoPicture::texture_target</a></td>
75 <p>The GL texture target for the decoded picture. </p>
76 <p>Possible values are: GL_TEXTURE_2D (normalized texture coordinates) GL_TEXTURE_RECTANGLE_ARB (dimension dependent texture coordinates)</p>
77 <p>The pixel format of the texture is GL_RGBA. </p>
80 <hr />The documentation for this struct was generated from the following file:<ul>
81 <li><a class="el" href="pp__codecs_8h.html">pp_codecs.h</a></li>
83 </div><!-- contents -->
85 {{/partials.standard_nacl_api}}