Chris@1
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
Chris@1
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
Chris@1
|
3 <title>FLAC: FLAC__StreamMetadata_Picture Struct Reference</title>
|
Chris@1
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
|
Chris@1
|
5 </head><body>
|
Chris@1
|
6 <!-- Generated by Doxygen 1.4.2 -->
|
Chris@1
|
7 <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
|
Chris@1
|
8 <h1>FLAC__StreamMetadata_Picture Struct Reference<br>
|
Chris@1
|
9 <small>
|
Chris@1
|
10 [<a class="el" href="group__flac__format.html">FLAC/format.h: format components</a>]</small>
|
Chris@1
|
11 </h1><code>#include <<a class="el" href="format_8h-source.html">format.h</a>></code>
|
Chris@1
|
12 <p>
|
Chris@1
|
13 <a href="structFLAC____StreamMetadata__Picture-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
|
Chris@1
|
14 FLAC PICTURE structure. (See the <a href="../format.html#metadata_block_picture">format specification</a> for the full description of each field.)
|
Chris@1
|
15 <p>
|
Chris@1
|
16 <table border="0" cellpadding="0" cellspacing="0">
|
Chris@1
|
17 <tr><td></td></tr>
|
Chris@1
|
18 <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
|
Chris@1
|
19 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__flac__format.html#ga114">FLAC__StreamMetadata_Picture_Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo0">type</a></td></tr>
|
Chris@1
|
20
|
Chris@1
|
21 <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo1">mime_type</a></td></tr>
|
Chris@1
|
22
|
Chris@1
|
23 <tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__byte * </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo2">description</a></td></tr>
|
Chris@1
|
24
|
Chris@1
|
25 <tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo3">width</a></td></tr>
|
Chris@1
|
26
|
Chris@1
|
27 <tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo4">height</a></td></tr>
|
Chris@1
|
28
|
Chris@1
|
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo5">depth</a></td></tr>
|
Chris@1
|
30
|
Chris@1
|
31 <tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo6">colors</a></td></tr>
|
Chris@1
|
32
|
Chris@1
|
33 <tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo7">data_length</a></td></tr>
|
Chris@1
|
34
|
Chris@1
|
35 <tr><td class="memItemLeft" nowrap align="right" valign="top">FLAC__byte * </td><td class="memItemRight" valign="bottom"><a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo8">data</a></td></tr>
|
Chris@1
|
36
|
Chris@1
|
37 </table>
|
Chris@1
|
38 <hr><h2>Member Data Documentation</h2>
|
Chris@1
|
39 <a class="anchor" name="FLAC____StreamMetadata__Pictureo0" doxytag="FLAC__StreamMetadata_Picture::type"></a><p>
|
Chris@1
|
40 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
41 <tr>
|
Chris@1
|
42 <td class="mdRow">
|
Chris@1
|
43 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
44 <tr>
|
Chris@1
|
45 <td class="md" nowrap valign="top"><a class="el" href="group__flac__format.html#ga114">FLAC__StreamMetadata_Picture_Type</a> <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo0">FLAC__StreamMetadata_Picture::type</a> </td>
|
Chris@1
|
46 </tr>
|
Chris@1
|
47 </table>
|
Chris@1
|
48 </td>
|
Chris@1
|
49 </tr>
|
Chris@1
|
50 </table>
|
Chris@1
|
51 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
52 <tr>
|
Chris@1
|
53 <td>
|
Chris@1
|
54
|
Chris@1
|
55 </td>
|
Chris@1
|
56 <td>
|
Chris@1
|
57
|
Chris@1
|
58 <p>
|
Chris@1
|
59 The kind of picture stored. </td>
|
Chris@1
|
60 </tr>
|
Chris@1
|
61 </table>
|
Chris@1
|
62 <a class="anchor" name="FLAC____StreamMetadata__Pictureo1" doxytag="FLAC__StreamMetadata_Picture::mime_type"></a><p>
|
Chris@1
|
63 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
64 <tr>
|
Chris@1
|
65 <td class="mdRow">
|
Chris@1
|
66 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
67 <tr>
|
Chris@1
|
68 <td class="md" nowrap valign="top">char* <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo1">FLAC__StreamMetadata_Picture::mime_type</a> </td>
|
Chris@1
|
69 </tr>
|
Chris@1
|
70 </table>
|
Chris@1
|
71 </td>
|
Chris@1
|
72 </tr>
|
Chris@1
|
73 </table>
|
Chris@1
|
74 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
75 <tr>
|
Chris@1
|
76 <td>
|
Chris@1
|
77
|
Chris@1
|
78 </td>
|
Chris@1
|
79 <td>
|
Chris@1
|
80
|
Chris@1
|
81 <p>
|
Chris@1
|
82 Picture data's MIME type, in ASCII printable characters 0x20-0x7e, NUL terminated. For best compatibility with players, use picture data of MIME type <code>image/jpeg</code> or <code>image/png</code>. A MIME type of '-->' is also allowed, in which case the picture data should be a complete URL. In file storage, the MIME type is stored as a 32-bit length followed by the ASCII string with no NUL terminator, but is converted to a plain C string in this structure for convenience. </td>
|
Chris@1
|
83 </tr>
|
Chris@1
|
84 </table>
|
Chris@1
|
85 <a class="anchor" name="FLAC____StreamMetadata__Pictureo2" doxytag="FLAC__StreamMetadata_Picture::description"></a><p>
|
Chris@1
|
86 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
87 <tr>
|
Chris@1
|
88 <td class="mdRow">
|
Chris@1
|
89 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
90 <tr>
|
Chris@1
|
91 <td class="md" nowrap valign="top">FLAC__byte* <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo2">FLAC__StreamMetadata_Picture::description</a> </td>
|
Chris@1
|
92 </tr>
|
Chris@1
|
93 </table>
|
Chris@1
|
94 </td>
|
Chris@1
|
95 </tr>
|
Chris@1
|
96 </table>
|
Chris@1
|
97 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
98 <tr>
|
Chris@1
|
99 <td>
|
Chris@1
|
100
|
Chris@1
|
101 </td>
|
Chris@1
|
102 <td>
|
Chris@1
|
103
|
Chris@1
|
104 <p>
|
Chris@1
|
105 Picture's description in UTF-8, NUL terminated. In file storage, the description is stored as a 32-bit length followed by the UTF-8 string with no NUL terminator, but is converted to a plain C string in this structure for convenience. </td>
|
Chris@1
|
106 </tr>
|
Chris@1
|
107 </table>
|
Chris@1
|
108 <a class="anchor" name="FLAC____StreamMetadata__Pictureo3" doxytag="FLAC__StreamMetadata_Picture::width"></a><p>
|
Chris@1
|
109 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
110 <tr>
|
Chris@1
|
111 <td class="mdRow">
|
Chris@1
|
112 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
113 <tr>
|
Chris@1
|
114 <td class="md" nowrap valign="top">FLAC__uint32 <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo3">FLAC__StreamMetadata_Picture::width</a> </td>
|
Chris@1
|
115 </tr>
|
Chris@1
|
116 </table>
|
Chris@1
|
117 </td>
|
Chris@1
|
118 </tr>
|
Chris@1
|
119 </table>
|
Chris@1
|
120 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
121 <tr>
|
Chris@1
|
122 <td>
|
Chris@1
|
123
|
Chris@1
|
124 </td>
|
Chris@1
|
125 <td>
|
Chris@1
|
126
|
Chris@1
|
127 <p>
|
Chris@1
|
128 Picture's width in pixels. </td>
|
Chris@1
|
129 </tr>
|
Chris@1
|
130 </table>
|
Chris@1
|
131 <a class="anchor" name="FLAC____StreamMetadata__Pictureo4" doxytag="FLAC__StreamMetadata_Picture::height"></a><p>
|
Chris@1
|
132 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
133 <tr>
|
Chris@1
|
134 <td class="mdRow">
|
Chris@1
|
135 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
136 <tr>
|
Chris@1
|
137 <td class="md" nowrap valign="top">FLAC__uint32 <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo4">FLAC__StreamMetadata_Picture::height</a> </td>
|
Chris@1
|
138 </tr>
|
Chris@1
|
139 </table>
|
Chris@1
|
140 </td>
|
Chris@1
|
141 </tr>
|
Chris@1
|
142 </table>
|
Chris@1
|
143 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
144 <tr>
|
Chris@1
|
145 <td>
|
Chris@1
|
146
|
Chris@1
|
147 </td>
|
Chris@1
|
148 <td>
|
Chris@1
|
149
|
Chris@1
|
150 <p>
|
Chris@1
|
151 Picture's height in pixels. </td>
|
Chris@1
|
152 </tr>
|
Chris@1
|
153 </table>
|
Chris@1
|
154 <a class="anchor" name="FLAC____StreamMetadata__Pictureo5" doxytag="FLAC__StreamMetadata_Picture::depth"></a><p>
|
Chris@1
|
155 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
156 <tr>
|
Chris@1
|
157 <td class="mdRow">
|
Chris@1
|
158 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
159 <tr>
|
Chris@1
|
160 <td class="md" nowrap valign="top">FLAC__uint32 <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo5">FLAC__StreamMetadata_Picture::depth</a> </td>
|
Chris@1
|
161 </tr>
|
Chris@1
|
162 </table>
|
Chris@1
|
163 </td>
|
Chris@1
|
164 </tr>
|
Chris@1
|
165 </table>
|
Chris@1
|
166 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
167 <tr>
|
Chris@1
|
168 <td>
|
Chris@1
|
169
|
Chris@1
|
170 </td>
|
Chris@1
|
171 <td>
|
Chris@1
|
172
|
Chris@1
|
173 <p>
|
Chris@1
|
174 Picture's color depth in bits-per-pixel. </td>
|
Chris@1
|
175 </tr>
|
Chris@1
|
176 </table>
|
Chris@1
|
177 <a class="anchor" name="FLAC____StreamMetadata__Pictureo6" doxytag="FLAC__StreamMetadata_Picture::colors"></a><p>
|
Chris@1
|
178 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
179 <tr>
|
Chris@1
|
180 <td class="mdRow">
|
Chris@1
|
181 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
182 <tr>
|
Chris@1
|
183 <td class="md" nowrap valign="top">FLAC__uint32 <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo6">FLAC__StreamMetadata_Picture::colors</a> </td>
|
Chris@1
|
184 </tr>
|
Chris@1
|
185 </table>
|
Chris@1
|
186 </td>
|
Chris@1
|
187 </tr>
|
Chris@1
|
188 </table>
|
Chris@1
|
189 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
190 <tr>
|
Chris@1
|
191 <td>
|
Chris@1
|
192
|
Chris@1
|
193 </td>
|
Chris@1
|
194 <td>
|
Chris@1
|
195
|
Chris@1
|
196 <p>
|
Chris@1
|
197 For indexed palettes (like GIF), picture's number of colors (the number of palette entries), or <code>0</code> for non-indexed (i.e. 2^depth). </td>
|
Chris@1
|
198 </tr>
|
Chris@1
|
199 </table>
|
Chris@1
|
200 <a class="anchor" name="FLAC____StreamMetadata__Pictureo7" doxytag="FLAC__StreamMetadata_Picture::data_length"></a><p>
|
Chris@1
|
201 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
202 <tr>
|
Chris@1
|
203 <td class="mdRow">
|
Chris@1
|
204 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
205 <tr>
|
Chris@1
|
206 <td class="md" nowrap valign="top">FLAC__uint32 <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo7">FLAC__StreamMetadata_Picture::data_length</a> </td>
|
Chris@1
|
207 </tr>
|
Chris@1
|
208 </table>
|
Chris@1
|
209 </td>
|
Chris@1
|
210 </tr>
|
Chris@1
|
211 </table>
|
Chris@1
|
212 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
213 <tr>
|
Chris@1
|
214 <td>
|
Chris@1
|
215
|
Chris@1
|
216 </td>
|
Chris@1
|
217 <td>
|
Chris@1
|
218
|
Chris@1
|
219 <p>
|
Chris@1
|
220 Length of binary picture data in bytes. </td>
|
Chris@1
|
221 </tr>
|
Chris@1
|
222 </table>
|
Chris@1
|
223 <a class="anchor" name="FLAC____StreamMetadata__Pictureo8" doxytag="FLAC__StreamMetadata_Picture::data"></a><p>
|
Chris@1
|
224 <table class="mdTable" cellpadding="2" cellspacing="0">
|
Chris@1
|
225 <tr>
|
Chris@1
|
226 <td class="mdRow">
|
Chris@1
|
227 <table cellpadding="0" cellspacing="0" border="0">
|
Chris@1
|
228 <tr>
|
Chris@1
|
229 <td class="md" nowrap valign="top">FLAC__byte* <a class="el" href="structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo8">FLAC__StreamMetadata_Picture::data</a> </td>
|
Chris@1
|
230 </tr>
|
Chris@1
|
231 </table>
|
Chris@1
|
232 </td>
|
Chris@1
|
233 </tr>
|
Chris@1
|
234 </table>
|
Chris@1
|
235 <table cellspacing="5" cellpadding="0" border="0">
|
Chris@1
|
236 <tr>
|
Chris@1
|
237 <td>
|
Chris@1
|
238
|
Chris@1
|
239 </td>
|
Chris@1
|
240 <td>
|
Chris@1
|
241
|
Chris@1
|
242 <p>
|
Chris@1
|
243 Binary picture data. </td>
|
Chris@1
|
244 </tr>
|
Chris@1
|
245 </table>
|
Chris@1
|
246 <hr>The documentation for this struct was generated from the following file:<ul>
|
Chris@1
|
247 <li>include/FLAC/<a class="el" href="format_8h-source.html">format.h</a></ul>
|
Chris@1
|
248
|
Chris@1
|
249 <hr size="1">
|
Chris@1
|
250 <div class="copyright">
|
Chris@1
|
251 <!-- @@@ oh so hacky -->
|
Chris@1
|
252 <table>
|
Chris@1
|
253 <tr>
|
Chris@1
|
254 <td align="left">
|
Chris@1
|
255 Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
Chris@1
|
256 </td>
|
Chris@1
|
257 <td width="1%" align="right">
|
Chris@1
|
258 <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
|
Chris@1
|
259 </td>
|
Chris@1
|
260 </tr>
|
Chris@1
|
261 </table>
|
Chris@1
|
262 </div>
|
Chris@1
|
263 <!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
|
Chris@1
|
264 <!-- Permission is granted to copy, distribute and/or modify this document -->
|
Chris@1
|
265 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
|
Chris@1
|
266 <!-- or any later version published by the Free Software Foundation; -->
|
Chris@1
|
267 <!-- with no invariant sections. -->
|
Chris@1
|
268 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
|
Chris@1
|
269 </body>
|
Chris@1
|
270 </html>
|