f6bff04fba048c0c61d8146e97da6d93c52ebd1b
[platform/framework/web/crosswalk.git] / src / native_client_sdk / doc_generated / pepper_dev / c / struct_p_p___video_picture.html
1 {{+bindTo:partials.standard_nacl_api}}
2 <h1>PP_VideoPicture Struct Reference</h1>
3 <div id="doxygen-ref">
4 {{- dummy div to appease doxygen -}}
5   <div>
6 <!-- Generated by Doxygen 1.7.6.1 -->
7
8
9 </div>
10 <!--header-->
11 <div class="contents">
12 <!-- doxytag: class="PP_VideoPicture" --><h2>
13 Data Fields</h2><table class="memberdecls">
14
15 <tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</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&#160;</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&#160;</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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_p___video_picture.html#a0f3c7022b44215e06f98f771f75641cc">texture_size</a></td></tr>
19 </table>
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="" -->
25 <div class="memitem">
26 <div class="memproto">
27 <table class="memname">
28 <tr>
29 <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture.html#a88b392adb1304481c346b5369c46a26b">PP_VideoPicture::decode_id</a></td>
30 </tr>
31 </table>
32 </div>
33 <div class="memdoc">
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>
36 </div>
37 </div>
38 <a class="anchor" id="ae1a9b538db9e422e9f4c9126e941ea25"></a><!-- doxytag: member="PP_VideoPicture::texture_id" ref="ae1a9b538db9e422e9f4c9126e941ea25" args="" -->
39 <div class="memitem">
40 <div class="memproto">
41 <table class="memname">
42 <tr>
43 <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture.html#ae1a9b538db9e422e9f4c9126e941ea25">PP_VideoPicture::texture_id</a></td>
44 </tr>
45 </table>
46 </div>
47 <div class="memdoc">
48 <p>Texture ID in the plugin's GL context. </p>
49 <p>The plugin can use this to render the decoded picture. </p>
50 </div>
51 </div>
52 <a class="anchor" id="a0f3c7022b44215e06f98f771f75641cc"></a><!-- doxytag: member="PP_VideoPicture::texture_size" ref="a0f3c7022b44215e06f98f771f75641cc" args="" -->
53 <div class="memitem">
54 <div class="memproto">
55 <table class="memname">
56 <tr>
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>
58 </tr>
59 </table>
60 </div>
61 <div class="memdoc">
62 <p>Dimensions of the texture holding the decoded picture. </p>
63 </div>
64 </div>
65 <a class="anchor" id="a5e2d5f24f86223ad71f2efb83116f118"></a><!-- doxytag: member="PP_VideoPicture::texture_target" ref="a5e2d5f24f86223ad71f2efb83116f118" args="" -->
66 <div class="memitem">
67 <div class="memproto">
68 <table class="memname">
69 <tr>
70 <td class="memname">uint32_t <a class="el" href="struct_p_p___video_picture.html#a5e2d5f24f86223ad71f2efb83116f118">PP_VideoPicture::texture_target</a></td>
71 </tr>
72 </table>
73 </div>
74 <div class="memdoc">
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_BGRA. </p>
78 </div>
79 </div>
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>
82 </ul>
83 </div><!-- contents -->
84 </div>
85 {{/partials.standard_nacl_api}}