| {{+bindTo:partials.standard_nacl_api}} |
| <h1>PP_VideoPicture Struct Reference</h1> |
| <div id="doxygen-ref"> |
| {{- dummy div to appease doxygen -}} |
| <div> |
| <!-- Generated by Doxygen 1.7.6.1 --> |
| |
| |
| </div> |
| <!--header--> |
| <div class="contents"> |
| <!-- doxytag: class="PP_VideoPicture" --><h2> |
| Data Fields</h2><table class="memberdecls"> |
| |
| <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__0__1.html#a5745b95f0df115201c6ac1eab564cf2e">decode_id</a></td></tr> |
| <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__0__1.html#a8ee7a6fdddbf71d429a16f7779af6f0f">texture_id</a></td></tr> |
| <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__0__1.html#af73723a3d48c5b8ae027826dccfdc88c">texture_target</a></td></tr> |
| <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__0__1.html#aeed32ff6cc3c52d51b0a5179904e5676">texture_size</a></td></tr> |
| </table> |
| <hr /><a name="details" id="details"></a><h2>Detailed Description</h2> |
| <div class="textblock"><p>Struct describing a decoded video picture. </p> |
| <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> |
| </div><hr /><h2>Field Documentation</h2> |
| <a class="anchor" id="a5745b95f0df115201c6ac1eab564cf2e"></a><!-- doxytag: member="PP_VideoPicture::decode_id" ref="a5745b95f0df115201c6ac1eab564cf2e" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture__0__1.html#a5745b95f0df115201c6ac1eab564cf2e">PP_VideoPicture::decode_id</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>|decode_id| parameter of the Decode call which generated this picture. </p> |
| <p>See the PPB_VideoDecoder function Decode() for more details. </p> |
| </div> |
| </div> |
| <a class="anchor" id="a8ee7a6fdddbf71d429a16f7779af6f0f"></a><!-- doxytag: member="PP_VideoPicture::texture_id" ref="a8ee7a6fdddbf71d429a16f7779af6f0f" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture__0__1.html#a8ee7a6fdddbf71d429a16f7779af6f0f">PP_VideoPicture::texture_id</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Texture ID in the plugin's GL context. </p> |
| <p>The plugin can use this to render the decoded picture. </p> |
| </div> |
| </div> |
| <a class="anchor" id="aeed32ff6cc3c52d51b0a5179904e5676"></a><!-- doxytag: member="PP_VideoPicture::texture_size" ref="aeed32ff6cc3c52d51b0a5179904e5676" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <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__0__1.html#aeed32ff6cc3c52d51b0a5179904e5676">PP_VideoPicture::texture_size</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>Dimensions of the texture holding the decoded picture. </p> |
| </div> |
| </div> |
| <a class="anchor" id="af73723a3d48c5b8ae027826dccfdc88c"></a><!-- doxytag: member="PP_VideoPicture::texture_target" ref="af73723a3d48c5b8ae027826dccfdc88c" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture__0__1.html#af73723a3d48c5b8ae027826dccfdc88c">PP_VideoPicture::texture_target</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>The GL texture target for the decoded picture. </p> |
| <p>Possible values are: GL_TEXTURE_2D GL_TEXTURE_RECTANGLE_ARB GL_TEXTURE_EXTERNAL_OES</p> |
| <p>The pixel format of the texture is GL_RGBA. </p> |
| </div> |
| </div> |
| <hr />The documentation for this struct was generated from the following file:<ul> |
| <li><a class="el" href="pp__codecs_8h.html">pp_codecs.h</a></li> |
| </ul> |
| </div><!-- contents --> |
| </div> |
| {{/partials.standard_nacl_api}} |