2 <!-- This file was automatically generated from C sources - DO NOT EDIT!
3 To affect the contents of this file, edit the original C definitions,
4 and/or use gtk-doc annotations. -->
5 <repository version="1.2"
6 xmlns="http://www.gtk.org/introspection/core/1.0"
7 xmlns:c="http://www.gtk.org/introspection/c/1.0"
8 xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9 <include name="GLib" version="2.0"/>
10 <include name="GModule" version="2.0"/>
11 <include name="GObject" version="2.0"/>
12 <include name="Gst" version="0.10"/>
13 <include name="GstAudio" version="0.10"/>
14 <include name="GstBase" version="0.10"/>
15 <include name="GstInterfaces" version="0.10"/>
16 <include name="GstTag" version="0.10"/>
17 <include name="libxml2" version="2.0"/>
18 <package name="gstreamer-riff-0.10"/>
19 <c:include name="gst/riff/riff-ids.h"/>
20 <c:include name="gst/riff/riff-media.h"/>
21 <c:include name="gst/riff/riff-read.h"/>
22 <namespace name="GstRiff"
24 shared-library="libgstriff-0.10.so.0"
25 c:identifier-prefixes="Gst"
26 c:symbol-prefixes="gst">
27 <constant name="RIFF_IBM_FORMAT_ADPCM" value="259">
28 <type name="gint" c:type="gint"/>
30 <constant name="RIFF_IBM_FORMAT_ALAW" value="258">
31 <type name="gint" c:type="gint"/>
33 <constant name="RIFF_IBM_FORMAT_MULAW" value="257">
34 <type name="gint" c:type="gint"/>
36 <constant name="RIFF_IF_KEYFRAME" value="16">
37 <type name="gint" c:type="gint"/>
39 <constant name="RIFF_IF_LIST" value="1">
40 <type name="gint" c:type="gint"/>
42 <constant name="RIFF_IF_NO_TIME" value="256">
43 <type name="gint" c:type="gint"/>
45 <constant name="RIFF_STRH_DISABLED" value="1">
46 <type name="gint" c:type="gint"/>
48 <constant name="RIFF_STRH_VIDEOPALCHANGES" value="65536">
49 <type name="gint" c:type="gint"/>
51 <constant name="RIFF_WAVE_FORMAT_A52" value="8192">
52 <type name="gint" c:type="gint"/>
54 <constant name="RIFF_WAVE_FORMAT_AAC" value="255">
55 <type name="gint" c:type="gint"/>
57 <constant name="RIFF_WAVE_FORMAT_AAC_AC" value="16707">
58 <type name="gint" c:type="gint"/>
60 <constant name="RIFF_WAVE_FORMAT_AAC_pm" value="28781">
61 <type name="gint" c:type="gint"/>
63 <constant name="RIFF_WAVE_FORMAT_ADPCM" value="2">
64 <type name="gint" c:type="gint"/>
66 <constant name="RIFF_WAVE_FORMAT_ADPCM_IMA_DK3" value="98">
67 <type name="gint" c:type="gint"/>
69 <constant name="RIFF_WAVE_FORMAT_ADPCM_IMA_DK4" value="97">
70 <type name="gint" c:type="gint"/>
72 <constant name="RIFF_WAVE_FORMAT_ADPCM_IMA_WAV" value="105">
73 <type name="gint" c:type="gint"/>
75 <constant name="RIFF_WAVE_FORMAT_ALAW" value="6">
76 <type name="gint" c:type="gint"/>
78 <constant name="RIFF_WAVE_FORMAT_AMR_NB" value="87">
79 <type name="gint" c:type="gint"/>
81 <constant name="RIFF_WAVE_FORMAT_AMR_WB" value="88">
82 <type name="gint" c:type="gint"/>
84 <constant name="RIFF_WAVE_FORMAT_APTX" value="37">
85 <type name="gint" c:type="gint"/>
87 <constant name="RIFF_WAVE_FORMAT_AUDIOFILE_AF10" value="38">
88 <type name="gint" c:type="gint"/>
90 <constant name="RIFF_WAVE_FORMAT_AUDIOFILE_AF36" value="36">
91 <type name="gint" c:type="gint"/>
93 <constant name="RIFF_WAVE_FORMAT_BTV_DIGITAL" value="1024">
94 <type name="gint" c:type="gint"/>
96 <constant name="RIFF_WAVE_FORMAT_CANOPUS_ATRAC" value="99">
97 <type name="gint" c:type="gint"/>
99 <constant name="RIFF_WAVE_FORMAT_CIRRUS" value="96">
100 <type name="gint" c:type="gint"/>
102 <constant name="RIFF_WAVE_FORMAT_CONTROL_RES_CR10" value="55">
103 <type name="gint" c:type="gint"/>
105 <constant name="RIFF_WAVE_FORMAT_CONTROL_RES_VQLPC" value="52">
106 <type name="gint" c:type="gint"/>
108 <constant name="RIFF_WAVE_FORMAT_CREATIVE_ADPCM" value="512">
109 <type name="gint" c:type="gint"/>
111 <constant name="RIFF_WAVE_FORMAT_CREATIVE_FASTSPEECH10" value="515">
112 <type name="gint" c:type="gint"/>
114 <constant name="RIFF_WAVE_FORMAT_CREATIVE_FASTSPEECH8" value="514">
115 <type name="gint" c:type="gint"/>
117 <constant name="RIFF_WAVE_FORMAT_CS2" value="608">
118 <type name="gint" c:type="gint"/>
120 <constant name="RIFF_WAVE_FORMAT_CS_IMAADPCM" value="57">
121 <type name="gint" c:type="gint"/>
123 <constant name="RIFF_WAVE_FORMAT_CU_CODEC" value="25">
124 <type name="gint" c:type="gint"/>
126 <constant name="RIFF_WAVE_FORMAT_DF_G726" value="133">
127 <type name="gint" c:type="gint"/>
129 <constant name="RIFF_WAVE_FORMAT_DF_GSM610" value="134">
130 <type name="gint" c:type="gint"/>
132 <constant name="RIFF_WAVE_FORMAT_DIALOGIC_OKI_ADPCM" value="23">
133 <type name="gint" c:type="gint"/>
135 <constant name="RIFF_WAVE_FORMAT_DIGIADPCM" value="54">
136 <type name="gint" c:type="gint"/>
138 <constant name="RIFF_WAVE_FORMAT_DIGIFIX" value="22">
139 <type name="gint" c:type="gint"/>
141 <constant name="RIFF_WAVE_FORMAT_DIGIREAL" value="53">
142 <type name="gint" c:type="gint"/>
144 <constant name="RIFF_WAVE_FORMAT_DIGISTD" value="21">
145 <type name="gint" c:type="gint"/>
147 <constant name="RIFF_WAVE_FORMAT_DIGITAL_G723" value="291">
148 <type name="gint" c:type="gint"/>
150 <constant name="RIFF_WAVE_FORMAT_DOLBY_AC2" value="48">
151 <type name="gint" c:type="gint"/>
153 <constant name="RIFF_WAVE_FORMAT_DOLBY_AC3_SPDIF" value="146">
154 <type name="gint" c:type="gint"/>
156 <constant name="RIFF_WAVE_FORMAT_DSAT_DISPLAY" value="103">
157 <type name="gint" c:type="gint"/>
159 <constant name="RIFF_WAVE_FORMAT_DSP_TRUESPEECH" value="34">
160 <type name="gint" c:type="gint"/>
162 <constant name="RIFF_WAVE_FORMAT_DTS" value="8193">
163 <type name="gint" c:type="gint"/>
165 <constant name="RIFF_WAVE_FORMAT_DVI_ADPCM" value="17">
166 <type name="gint" c:type="gint"/>
168 <constant name="RIFF_WAVE_FORMAT_ECHOSC1" value="35">
169 <type name="gint" c:type="gint"/>
171 <constant name="RIFF_WAVE_FORMAT_ECHOSC3" value="58">
172 <type name="gint" c:type="gint"/>
174 <constant name="RIFF_WAVE_FORMAT_ESPCM" value="97">
175 <type name="gint" c:type="gint"/>
177 <constant name="RIFF_WAVE_FORMAT_EXTENSIBLE" value="65534">
178 <type name="gint" c:type="gint"/>
180 <constant name="RIFF_WAVE_FORMAT_FLAC" value="61868">
181 <type name="gint" c:type="gint"/>
183 <constant name="RIFF_WAVE_FORMAT_FM_TOWNS_SND" value="768">
184 <type name="gint" c:type="gint"/>
186 <constant name="RIFF_WAVE_FORMAT_G722_ADPCM" value="101">
187 <type name="gint" c:type="gint"/>
189 <constant name="RIFF_WAVE_FORMAT_G723_ADPCM" value="20">
190 <type name="gint" c:type="gint"/>
192 <constant name="RIFF_WAVE_FORMAT_G726ADPCM" value="320">
193 <type name="gint" c:type="gint"/>
195 <constant name="RIFF_WAVE_FORMAT_G726_ADPCM" value="100">
196 <type name="gint" c:type="gint"/>
198 <constant name="RIFF_WAVE_FORMAT_G728_CELP" value="65">
199 <type name="gint" c:type="gint"/>
201 <constant name="RIFF_WAVE_FORMAT_G729A" value="131">
202 <type name="gint" c:type="gint"/>
204 <constant name="RIFF_WAVE_FORMAT_GSM610" value="49">
205 <type name="gint" c:type="gint"/>
207 <constant name="RIFF_WAVE_FORMAT_GSM_AMR_CBR" value="31265">
208 <type name="gint" c:type="gint"/>
210 <constant name="RIFF_WAVE_FORMAT_GSM_AMR_VBR" value="31266">
211 <type name="gint" c:type="gint"/>
213 <constant name="RIFF_WAVE_FORMAT_IBM_CVSD" value="5">
214 <type name="gint" c:type="gint"/>
216 <constant name="RIFF_WAVE_FORMAT_IEEE_FLOAT" value="3">
217 <type name="gint" c:type="gint"/>
219 <constant name="RIFF_WAVE_FORMAT_ILINK_VC" value="560">
220 <type name="gint" c:type="gint"/>
222 <constant name="RIFF_WAVE_FORMAT_IMC" value="1025">
223 <type name="gint" c:type="gint"/>
225 <constant name="RIFF_WAVE_FORMAT_IPI_HSX" value="592">
226 <type name="gint" c:type="gint"/>
228 <constant name="RIFF_WAVE_FORMAT_IPI_RPELP" value="593">
229 <type name="gint" c:type="gint"/>
231 <constant name="RIFF_WAVE_FORMAT_ISIAUDIO" value="136">
232 <type name="gint" c:type="gint"/>
234 <constant name="RIFF_WAVE_FORMAT_ITU_G721_ADPCM" value="64">
235 <type name="gint" c:type="gint"/>
237 <constant name="RIFF_WAVE_FORMAT_LH_CODEC" value="4352">
238 <type name="gint" c:type="gint"/>
240 <constant name="RIFF_WAVE_FORMAT_LRC" value="40">
241 <type name="gint" c:type="gint"/>
243 <constant name="RIFF_WAVE_FORMAT_LUCENT_G723" value="89">
244 <type name="gint" c:type="gint"/>
246 <constant name="RIFF_WAVE_FORMAT_MALDEN_PHONYTALK" value="160">
247 <type name="gint" c:type="gint"/>
249 <constant name="RIFF_WAVE_FORMAT_MEDIASONIC_G723" value="147">
250 <type name="gint" c:type="gint"/>
252 <constant name="RIFF_WAVE_FORMAT_MEDIASPACE_ADPCM" value="18">
253 <type name="gint" c:type="gint"/>
255 <constant name="RIFF_WAVE_FORMAT_MEDIAVISION_ADPCM" value="24">
256 <type name="gint" c:type="gint"/>
258 <constant name="RIFF_WAVE_FORMAT_MPEGL12" value="80">
259 <type name="gint" c:type="gint"/>
261 <constant name="RIFF_WAVE_FORMAT_MPEGL3" value="85">
262 <type name="gint" c:type="gint"/>
264 <constant name="RIFF_WAVE_FORMAT_MSG723" value="66">
265 <type name="gint" c:type="gint"/>
267 <constant name="RIFF_WAVE_FORMAT_MSN" value="50">
268 <type name="gint" c:type="gint"/>
270 <constant name="RIFF_WAVE_FORMAT_MSRT24" value="130">
271 <type name="gint" c:type="gint"/>
273 <constant name="RIFF_WAVE_FORMAT_MULAW" value="7">
274 <type name="gint" c:type="gint"/>
276 <constant name="RIFF_WAVE_FORMAT_MVI_MVI2" value="132">
277 <type name="gint" c:type="gint"/>
279 <constant name="RIFF_WAVE_FORMAT_NMS_VBXADPCM" value="56">
280 <type name="gint" c:type="gint"/>
282 <constant name="RIFF_WAVE_FORMAT_NORRIS" value="5120">
283 <type name="gint" c:type="gint"/>
285 <constant name="RIFF_WAVE_FORMAT_OKI_ADPCM" value="16">
286 <type name="gint" c:type="gint"/>
288 <constant name="RIFF_WAVE_FORMAT_OLIADPCM" value="4097">
289 <type name="gint" c:type="gint"/>
291 <constant name="RIFF_WAVE_FORMAT_OLICELP" value="4098">
292 <type name="gint" c:type="gint"/>
294 <constant name="RIFF_WAVE_FORMAT_OLIGSM" value="4096">
295 <type name="gint" c:type="gint"/>
297 <constant name="RIFF_WAVE_FORMAT_OLIOPR" value="4100">
298 <type name="gint" c:type="gint"/>
300 <constant name="RIFF_WAVE_FORMAT_OLISBC" value="4099">
301 <type name="gint" c:type="gint"/>
303 <constant name="RIFF_WAVE_FORMAT_ONLIVE" value="137">
304 <type name="gint" c:type="gint"/>
306 <constant name="RIFF_WAVE_FORMAT_PAC" value="83">
307 <type name="gint" c:type="gint"/>
309 <constant name="RIFF_WAVE_FORMAT_PACKED" value="153">
310 <type name="gint" c:type="gint"/>
312 <constant name="RIFF_WAVE_FORMAT_PCM" value="1">
313 <type name="gint" c:type="gint"/>
315 <constant name="RIFF_WAVE_FORMAT_PHILIPS_LPCBB" value="152">
316 <type name="gint" c:type="gint"/>
318 <constant name="RIFF_WAVE_FORMAT_PROSODY_1612" value="39">
319 <type name="gint" c:type="gint"/>
321 <constant name="RIFF_WAVE_FORMAT_PROSODY_8KBPS" value="148">
322 <type name="gint" c:type="gint"/>
324 <constant name="RIFF_WAVE_FORMAT_QDESIGN_MUSIC" value="1104">
325 <type name="gint" c:type="gint"/>
327 <constant name="RIFF_WAVE_FORMAT_QUALCOMM_HALFRATE" value="337">
328 <type name="gint" c:type="gint"/>
330 <constant name="RIFF_WAVE_FORMAT_QUALCOMM_PUREVOICE" value="336">
331 <type name="gint" c:type="gint"/>
333 <constant name="RIFF_WAVE_FORMAT_QUARTERDECK" value="544">
334 <type name="gint" c:type="gint"/>
336 <constant name="RIFF_WAVE_FORMAT_RAW_SPORT" value="576">
337 <type name="gint" c:type="gint"/>
339 <constant name="RIFF_WAVE_FORMAT_RHETOREX_ADPCM" value="256">
340 <type name="gint" c:type="gint"/>
342 <constant name="RIFF_WAVE_FORMAT_ROCKWELL_ADPCM" value="59">
343 <type name="gint" c:type="gint"/>
345 <constant name="RIFF_WAVE_FORMAT_ROCKWELL_DIGITALK" value="60">
346 <type name="gint" c:type="gint"/>
348 <constant name="RIFF_WAVE_FORMAT_RT24" value="82">
349 <type name="gint" c:type="gint"/>
351 <constant name="RIFF_WAVE_FORMAT_SANYO_LD_ADPCM" value="293">
352 <type name="gint" c:type="gint"/>
354 <constant name="RIFF_WAVE_FORMAT_SBC24" value="145">
355 <type name="gint" c:type="gint"/>
357 <constant name="RIFF_WAVE_FORMAT_SIERRA_ADPCM" value="19">
358 <type name="gint" c:type="gint"/>
360 <constant name="RIFF_WAVE_FORMAT_SIPROLAB_ACELP4800" value="305">
361 <type name="gint" c:type="gint"/>
363 <constant name="RIFF_WAVE_FORMAT_SIPROLAB_ACELP8V3" value="306">
364 <type name="gint" c:type="gint"/>
366 <constant name="RIFF_WAVE_FORMAT_SIPROLAB_ACEPLNET" value="304">
367 <type name="gint" c:type="gint"/>
369 <constant name="RIFF_WAVE_FORMAT_SIPROLAB_G729" value="307">
370 <type name="gint" c:type="gint"/>
372 <constant name="RIFF_WAVE_FORMAT_SIPROLAB_G729A" value="308">
373 <type name="gint" c:type="gint"/>
375 <constant name="RIFF_WAVE_FORMAT_SIPROLAB_KELVIN" value="309">
376 <type name="gint" c:type="gint"/>
378 <constant name="RIFF_WAVE_FORMAT_SIREN" value="654">
379 <type name="gint" c:type="gint"/>
381 <constant name="RIFF_WAVE_FORMAT_SOFTSOUND" value="128">
382 <type name="gint" c:type="gint"/>
384 <constant name="RIFF_WAVE_FORMAT_SONARC" value="33">
385 <type name="gint" c:type="gint"/>
387 <constant name="RIFF_WAVE_FORMAT_SONIC" value="8264">
388 <type name="gint" c:type="gint"/>
390 <constant name="RIFF_WAVE_FORMAT_SONIC_LS" value="8264">
391 <type name="gint" c:type="gint"/>
393 <constant name="RIFF_WAVE_FORMAT_SONY_ATRAC3" value="624">
394 <type name="gint" c:type="gint"/>
396 <constant name="RIFF_WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS" value="5376">
397 <type name="gint" c:type="gint"/>
399 <constant name="RIFF_WAVE_FORMAT_TPC" value="1665">
400 <type name="gint" c:type="gint"/>
402 <constant name="RIFF_WAVE_FORMAT_TUBGSM" value="341">
403 <type name="gint" c:type="gint"/>
405 <constant name="RIFF_WAVE_FORMAT_UHER_ADPCM" value="528">
406 <type name="gint" c:type="gint"/>
408 <constant name="RIFF_WAVE_FORMAT_UNKNOWN" value="0">
409 <type name="gint" c:type="gint"/>
411 <constant name="RIFF_WAVE_FORMAT_VIVO_G723" value="273">
412 <type name="gint" c:type="gint"/>
414 <constant name="RIFF_WAVE_FORMAT_VIVO_SIREN" value="274">
415 <type name="gint" c:type="gint"/>
417 <constant name="RIFF_WAVE_FORMAT_VME_VMPCM" value="1664">
418 <type name="gint" c:type="gint"/>
420 <constant name="RIFF_WAVE_FORMAT_VORBIS1" value="26447">
421 <type name="gint" c:type="gint"/>
423 <constant name="RIFF_WAVE_FORMAT_VORBIS1PLUS" value="26479">
424 <type name="gint" c:type="gint"/>
426 <constant name="RIFF_WAVE_FORMAT_VORBIS2" value="26448">
427 <type name="gint" c:type="gint"/>
429 <constant name="RIFF_WAVE_FORMAT_VORBIS2PLUS" value="26480">
430 <type name="gint" c:type="gint"/>
432 <constant name="RIFF_WAVE_FORMAT_VORBIS3" value="26449">
433 <type name="gint" c:type="gint"/>
435 <constant name="RIFF_WAVE_FORMAT_VORBIS3PLUS" value="26481">
436 <type name="gint" c:type="gint"/>
438 <constant name="RIFF_WAVE_FORMAT_VOXWARE" value="98">
439 <type name="gint" c:type="gint"/>
441 <constant name="RIFF_WAVE_FORMAT_VOXWARE_AC10" value="113">
442 <type name="gint" c:type="gint"/>
444 <constant name="RIFF_WAVE_FORMAT_VOXWARE_AC16" value="114">
445 <type name="gint" c:type="gint"/>
447 <constant name="RIFF_WAVE_FORMAT_VOXWARE_AC20" value="115">
448 <type name="gint" c:type="gint"/>
450 <constant name="RIFF_WAVE_FORMAT_VOXWARE_AC8" value="112">
451 <type name="gint" c:type="gint"/>
453 <constant name="RIFF_WAVE_FORMAT_VOXWARE_BYTE_ALIGNED" value="105">
454 <type name="gint" c:type="gint"/>
456 <constant name="RIFF_WAVE_FORMAT_VOXWARE_METASOUND" value="117">
457 <type name="gint" c:type="gint"/>
459 <constant name="RIFF_WAVE_FORMAT_VOXWARE_METAVOICE" value="116">
460 <type name="gint" c:type="gint"/>
462 <constant name="RIFF_WAVE_FORMAT_VOXWARE_RT29HW" value="118">
463 <type name="gint" c:type="gint"/>
465 <constant name="RIFF_WAVE_FORMAT_VOXWARE_TQ40" value="121">
466 <type name="gint" c:type="gint"/>
468 <constant name="RIFF_WAVE_FORMAT_VOXWARE_TQ60" value="129">
469 <type name="gint" c:type="gint"/>
471 <constant name="RIFF_WAVE_FORMAT_VOXWARE_VR12" value="119">
472 <type name="gint" c:type="gint"/>
474 <constant name="RIFF_WAVE_FORMAT_VOXWARE_VR18" value="120">
475 <type name="gint" c:type="gint"/>
477 <constant name="RIFF_WAVE_FORMAT_VSELP" value="4">
478 <type name="gint" c:type="gint"/>
480 <constant name="RIFF_WAVE_FORMAT_WMAV1" value="352">
481 <type name="gint" c:type="gint"/>
483 <constant name="RIFF_WAVE_FORMAT_WMAV2" value="353">
484 <type name="gint" c:type="gint"/>
486 <constant name="RIFF_WAVE_FORMAT_WMAV3" value="354">
487 <type name="gint" c:type="gint"/>
489 <constant name="RIFF_WAVE_FORMAT_WMAV3_L" value="355">
490 <type name="gint" c:type="gint"/>
492 <constant name="RIFF_WAVE_FORMAT_WMS" value="10">
493 <type name="gint" c:type="gint"/>
495 <constant name="RIFF_WAVE_FORMAT_XEBEC" value="61">
496 <type name="gint" c:type="gint"/>
498 <constant name="RIFF_WAVE_FORMAT_YAMAHA_ADPCM" value="32">
499 <type name="gint" c:type="gint"/>
501 <constant name="RIFF_WAVE_FORMAT_ZYXEL_ADPCM" value="151">
502 <type name="gint" c:type="gint"/>
504 <function name="riff_create_audio_caps"
505 c:identifier="gst_riff_create_audio_caps"
507 <return-value transfer-ownership="full">
508 <type name="Gst.Caps" c:type="GstCaps*"/>
511 <parameter name="codec_id" transfer-ownership="none">
512 <type name="guint16" c:type="guint16"/>
514 <parameter name="strh" transfer-ownership="none">
515 <type c:type="gst_riff_strh*"/>
517 <parameter name="strf" transfer-ownership="none">
518 <type c:type="gst_riff_strf_auds*"/>
520 <parameter name="strf_data" transfer-ownership="none">
521 <type name="Gst.Buffer" c:type="GstBuffer*"/>
523 <parameter name="strd_data" transfer-ownership="none">
524 <type name="Gst.Buffer" c:type="GstBuffer*"/>
526 <parameter name="codec_name" transfer-ownership="none">
527 <type name="utf8" c:type="char**"/>
531 <function name="riff_create_audio_template_caps"
532 c:identifier="gst_riff_create_audio_template_caps">
533 <return-value transfer-ownership="full">
534 <type name="Gst.Caps" c:type="GstCaps*"/>
537 <function name="riff_create_iavs_caps"
538 c:identifier="gst_riff_create_iavs_caps"
540 <return-value transfer-ownership="full">
541 <type name="Gst.Caps" c:type="GstCaps*"/>
544 <parameter name="codec_fcc" transfer-ownership="none">
545 <type name="guint32" c:type="guint32"/>
547 <parameter name="strh" transfer-ownership="none">
548 <type c:type="gst_riff_strh*"/>
550 <parameter name="strf" transfer-ownership="none">
551 <type c:type="gst_riff_strf_iavs*"/>
553 <parameter name="strf_data" transfer-ownership="none">
554 <type name="Gst.Buffer" c:type="GstBuffer*"/>
556 <parameter name="strd_data" transfer-ownership="none">
557 <type name="Gst.Buffer" c:type="GstBuffer*"/>
559 <parameter name="codec_name" transfer-ownership="none">
560 <type name="utf8" c:type="char**"/>
564 <function name="riff_create_iavs_template_caps"
565 c:identifier="gst_riff_create_iavs_template_caps">
566 <return-value transfer-ownership="full">
567 <type name="Gst.Caps" c:type="GstCaps*"/>
570 <function name="riff_create_video_caps"
571 c:identifier="gst_riff_create_video_caps"
573 <return-value transfer-ownership="full">
574 <type name="Gst.Caps" c:type="GstCaps*"/>
577 <parameter name="codec_fcc" transfer-ownership="none">
578 <doc xml:whitespace="preserve">fourCC codec for this codec.</doc>
579 <type name="guint32" c:type="guint32"/>
581 <parameter name="strh" transfer-ownership="none">
582 <doc xml:whitespace="preserve">pointer to the strh stream header structure.</doc>
583 <type c:type="gst_riff_strh*"/>
585 <parameter name="strf" transfer-ownership="none">
586 <doc xml:whitespace="preserve">pointer to the strf stream header structure, including any data that is within the range of strf.size, but excluding any additional data withint this chunk but outside strf.size.</doc>
587 <type c:type="gst_riff_strf_vids*"/>
589 <parameter name="strf_data" transfer-ownership="none">
590 <doc xml:whitespace="preserve">a #GstBuffer containing the additional data in the strf chunk outside reach of strf.size. Ususally a palette.</doc>
591 <type name="Gst.Buffer" c:type="GstBuffer*"/>
593 <parameter name="strd_data" transfer-ownership="none">
594 <doc xml:whitespace="preserve">a #GstBuffer containing the data in the strd stream header chunk. Usually codec initialization data.</doc>
595 <type name="Gst.Buffer" c:type="GstBuffer*"/>
597 <parameter name="codec_name" transfer-ownership="none">
598 <doc xml:whitespace="preserve">if given, will be filled with a human-readable codec name.</doc>
599 <type name="utf8" c:type="char**"/>
603 <function name="riff_create_video_template_caps"
604 c:identifier="gst_riff_create_video_template_caps">
605 <return-value transfer-ownership="full">
606 <type name="Gst.Caps" c:type="GstCaps*"/>
609 <function name="riff_init" c:identifier="gst_riff_init">
610 <doc xml:whitespace="preserve">Initialize riff library.</doc>
611 <return-value transfer-ownership="none">
612 <type name="none" c:type="void"/>
615 <function name="riff_parse_chunk" c:identifier="gst_riff_parse_chunk">
616 <doc xml:whitespace="preserve">Reads a single chunk.</doc>
617 <return-value transfer-ownership="none">
618 <doc xml:whitespace="preserve">FALSE on error, TRUE otherwise</doc>
619 <type name="gboolean" c:type="gboolean"/>
622 <parameter name="element" transfer-ownership="none">
623 <doc xml:whitespace="preserve">caller element (used for debugging).</doc>
624 <type name="Gst.Element" c:type="GstElement*"/>
626 <parameter name="buf" transfer-ownership="none">
627 <doc xml:whitespace="preserve">input buffer.</doc>
628 <type name="Gst.Buffer" c:type="GstBuffer*"/>
630 <parameter name="offset" transfer-ownership="none">
631 <doc xml:whitespace="preserve">offset in the buffer in the caller. Is incremented by the read size by this function.</doc>
632 <type name="guint" c:type="guint*"/>
634 <parameter name="fourcc" transfer-ownership="none">
635 <doc xml:whitespace="preserve">fourcc (returned by this function0 of the chunk.</doc>
636 <type name="guint32" c:type="guint32*"/>
638 <parameter name="chunk_data" transfer-ownership="none">
639 <doc xml:whitespace="preserve">buffer (returned by the function) containing the chunk data, which may be NULL if chunksize == 0</doc>
640 <type name="Gst.Buffer" c:type="GstBuffer**"/>
644 <function name="riff_parse_file_header"
645 c:identifier="gst_riff_parse_file_header">
646 <doc xml:whitespace="preserve">Reads the first few bytes from the provided buffer, checks
647 if this stream is a RIFF stream, and determines document type.
648 This function takes ownership of @buf so it should not be used anymore
649 after calling this function.
650 caller should error out; we already throw an error), or TRUE
652 <return-value transfer-ownership="none">
653 <doc xml:whitespace="preserve">FALSE if this is not a RIFF stream (in which case the</doc>
654 <type name="gboolean" c:type="gboolean"/>
657 <parameter name="element" transfer-ownership="none">
658 <doc xml:whitespace="preserve">caller element (used for debugging/error).</doc>
659 <type name="Gst.Element" c:type="GstElement*"/>
661 <parameter name="buf" transfer-ownership="none">
662 <doc xml:whitespace="preserve">input buffer from which the file header will be parsed, should be at least 12 bytes long.</doc>
663 <type name="Gst.Buffer" c:type="GstBuffer*"/>
665 <parameter name="doctype" transfer-ownership="none">
666 <doc xml:whitespace="preserve">a fourcc (returned by this function) to indicate the type of document (according to the header).</doc>
667 <type name="guint32" c:type="guint32*"/>
671 <function name="riff_parse_info" c:identifier="gst_riff_parse_info">
672 <doc xml:whitespace="preserve">Parses stream metadata from input data.</doc>
673 <return-value transfer-ownership="none">
674 <type name="none" c:type="void"/>
677 <parameter name="element" transfer-ownership="none">
678 <doc xml:whitespace="preserve">caller element (used for debugging/error).</doc>
679 <type name="Gst.Element" c:type="GstElement*"/>
681 <parameter name="buf" transfer-ownership="none">
682 <doc xml:whitespace="preserve">input data to be used for parsing, stripped from header.</doc>
683 <type name="Gst.Buffer" c:type="GstBuffer*"/>
685 <parameter name="taglist" transfer-ownership="none">
686 <doc xml:whitespace="preserve">a pointer to a taglist (returned by this function) containing information about this stream. May be NULL if no supported tags were found.</doc>
687 <type name="Gst.TagList" c:type="GstTagList**"/>
691 <function name="riff_parse_strf_auds"
692 c:identifier="gst_riff_parse_strf_auds"
694 <doc xml:whitespace="preserve">Parses an audio stream´s strf structure plus optionally some
695 extradata from input data. This function takes ownership of @buf.
697 should be skipped on error, but it is not fatal.</doc>
698 <return-value transfer-ownership="none">
699 <doc xml:whitespace="preserve">TRUE if parsing succeeded, otherwise FALSE. The stream</doc>
700 <type name="gboolean" c:type="gboolean"/>
703 <parameter name="element" transfer-ownership="none">
704 <doc xml:whitespace="preserve">caller element (used for debugging/error).</doc>
705 <type name="Gst.Element" c:type="GstElement*"/>
707 <parameter name="buf" transfer-ownership="none">
708 <doc xml:whitespace="preserve">input data to be used for parsing, stripped from header.</doc>
709 <type name="Gst.Buffer" c:type="GstBuffer*"/>
711 <parameter name="strf" transfer-ownership="none">
712 <doc xml:whitespace="preserve">a pointer (returned by this function) to a filled-in strf/auds structure. Caller should free it.</doc>
713 <type c:type="gst_riff_strf_auds**"/>
715 <parameter name="data" transfer-ownership="none">
716 <doc xml:whitespace="preserve">a pointer (returned by this function) to a buffer containing extradata for this particular stream (e.g. codec initialization data).</doc>
717 <type name="Gst.Buffer" c:type="GstBuffer**"/>
721 <function name="riff_parse_strf_iavs"
722 c:identifier="gst_riff_parse_strf_iavs"
724 <doc xml:whitespace="preserve">Parses a interleaved (also known as "complex") stream´s strf
725 structure plus optionally some extradata from input data. This
726 function takes ownership of @buf.</doc>
727 <return-value transfer-ownership="none">
728 <doc xml:whitespace="preserve">TRUE if parsing succeeded, otherwise FALSE.</doc>
729 <type name="gboolean" c:type="gboolean"/>
732 <parameter name="element" transfer-ownership="none">
733 <doc xml:whitespace="preserve">caller element (used for debugging/error).</doc>
734 <type name="Gst.Element" c:type="GstElement*"/>
736 <parameter name="buf" transfer-ownership="none">
737 <doc xml:whitespace="preserve">input data to be used for parsing, stripped from header.</doc>
738 <type name="Gst.Buffer" c:type="GstBuffer*"/>
740 <parameter name="strf" transfer-ownership="none">
741 <doc xml:whitespace="preserve">a pointer (returned by this function) to a filled-in strf/iavs structure. Caller should free it.</doc>
742 <type c:type="gst_riff_strf_iavs**"/>
744 <parameter name="data" transfer-ownership="none">
745 <doc xml:whitespace="preserve">a pointer (returned by this function) to a buffer containing extradata for this particular stream (e.g. codec initialization data).</doc>
746 <type name="Gst.Buffer" c:type="GstBuffer**"/>
750 <function name="riff_parse_strf_vids"
751 c:identifier="gst_riff_parse_strf_vids"
753 <doc xml:whitespace="preserve">Parses a video stream´s strf structure plus optionally some
754 extradata from input data. This function takes ownership of @buf.
755 should be skipped on error, but it is not fatal.</doc>
756 <return-value transfer-ownership="none">
757 <doc xml:whitespace="preserve">TRUE if parsing succeeded, otherwise FALSE. The stream</doc>
758 <type name="gboolean" c:type="gboolean"/>
761 <parameter name="element" transfer-ownership="none">
762 <doc xml:whitespace="preserve">caller element (used for debugging/error).</doc>
763 <type name="Gst.Element" c:type="GstElement*"/>
765 <parameter name="buf" transfer-ownership="none">
766 <doc xml:whitespace="preserve">input data to be used for parsing, stripped from header.</doc>
767 <type name="Gst.Buffer" c:type="GstBuffer*"/>
769 <parameter name="strf" transfer-ownership="none">
770 <doc xml:whitespace="preserve">a pointer (returned by this function) to a filled-in strf/vids structure. Caller should free it.</doc>
771 <type c:type="gst_riff_strf_vids**"/>
773 <parameter name="data" transfer-ownership="none">
774 <doc xml:whitespace="preserve">a pointer (returned by this function) to a buffer containing extradata for this particular stream (e.g. palette, codec initialization data).</doc>
775 <type name="Gst.Buffer" c:type="GstBuffer**"/>
779 <function name="riff_parse_strh"
780 c:identifier="gst_riff_parse_strh"
782 <doc xml:whitespace="preserve">Parses a strh structure from input data. Takes ownership of @buf.
783 should be skipped on error, but it is not fatal.</doc>
784 <return-value transfer-ownership="none">
785 <doc xml:whitespace="preserve">TRUE if parsing succeeded, otherwise FALSE. The stream</doc>
786 <type name="gboolean" c:type="gboolean"/>
789 <parameter name="element" transfer-ownership="none">
790 <doc xml:whitespace="preserve">caller element (used for debugging/error).</doc>
791 <type name="Gst.Element" c:type="GstElement*"/>
793 <parameter name="buf" transfer-ownership="none">
794 <doc xml:whitespace="preserve">input data to be used for parsing, stripped from header.</doc>
795 <type name="Gst.Buffer" c:type="GstBuffer*"/>
797 <parameter name="strh" transfer-ownership="none">
798 <doc xml:whitespace="preserve">a pointer (returned by this function) to a filled-in strh structure. Caller should free it.</doc>
799 <type c:type="gst_riff_strh**"/>
803 <function name="riff_read_chunk" c:identifier="gst_riff_read_chunk">
804 <doc xml:whitespace="preserve">Reads a single chunk of data. Since 0.10.8 'JUNK' chunks
805 are skipped automatically.</doc>
806 <return-value transfer-ownership="none">
807 <doc xml:whitespace="preserve">flow status.</doc>
808 <type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
811 <parameter name="element" transfer-ownership="none">
812 <doc xml:whitespace="preserve">caller element (used for debugging).</doc>
813 <type name="Gst.Element" c:type="GstElement*"/>
815 <parameter name="pad" transfer-ownership="none">
816 <doc xml:whitespace="preserve">pad to pull data from.</doc>
817 <type name="Gst.Pad" c:type="GstPad*"/>
819 <parameter name="offset" transfer-ownership="none">
820 <doc xml:whitespace="preserve">offset to pull from, incremented by this function.</doc>
821 <type name="guint64" c:type="guint64*"/>
823 <parameter name="tag" transfer-ownership="none">
824 <doc xml:whitespace="preserve">fourcc of the chunk (returned by this function).</doc>
825 <type name="guint32" c:type="guint32*"/>
827 <parameter name="chunk_data" transfer-ownership="none">
828 <doc xml:whitespace="preserve">buffer (returned by this function).</doc>
829 <type name="Gst.Buffer" c:type="GstBuffer**"/>