-
Notifications
You must be signed in to change notification settings - Fork 0
/
GstGL-1.0.gir
11235 lines (11150 loc) · 552 KB
/
GstGL-1.0.gir
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="Gst" version="1.0"/>
<include name="GstBase" version="1.0"/>
<include name="GstVideo" version="1.0"/>
<package name="gstreamer-gl-1.0"/>
<c:include name="gst/gl/gl.h"/>
<namespace name="GstGL" version="1.0" shared-library="libgstgl-1.0.so.0" c:identifier-prefixes="Gst" c:symbol-prefixes="gst">
<constant name="BUFFER_POOL_OPTION_GL_SYNC_META" value="GstBufferPoolOptionGLSyncMeta" c:type="GST_BUFFER_POOL_OPTION_GL_SYNC_META">
<doc xml:space="preserve">An option that can be activated on bufferpools to request OpenGL
synchronization metadata on buffers from the pool.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D" value="GstBufferPoolOptionGLTextureTarget2D" c:type="GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D">
<doc xml:space="preserve">String used for %GST_GL_TEXTURE_TARGET_2D as a #GstBufferPool pool option</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES" value="GstBufferPoolOptionGLTextureTargetExternalOES" c:type="GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES">
<doc xml:space="preserve">String used for %GST_GL_TEXTURE_TARGET_EXTERNAL_OES as a #GstBufferPool pool option</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE" value="GstBufferPoolOptionGLTextureTargetRectangle" c:type="GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE">
<doc xml:space="preserve">String used for %GST_GL_TEXTURE_TARGET_RECTANGLE as a #GstBufferPool pool option</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="CAPS_FEATURE_MEMORY_GL_BUFFER" value="memory:GLBuffer" c:type="GST_CAPS_FEATURE_MEMORY_GL_BUFFER">
<doc xml:space="preserve">Name of the caps feature indicating the use of GL buffers</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="CAPS_FEATURE_MEMORY_GL_MEMORY" value="memory:GLMemory" c:type="GST_CAPS_FEATURE_MEMORY_GL_MEMORY">
<doc xml:space="preserve">Name of the caps feature for indicating the use of #GstGLMemory</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<bitfield name="GLAPI" glib:type-name="GstGLAPI" glib:get-type="gst_gl_api_get_type" c:type="GstGLAPI">
<member name="none" value="0" c:identifier="GST_GL_API_NONE" glib:nick="none" glib:name="GST_GL_API_NONE">
<doc xml:space="preserve">no API</doc>
</member>
<member name="opengl" value="1" c:identifier="GST_GL_API_OPENGL" glib:nick="opengl" glib:name="GST_GL_API_OPENGL">
<doc xml:space="preserve">Desktop OpenGL up to and including 3.1. The
compatibility profile when the OpenGL version is >= 3.2</doc>
</member>
<member name="opengl3" value="2" c:identifier="GST_GL_API_OPENGL3" glib:nick="opengl3" glib:name="GST_GL_API_OPENGL3">
<doc xml:space="preserve">Desktop OpenGL >= 3.2 core profile</doc>
</member>
<member name="gles1" value="32768" c:identifier="GST_GL_API_GLES1" glib:nick="gles1" glib:name="GST_GL_API_GLES1">
<doc xml:space="preserve">OpenGL ES 1.x</doc>
</member>
<member name="gles2" value="65536" c:identifier="GST_GL_API_GLES2" glib:nick="gles2" glib:name="GST_GL_API_GLES2">
<doc xml:space="preserve">OpenGL ES 2.x and 3.x</doc>
</member>
<member name="any" value="4294967295" c:identifier="GST_GL_API_ANY" glib:nick="any" glib:name="GST_GL_API_ANY">
<doc xml:space="preserve">Any OpenGL API</doc>
</member>
<function name="from_string" c:identifier="gst_gl_api_from_string">
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #GstGLAPI represented by @api_s</doc>
<type name="GLAPI" c:type="GstGLAPI"/>
</return-value>
<parameters>
<parameter name="api_s" transfer-ownership="none">
<doc xml:space="preserve">a space separated string of OpenGL apis</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="to_string" c:identifier="gst_gl_api_to_string">
<return-value transfer-ownership="full">
<doc xml:space="preserve">A space separated string of the OpenGL api's enabled in @api</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="api" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLAPI to stringify</doc>
<type name="GLAPI" c:type="GstGLAPI"/>
</parameter>
</parameters>
</function>
</bitfield>
<record name="GLAllocationParams" c:type="GstGLAllocationParams" glib:type-name="GstGLAllocationParams" glib:get-type="gst_gl_allocation_params_get_type" c:symbol-prefix="gl_allocation_params">
<field name="struct_size" writable="1">
<doc xml:space="preserve">the size of the struct (including and subclass data)</doc>
<type name="gsize" c:type="gsize"/>
</field>
<field name="copy" writable="1">
<doc xml:space="preserve">a #GstGLAllocationParamsCopyFunc</doc>
<type name="GLAllocationParamsCopyFunc" c:type="GstGLAllocationParamsCopyFunc"/>
</field>
<field name="free" writable="1">
<doc xml:space="preserve">a #GstGLAllocationParamsFreeFunc</doc>
<type name="GLAllocationParamsFreeFunc" c:type="GstGLAllocationParamsFreeFunc"/>
</field>
<field name="alloc_flags" writable="1">
<doc xml:space="preserve">allocation flags</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="alloc_size" writable="1">
<doc xml:space="preserve">the allocation size</doc>
<type name="gsize" c:type="gsize"/>
</field>
<field name="alloc_params" writable="1">
<doc xml:space="preserve">the #GstAllocationParams</doc>
<type name="Gst.AllocationParams" c:type="GstAllocationParams*"/>
</field>
<field name="context" writable="1">
<doc xml:space="preserve">a #GstGLContext</doc>
<type name="GLContext" c:type="GstGLContext*"/>
</field>
<field name="notify" writable="1">
<doc xml:space="preserve">a #GDestroyNotify</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</field>
<field name="user_data" writable="1">
<doc xml:space="preserve">argument to call @notify with</doc>
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="wrapped_data" writable="1">
<doc xml:space="preserve">the wrapped data pointer</doc>
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="gl_handle" writable="1">
<doc xml:space="preserve">the wrapped OpenGL handle</doc>
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<method name="copy" c:identifier="gst_gl_allocation_params_copy" version="1.8">
<return-value transfer-ownership="full">
<doc xml:space="preserve">a copy of the #GstGLAllocationParams specified by
@src</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</return-value>
<parameters>
<instance-parameter name="src" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAllocationParams to initialize</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</instance-parameter>
</parameters>
</method>
<method name="copy_data" c:identifier="gst_gl_allocation_params_copy_data" version="1.8">
<doc xml:space="preserve">Copies the dynamically allocated data from @src to @dest. Direct subclasses
should call this function in their own overridden copy function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="src" transfer-ownership="none">
<doc xml:space="preserve">the source #GstGLAllocationParams</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</instance-parameter>
<parameter name="dest" transfer-ownership="none">
<doc xml:space="preserve">the destination #GstGLAllocationParams</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</parameter>
</parameters>
</method>
<method name="free" c:identifier="gst_gl_allocation_params_free" version="1.8">
<doc xml:space="preserve">Frees the #GstGLAllocationParams and all associated data.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="params" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAllocationParams to initialize</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</instance-parameter>
</parameters>
</method>
<method name="free_data" c:identifier="gst_gl_allocation_params_free_data" version="1.8">
<doc xml:space="preserve">Frees the dynamically allocated data in @params. Direct subclasses
should call this function in their own overridden free function.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="params" transfer-ownership="none">
<doc xml:space="preserve">the source #GstGLAllocationParams</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</instance-parameter>
</parameters>
</method>
<method name="init" c:identifier="gst_gl_allocation_params_init" version="1.8" introspectable="0">
<doc xml:space="preserve">@notify will be called once for each allocated memory using these @params
when freeing the memory.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the parameters could be initialized</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="params" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAllocationParams to initialize</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</instance-parameter>
<parameter name="struct_size" transfer-ownership="none">
<doc xml:space="preserve">the struct size of the implementation</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="alloc_flags" transfer-ownership="none">
<doc xml:space="preserve">some alloc flags</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="copy" transfer-ownership="none">
<doc xml:space="preserve">a copy function</doc>
<type name="GLAllocationParamsCopyFunc" c:type="GstGLAllocationParamsCopyFunc"/>
</parameter>
<parameter name="free" transfer-ownership="none" scope="notified" closure="9" destroy="10">
<doc xml:space="preserve">a free function</doc>
<type name="GLAllocationParamsFreeFunc" c:type="GstGLAllocationParamsFreeFunc"/>
</parameter>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLContext</doc>
<type name="GLContext" c:type="GstGLContext*"/>
</parameter>
<parameter name="alloc_size" transfer-ownership="none">
<doc xml:space="preserve">the number of bytes to allocate.</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="alloc_params" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GstAllocationParams to apply</doc>
<type name="Gst.AllocationParams" c:type="const GstAllocationParams*"/>
</parameter>
<parameter name="wrapped_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a sysmem data pointer to initialize the allocation with</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="gl_handle" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a GL handle to initialize the allocation with</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">user data to call @notify with</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="notify" transfer-ownership="none" nullable="1" allow-none="1" scope="async">
<doc xml:space="preserve">a #GDestroyNotify</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
</record>
<callback name="GLAllocationParamsCopyFunc" c:type="GstGLAllocationParamsCopyFunc">
<doc xml:space="preserve">Copies the parameters from @src into @dest. The subclass must compose copy
functions from the superclass.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="src" transfer-ownership="none">
<doc xml:space="preserve">the source #GstGLAllocationParams to copy from</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</parameter>
<parameter name="dest" transfer-ownership="none">
<doc xml:space="preserve">the source #GstGLAllocationParams to copy</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</parameter>
</parameters>
</callback>
<callback name="GLAllocationParamsFreeFunc" c:type="GstGLAllocationParamsFreeFunc">
<doc xml:space="preserve">Free any dynamically allocated data. The subclass must call the superclass'
free.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="params" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GstGLAllocationParams</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<record name="GLAsyncDebug" c:type="GstGLAsyncDebug">
<doc xml:space="preserve">#GstGLAsyncDebug an opaque structure and should only be accessed through the
provided API.</doc>
<field name="state_flags" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="cat" readable="0" private="1">
<type name="Gst.DebugCategory" c:type="GstDebugCategory*"/>
</field>
<field name="level" readable="0" private="1">
<type name="Gst.DebugLevel" c:type="GstDebugLevel"/>
</field>
<field name="file" readable="0" private="1">
<type name="utf8" c:type="const gchar*"/>
</field>
<field name="function" readable="0" private="1">
<type name="utf8" c:type="const gchar*"/>
</field>
<field name="line" readable="0" private="1">
<type name="gint" c:type="gint"/>
</field>
<field name="object" readable="0" private="1">
<type name="GObject.Object" c:type="GObject*"/>
</field>
<field name="debug_msg" readable="0" private="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="callback" readable="0" private="1">
<type name="GLAsyncDebugLogGetMessage" c:type="GstGLAsyncDebugLogGetMessage"/>
</field>
<field name="user_data" readable="0" private="1">
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="notify" readable="0" private="1">
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</field>
<field name="_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<method name="free" c:identifier="gst_gl_async_debug_free" version="1.8">
<doc xml:space="preserve">Frees @ad</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLAsyncDebug</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
</parameters>
</method>
<method name="freeze" c:identifier="gst_gl_async_debug_freeze" version="1.8">
<doc xml:space="preserve">freeze the debug output. While frozen, any call to
gst_gl_async_debug_output_log_msg() will not output any messages but
subsequent calls to gst_gl_async_debug_store_log_msg() will overwrite previous
messages.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLAsyncDebug</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
</parameters>
</method>
<method name="init" c:identifier="gst_gl_async_debug_init" version="1.8">
<doc xml:space="preserve">Initialize @ad. Intended for use with #GstGLAsyncDebug's that are embedded
in other structs.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLAsyncDebug</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
</parameters>
</method>
<method name="output_log_msg" c:identifier="gst_gl_async_debug_output_log_msg">
<doc xml:space="preserve">Outputs a previously stored debug message.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAsyncDebug to store the message in</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
</parameters>
</method>
<method name="store_log_msg" c:identifier="gst_gl_async_debug_store_log_msg" version="1.8" introspectable="0">
<doc xml:space="preserve">Stores a debug message for later output by gst_gl_async_debug_output_log_msg()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAsyncDebug to store the message in</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
<parameter name="cat" transfer-ownership="none">
<doc xml:space="preserve">the #GstDebugCategory to output the message in</doc>
<type name="Gst.DebugCategory" c:type="GstDebugCategory*"/>
</parameter>
<parameter name="level" transfer-ownership="none">
<doc xml:space="preserve">the #GstDebugLevel</doc>
<type name="Gst.DebugLevel" c:type="GstDebugLevel"/>
</parameter>
<parameter name="file" transfer-ownership="none">
<doc xml:space="preserve">the file where the debug message originates from</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="function" transfer-ownership="none">
<doc xml:space="preserve">the function where the debug message originates from</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="line" transfer-ownership="none">
<doc xml:space="preserve">the line in @file where the debug message originates from</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="object" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GObject to associate with the debug message</doc>
<type name="GObject.Object" c:type="GObject*"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve">a printf style format string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">the list of arguments for @format</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="store_log_msg_valist" c:identifier="gst_gl_async_debug_store_log_msg_valist" version="1.8" introspectable="0">
<doc xml:space="preserve">Stores a debug message for later output by gst_gl_async_debug_output_log_msg()</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAsyncDebug to store the message in</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
<parameter name="cat" transfer-ownership="none">
<doc xml:space="preserve">the #GstDebugCategory to output the message in</doc>
<type name="Gst.DebugCategory" c:type="GstDebugCategory*"/>
</parameter>
<parameter name="level" transfer-ownership="none">
<doc xml:space="preserve">the #GstDebugLevel</doc>
<type name="Gst.DebugLevel" c:type="GstDebugLevel"/>
</parameter>
<parameter name="file" transfer-ownership="none">
<doc xml:space="preserve">the file where the debug message originates from</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="function" transfer-ownership="none">
<doc xml:space="preserve">the function where the debug message originates from</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="line" transfer-ownership="none">
<doc xml:space="preserve">the line in @file where the debug message originates from</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="object" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GObject to associate with the debug message</doc>
<type name="GObject.Object" c:type="GObject*"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve">a printf style format string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="varargs" transfer-ownership="none">
<doc xml:space="preserve">the list of arguments for @format</doc>
<type name="va_list" c:type="va_list"/>
</parameter>
</parameters>
</method>
<method name="thaw" c:identifier="gst_gl_async_debug_thaw" version="1.8">
<doc xml:space="preserve">unfreeze the debug output. See gst_gl_async_debug_freeze() for what freezing means</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLAsyncDebug</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
</parameters>
</method>
<method name="unset" c:identifier="gst_gl_async_debug_unset">
<doc xml:space="preserve">Unset any dynamically allocated data. Intended for use with
#GstGLAsyncDebug's that are embedded in other structs.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="ad" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLAsyncDebug</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</instance-parameter>
</parameters>
</method>
<function name="new" c:identifier="gst_gl_async_debug_new" version="1.8" introspectable="0">
<doc xml:space="preserve">Free with gst_gl_async_debug_free()</doc>
<return-value>
<doc xml:space="preserve">a new #GstGLAsyncDebug</doc>
<type name="GLAsyncDebug" c:type="GstGLAsyncDebug*"/>
</return-value>
</function>
</record>
<callback name="GLAsyncDebugLogGetMessage" c:type="GstGLAsyncDebugLogGetMessage">
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="0">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<class name="GLBaseFilter" c:symbol-prefix="gl_base_filter" c:type="GstGLBaseFilter" parent="GstBase.BaseTransform" glib:type-name="GstGLBaseFilter" glib:get-type="gst_gl_base_filter_get_type" glib:type-struct="GLBaseFilterClass">
<doc xml:space="preserve">#GstGLBaseFilter handles the nitty gritty details of retrieving an OpenGL
context. It also provided some wrappers around #GstBaseTransform's
`start()`, `stop()` and `set_caps()` virtual methods that ensure an OpenGL
context is available and current in the calling thread.</doc>
<virtual-method name="gl_set_caps">
<doc xml:space="preserve">called in the GL thread when caps are set on @filter.
Note: this will also be called when changing OpenGL contexts
where #GstBaseTransform::set_caps may not.</doc>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</instance-parameter>
<parameter name="incaps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="outcaps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="gl_start">
<doc xml:space="preserve">called in the GL thread to setup the element GL state.</doc>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="gl_stop">
<doc xml:space="preserve">called in the GL thread to setup the element GL state.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="find_gl_context" c:identifier="gst_gl_base_filter_find_gl_context" version="1.16">
<return-value transfer-ownership="none">
<doc xml:space="preserve">Whether an OpenGL context could be retrieved or created successfully</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseFilter</doc>
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_gl_context" c:identifier="gst_gl_base_filter_get_gl_context" version="1.18">
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">the #GstGLContext found by @filter</doc>
<type name="GLContext" c:type="GstGLContext*"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseFilter</doc>
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</instance-parameter>
</parameters>
</method>
<property name="context" transfer-ownership="none">
<type name="GLContext"/>
</property>
<field name="parent">
<type name="GstBase.BaseTransform" c:type="GstBaseTransform"/>
</field>
<field name="display">
<doc xml:space="preserve">the currently configured #GstGLDisplay</doc>
<type name="GLDisplay" c:type="GstGLDisplay*"/>
</field>
<field name="context">
<doc xml:space="preserve">the currently configured #GstGLContext</doc>
<type name="GLContext" c:type="GstGLContext*"/>
</field>
<field name="in_caps">
<doc xml:space="preserve">the currently configured input #GstCaps</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</field>
<field name="out_caps">
<doc xml:space="preserve">the currently configured output #GstCaps</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</field>
<field name="_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="priv" readable="0" private="1">
<type name="GLBaseFilterPrivate" c:type="GstGLBaseFilterPrivate*"/>
</field>
</class>
<record name="GLBaseFilterClass" c:type="GstGLBaseFilterClass" glib:is-gtype-struct-for="GLBaseFilter">
<doc xml:space="preserve">The base class for GStreamer GL Filter.</doc>
<field name="parent_class">
<type name="GstBase.BaseTransformClass" c:type="GstBaseTransformClass"/>
</field>
<field name="supported_gl_api">
<doc xml:space="preserve">the logical-OR of #GstGLAPI's supported by this element</doc>
<type name="GLAPI" c:type="GstGLAPI"/>
</field>
<field name="gl_start">
<doc xml:space="preserve">called in the GL thread to setup the element GL state.</doc>
<callback name="gl_start">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="gl_stop">
<doc xml:space="preserve">called in the GL thread to setup the element GL state.</doc>
<callback name="gl_stop">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="gl_set_caps">
<doc xml:space="preserve">called in the GL thread when caps are set on @filter.
Note: this will also be called when changing OpenGL contexts
where #GstBaseTransform::set_caps may not.</doc>
<callback name="gl_set_caps">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="GLBaseFilter" c:type="GstGLBaseFilter*"/>
</parameter>
<parameter name="incaps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="outcaps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="GLBaseFilterPrivate" c:type="GstGLBaseFilterPrivate" disguised="1" opaque="1"/>
<record name="GLBaseMemory" c:type="GstGLBaseMemory" glib:type-name="GstGLBaseMemory" glib:get-type="gst_gl_base_memory_get_type" c:symbol-prefix="gl_base_memory">
<doc xml:space="preserve">GstGLBaseMemory is a #GstMemory subclass providing the basis of support
for the mapping of GL buffers.
Data is uploaded or downloaded from the GPU as is necessary.</doc>
<field name="mem" writable="1">
<doc xml:space="preserve">the parent object</doc>
<type name="Gst.Memory" c:type="GstMemory"/>
</field>
<field name="context" writable="1">
<doc xml:space="preserve">the #GstGLContext to use for GL operations</doc>
<type name="GLContext" c:type="GstGLContext*"/>
</field>
<field name="lock" writable="1">
<type name="GLib.Mutex" c:type="GMutex"/>
</field>
<field name="map_flags" writable="1">
<type name="Gst.MapFlags" c:type="GstMapFlags"/>
</field>
<field name="map_count" writable="1">
<type name="gint" c:type="gint"/>
</field>
<field name="gl_map_count" writable="1">
<type name="gint" c:type="gint"/>
</field>
<field name="data" writable="1">
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="query" writable="1">
<type name="GLQuery" c:type="GstGLQuery*"/>
</field>
<field name="alloc_size" readable="0" private="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="alloc_data" readable="0" private="1">
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="notify" readable="0" private="1">
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</field>
<field name="user_data" readable="0" private="1">
<type name="gpointer" c:type="gpointer"/>
</field>
<field name="_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<method name="alloc_data" c:identifier="gst_gl_base_memory_alloc_data">
<doc xml:space="preserve">Note: only intended for subclass usage to allocate the system memory buffer
on demand. If there is already a non-NULL data pointer in @gl_mem->data,
then this function imply returns TRUE.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the system memory could be allocated</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="gl_mem" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</instance-parameter>
</parameters>
</method>
<method name="init" c:identifier="gst_gl_base_memory_init" version="1.8">
<doc xml:space="preserve">Initializes @mem with the required parameters</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLBaseMemory to initialize</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</instance-parameter>
<parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve">the #GstAllocator to initialize with</doc>
<type name="Gst.Allocator" c:type="GstAllocator*"/>
</parameter>
<parameter name="parent" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the parent #GstMemory to initialize with</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</parameter>
<parameter name="context" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLContext to initialize with</doc>
<type name="GLContext" c:type="GstGLContext*"/>
</parameter>
<parameter name="params" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the @GstAllocationParams to initialize with</doc>
<type name="Gst.AllocationParams" c:type="const GstAllocationParams*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve">the number of bytes to be allocated</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">user data to call @notify with</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="notify" transfer-ownership="none" nullable="1" allow-none="1" scope="async">
<doc xml:space="preserve">a #GDestroyNotify</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="memcpy" c:identifier="gst_gl_base_memory_memcpy" version="1.8">
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the copy succeeded.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="src" transfer-ownership="none">
<doc xml:space="preserve">the source #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</instance-parameter>
<parameter name="dest" transfer-ownership="none">
<doc xml:space="preserve">the destination #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</parameter>
<parameter name="offset" transfer-ownership="none">
<doc xml:space="preserve">the offset to start at</doc>
<type name="gssize" c:type="gssize"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve">the number of bytes to copy</doc>
<type name="gssize" c:type="gssize"/>
</parameter>
</parameters>
</method>
<function name="alloc" c:identifier="gst_gl_base_memory_alloc" version="1.8">
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">a new #GstGLBaseMemory from @allocator with the requested @params.</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</return-value>
<parameters>
<parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocator</doc>
<type name="GLBaseMemoryAllocator" c:type="GstGLBaseMemoryAllocator*"/>
</parameter>
<parameter name="params" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAllocationParams to allocate the memory with</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</parameter>
</parameters>
</function>
<function name="init_once" c:identifier="gst_gl_base_memory_init_once" version="1.8">
<doc xml:space="preserve">Initializes the GL Base Memory allocator. It is safe to call this function
multiple times. This must be called before any other GstGLBaseMemory operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</function>
</record>
<class name="GLBaseMemoryAllocator" c:symbol-prefix="gl_base_memory_allocator" c:type="GstGLBaseMemoryAllocator" version="1.8" parent="Gst.Allocator" abstract="1" glib:type-name="GstGLBaseMemoryAllocator" glib:get-type="gst_gl_base_memory_allocator_get_type" glib:type-struct="GLBaseMemoryAllocatorClass">
<doc xml:space="preserve">Opaque #GstGLBaseMemoryAllocator struct</doc>
<virtual-method name="alloc">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocatorAllocFunction</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">a newly allocated #GstGLBaseMemory from @allocator and @params</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</return-value>
<parameters>
<instance-parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocator</doc>
<type name="GLBaseMemoryAllocator" c:type="GstGLBaseMemoryAllocator*"/>
</instance-parameter>
<parameter name="params" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAllocationParams to allocate the memory with</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</parameter>
</parameters>
</virtual-method>
<field name="parent" readable="0" private="1">
<type name="Gst.Allocator" c:type="GstAllocator"/>
</field>
<field name="fallback_mem_copy" readable="0" private="1">
<type name="Gst.MemoryCopyFunction" c:type="GstMemoryCopyFunction"/>
</field>
<field name="_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<callback name="GLBaseMemoryAllocatorAllocFunction" c:type="GstGLBaseMemoryAllocatorAllocFunction" version="1.8">
<doc xml:space="preserve">Note: not called with a GL context current</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">a newly allocated #GstGLBaseMemory from @allocator and @params</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</return-value>
<parameters>
<parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocator</doc>
<type name="GLBaseMemoryAllocator" c:type="GstGLBaseMemoryAllocator*"/>
</parameter>
<parameter name="params" transfer-ownership="none">
<doc xml:space="preserve">the #GstGLAllocationParams to allocate the memory with</doc>
<type name="GLAllocationParams" c:type="GstGLAllocationParams*"/>
</parameter>
</parameters>
</callback>
<record name="GLBaseMemoryAllocatorClass" c:type="GstGLBaseMemoryAllocatorClass" glib:is-gtype-struct-for="GLBaseMemoryAllocator" version="1.8">
<field name="parent_class">
<doc xml:space="preserve">the parent class</doc>
<type name="Gst.AllocatorClass" c:type="GstAllocatorClass"/>
</field>
<field name="alloc">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocatorAllocFunction</doc>
<type name="GLBaseMemoryAllocatorAllocFunction" c:type="GstGLBaseMemoryAllocatorAllocFunction"/>
</field>
<field name="create">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocatorCreateFunction</doc>
<type name="GLBaseMemoryAllocatorCreateFunction" c:type="GstGLBaseMemoryAllocatorCreateFunction"/>
</field>
<field name="map">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocatorMapFunction</doc>
<type name="GLBaseMemoryAllocatorMapFunction" c:type="GstGLBaseMemoryAllocatorMapFunction"/>
</field>
<field name="unmap">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocatorUnmapFunction</doc>
<type name="GLBaseMemoryAllocatorUnmapFunction" c:type="GstGLBaseMemoryAllocatorUnmapFunction"/>
</field>
<field name="copy">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocatorCopyFunction</doc>
<type name="GLBaseMemoryAllocatorCopyFunction" c:type="GstGLBaseMemoryAllocatorCopyFunction"/>
</field>
<field name="destroy">
<doc xml:space="preserve">a #GstGLBaseMemoryAllocatorDestroyFunction</doc>
<type name="GLBaseMemoryAllocatorDestroyFunction" c:type="GstGLBaseMemoryAllocatorDestroyFunction"/>
</field>
<field name="_padding" readable="0" private="1">
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<callback name="GLBaseMemoryAllocatorCopyFunction" c:type="GstGLBaseMemoryAllocatorCopyFunction" version="1.8">
<doc xml:space="preserve">Also see gst_memory_copy();</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">the newly copied #GstGLMemory or %NULL</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</parameter>
<parameter name="offset" transfer-ownership="none">
<doc xml:space="preserve">the offset to copy from</doc>
<type name="gssize" c:type="gssize"/>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve">the number of bytes to copy</doc>
<type name="gssize" c:type="gssize"/>
</parameter>
</parameters>
</callback>
<callback name="GLBaseMemoryAllocatorCreateFunction" c:type="GstGLBaseMemoryAllocatorCreateFunction" version="1.8" throws="1">
<doc xml:space="preserve">As this virtual method is called with an OpenGL context current, use this
function to allocate and OpenGL resources needed for your application</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the creation succeeded</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</parameter>
</parameters>
</callback>
<callback name="GLBaseMemoryAllocatorDestroyFunction" c:type="GstGLBaseMemoryAllocatorDestroyFunction" version="1.8">
<doc xml:space="preserve">Destroy any resources allocated throughout the lifetime of @mem</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</parameter>
</parameters>
</callback>
<callback name="GLBaseMemoryAllocatorMapFunction" c:type="GstGLBaseMemoryAllocatorMapFunction" version="1.8">
<doc xml:space="preserve">Also see gst_memory_map();</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the mapped pointer</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</parameter>
<parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #GstMapInfo to map with</doc>
<type name="Gst.MapInfo" c:type="GstMapInfo*"/>
</parameter>
<parameter name="maxsize" transfer-ownership="none">
<doc xml:space="preserve">the size to map</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</callback>
<callback name="GLBaseMemoryAllocatorUnmapFunction" c:type="GstGLBaseMemoryAllocatorUnmapFunction" version="1.8">
<doc xml:space="preserve">Also see gst_memory_unmap();</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve">a #GstGLBaseMemory</doc>
<type name="GLBaseMemory" c:type="GstGLBaseMemory*"/>
</parameter>
<parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #GstMapInfo to map with</doc>
<type name="Gst.MapInfo" c:type="GstMapInfo*"/>
</parameter>
</parameters>
</callback>
<enumeration name="GLBaseMemoryError" glib:type-name="GstGLBaseMemoryError" glib:get-type="gst_gl_base_memory_error_get_type" c:type="GstGLBaseMemoryError" glib:error-domain="gst-gl-base-memory-error-quark">
<member name="failed" value="0" c:identifier="GST_GL_BASE_MEMORY_ERROR_FAILED" glib:nick="failed" glib:name="GST_GL_BASE_MEMORY_ERROR_FAILED">
<doc xml:space="preserve">generic failure</doc>
</member>
<member name="old_libs" value="1" c:identifier="GST_GL_BASE_MEMORY_ERROR_OLD_LIBS" glib:nick="old-libs" glib:name="GST_GL_BASE_MEMORY_ERROR_OLD_LIBS">
<doc xml:space="preserve">the implementation is too old and doesn't
implement enough features</doc>
</member>
<member name="resource_unavailable" value="2" c:identifier="GST_GL_BASE_MEMORY_ERROR_RESOURCE_UNAVAILABLE" glib:nick="resource-unavailable" glib:name="GST_GL_BASE_MEMORY_ERROR_RESOURCE_UNAVAILABLE">
<doc xml:space="preserve">a resource could not be found</doc>
</member>
<function name="quark" c:identifier="gst_gl_base_memory_error_quark">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the quark used for #GstGLBaseMemory in #GError's</doc>
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
</enumeration>
<bitfield name="GLBaseMemoryTransfer" glib:type-name="GstGLBaseMemoryTransfer" glib:get-type="gst_gl_base_memory_transfer_get_type" c:type="GstGLBaseMemoryTransfer">