| {{+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.html#a88b392adb1304481c346b5369c46a26b">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.html#ae1a9b538db9e422e9f4c9126e941ea25">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.html#a5e2d5f24f86223ad71f2efb83116f118">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.html#a0f3c7022b44215e06f98f771f75641cc">texture_size</a></td></tr> |
| <tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_p_p___rect.html">PP_Rect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___video_picture.html#a1068a6b0ec8376cadcc7b08e607085f2">visible_rect</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="a88b392adb1304481c346b5369c46a26b"></a><!-- doxytag: member="PP_VideoPicture::decode_id" ref="a88b392adb1304481c346b5369c46a26b" 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.html#a88b392adb1304481c346b5369c46a26b">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="ae1a9b538db9e422e9f4c9126e941ea25"></a><!-- doxytag: member="PP_VideoPicture::texture_id" ref="ae1a9b538db9e422e9f4c9126e941ea25" 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.html#ae1a9b538db9e422e9f4c9126e941ea25">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="a0f3c7022b44215e06f98f771f75641cc"></a><!-- doxytag: member="PP_VideoPicture::texture_size" ref="a0f3c7022b44215e06f98f771f75641cc" 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.html#a0f3c7022b44215e06f98f771f75641cc">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="a5e2d5f24f86223ad71f2efb83116f118"></a><!-- doxytag: member="PP_VideoPicture::texture_target" ref="a5e2d5f24f86223ad71f2efb83116f118" 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.html#a5e2d5f24f86223ad71f2efb83116f118">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> |
| <a class="anchor" id="a1068a6b0ec8376cadcc7b08e607085f2"></a><!-- doxytag: member="PP_VideoPicture::visible_rect" ref="a1068a6b0ec8376cadcc7b08e607085f2" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">struct <a class="el" href="struct_p_p___rect.html">PP_Rect</a> <a class="el" href="struct_p_p___video_picture.html#a1068a6b0ec8376cadcc7b08e607085f2">PP_VideoPicture::visible_rect</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| <p>The visible subrectangle of the picture. </p> |
| <p>The plugin should display only this part of the picture. </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}} |