/
gstreamer-1.0.vapi
4157 lines (4156 loc) · 191 KB
/
gstreamer-1.0.vapi
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
/* gstreamer-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "Gst", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace Debug {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BG_MASK")]
public const int BG_MASK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_FG_MASK")]
public const int FG_MASK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_FORMAT_MASK")]
public const int FORMAT_MASK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE")]
public static void BIN_TO_DOT_FILE (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
[CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS")]
public static void BIN_TO_DOT_FILE_WITH_TS (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
[CCode (cheader_filename = "gst/gst.h")]
public static void add_log_function (owned Gst.LogFunction func);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.14")]
public static void add_ring_buffer_logger (uint max_size_per_thread, uint thread_timeout);
[CCode (cheader_filename = "gst/gst.h")]
public static string bin_to_dot_data (Gst.Bin bin, Gst.DebugGraphDetails details);
[CCode (cheader_filename = "gst/gst.h")]
public static void bin_to_dot_file (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
[CCode (cheader_filename = "gst/gst.h")]
public static void bin_to_dot_file_with_ts (Gst.Bin bin, Gst.DebugGraphDetails details, string file_name);
[CCode (cheader_filename = "gst/gst.h")]
public static string construct_term_color (uint colorinfo);
[CCode (cheader_filename = "gst/gst.h")]
public static int construct_win_color (uint colorinfo);
[CCode (cheader_filename = "gst/gst.h")]
public static GLib.SList<weak Gst.DebugCategory?> get_all_categories ();
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.2")]
public static Gst.DebugColorMode get_color_mode ();
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.DebugLevel get_default_threshold ();
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.12")]
public static string? get_stack_trace (Gst.StackTraceFlags flags);
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_active ();
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_colored ();
[CCode (cheader_filename = "gst/gst.h")]
public static unowned string level_get_name (Gst.DebugLevel level);
[CCode (cheader_filename = "gst/gst.h")]
[PrintfFormat]
public static void log (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object? object, string format, ...);
[CCode (cheader_filename = "gst/gst.h")]
public static void log_default (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object? object, Gst.DebugMessage message, void* user_data = null);
[CCode (cheader_filename = "gst/gst.h")]
public static void log_valist (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object? object, string format, va_list args);
[CCode (cheader_filename = "gst/gst.h")]
public static void print_stack_trace ();
[CCode (cheader_filename = "gst/gst.h")]
public static uint remove_log_function (Gst.LogFunction? func);
[CCode (cheader_filename = "gst/gst.h")]
public static uint remove_log_function_by_data (void* data);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.14")]
public static void remove_ring_buffer_logger ();
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/gst.h")]
[Version (since = "1.14")]
public static string[] ring_buffer_logger_get_logs ();
[CCode (cheader_filename = "gst/gst.h")]
public static void set_active (bool active);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.2")]
public static void set_color_mode (Gst.DebugColorMode mode);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.2")]
public static void set_color_mode_from_string (string mode);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_colored (bool colored);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_default_threshold (Gst.DebugLevel level);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_threshold_for_name (string name, Gst.DebugLevel level);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.2")]
public static void set_threshold_from_string (string list, bool reset);
[CCode (cheader_filename = "gst/gst.h")]
public static void unset_threshold_for_name (string name);
}
namespace ElementFactoryKlass {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_DECODER")]
public const string DECODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_DECRYPTOR")]
public const string DECRYPTOR;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_DEMUXER")]
public const string DEMUXER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_DEPAYLOADER")]
public const string DEPAYLOADER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_ENCODER")]
public const string ENCODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_ENCRYPTOR")]
public const string ENCRYPTOR;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_FORMATTER")]
public const string FORMATTER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_HARDWARE")]
[Version (since = "1.16")]
public const string HARDWARE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_MEDIA_AUDIO")]
public const string MEDIA_AUDIO;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE")]
public const string MEDIA_IMAGE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA")]
public const string MEDIA_METADATA;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE")]
public const string MEDIA_SUBTITLE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_MEDIA_VIDEO")]
public const string MEDIA_VIDEO;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_MUXER")]
public const string MUXER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_PARSER")]
public const string PARSER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_PAYLOADER")]
public const string PAYLOADER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_SINK")]
public const string SINK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_KLASS_SRC")]
public const string SRC;
}
namespace ElementFactoryType {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_ANY")]
public const Gst.ElementFactoryListType ANY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS")]
public const Gst.ElementFactoryListType AUDIOVIDEO_SINKS;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_AUDIO_ENCODER")]
public const Gst.ElementFactoryListType AUDIO_ENCODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DECODABLE")]
public const Gst.ElementFactoryListType DECODABLE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DECODER")]
public const Gst.ElementFactoryListType DECODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DECRYPTOR")]
public const Gst.ElementFactoryListType DECRYPTOR;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DEMUXER")]
public const Gst.ElementFactoryListType DEMUXER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DEPAYLOADER")]
public const Gst.ElementFactoryListType DEPAYLOADER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_ENCODER")]
public const Gst.ElementFactoryListType ENCODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_ENCRYPTOR")]
public const Gst.ElementFactoryListType ENCRYPTOR;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_FORMATTER")]
public const Gst.ElementFactoryListType FORMATTER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_HARDWARE")]
public const Gst.ElementFactoryListType HARDWARE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MAX_ELEMENTS")]
public const Gst.ElementFactoryListType MAX_ELEMENTS;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY")]
public const Gst.ElementFactoryListType MEDIA_ANY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_AUDIO")]
public const Gst.ElementFactoryListType MEDIA_AUDIO;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE")]
public const Gst.ElementFactoryListType MEDIA_IMAGE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA")]
public const Gst.ElementFactoryListType MEDIA_METADATA;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE")]
public const Gst.ElementFactoryListType MEDIA_SUBTITLE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_VIDEO")]
public const Gst.ElementFactoryListType MEDIA_VIDEO;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MUXER")]
public const Gst.ElementFactoryListType MUXER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_PARSER")]
public const Gst.ElementFactoryListType PARSER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_PAYLOADER")]
public const Gst.ElementFactoryListType PAYLOADER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_SINK")]
public const Gst.ElementFactoryListType SINK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_SRC")]
public const Gst.ElementFactoryListType SRC;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_VIDEO_ENCODER")]
public const Gst.ElementFactoryListType VIDEO_ENCODER;
}
namespace Tags {
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM")]
public const string ALBUM;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM_ARTIST")]
public const string ALBUM_ARTIST;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM_ARTIST_SORTNAME")]
public const string ALBUM_ARTIST_SORTNAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM_GAIN")]
public const string ALBUM_GAIN;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM_PEAK")]
public const string ALBUM_PEAK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM_SORTNAME")]
public const string ALBUM_SORTNAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM_VOLUME_COUNT")]
public const string ALBUM_VOLUME_COUNT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ALBUM_VOLUME_NUMBER")]
public const string ALBUM_VOLUME_NUMBER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_APPLICATION_DATA")]
public const string APPLICATION_DATA;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_APPLICATION_NAME")]
public const string APPLICATION_NAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ARTIST")]
public const string ARTIST;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ARTIST_SORTNAME")]
public const string ARTIST_SORTNAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ATTACHMENT")]
public const string ATTACHMENT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_AUDIO_CODEC")]
public const string AUDIO_CODEC;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_BEATS_PER_MINUTE")]
public const string BEATS_PER_MINUTE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_BITRATE")]
public const string BITRATE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_CODEC")]
public const string CODEC;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_COMMENT")]
public const string COMMENT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_COMPOSER")]
public const string COMPOSER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_COMPOSER_SORTNAME")]
public const string COMPOSER_SORTNAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_CONDUCTOR")]
[Version (since = "1.8")]
public const string CONDUCTOR;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_CONTACT")]
public const string CONTACT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_CONTAINER_FORMAT")]
public const string CONTAINER_FORMAT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_COPYRIGHT")]
public const string COPYRIGHT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_COPYRIGHT_URI")]
public const string COPYRIGHT_URI;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_DATE")]
public const string DATE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_DATE_TIME")]
public const string DATE_TIME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_DESCRIPTION")]
public const string DESCRIPTION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_DEVICE_MANUFACTURER")]
public const string DEVICE_MANUFACTURER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_DEVICE_MODEL")]
public const string DEVICE_MODEL;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_DURATION")]
public const string DURATION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ENCODED_BY")]
public const string ENCODED_BY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ENCODER")]
public const string ENCODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ENCODER_VERSION")]
public const string ENCODER_VERSION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_EXTENDED_COMMENT")]
public const string EXTENDED_COMMENT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GENRE")]
public const string GENRE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION")]
public const string GEO_LOCATION_CAPTURE_DIRECTION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_CITY")]
public const string GEO_LOCATION_CITY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_COUNTRY")]
public const string GEO_LOCATION_COUNTRY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_ELEVATION")]
public const string GEO_LOCATION_ELEVATION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR")]
public const string GEO_LOCATION_HORIZONTAL_ERROR;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_LATITUDE")]
public const string GEO_LOCATION_LATITUDE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_LONGITUDE")]
public const string GEO_LOCATION_LONGITUDE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION")]
public const string GEO_LOCATION_MOVEMENT_DIRECTION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_MOVEMENT_SPEED")]
public const string GEO_LOCATION_MOVEMENT_SPEED;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_NAME")]
public const string GEO_LOCATION_NAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GEO_LOCATION_SUBLOCATION")]
public const string GEO_LOCATION_SUBLOCATION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_GROUPING")]
public const string GROUPING;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_HOMEPAGE")]
public const string HOMEPAGE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_IMAGE")]
public const string IMAGE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_IMAGE_ORIENTATION")]
public const string IMAGE_ORIENTATION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_INTERPRETED_BY")]
[Version (since = "1.2")]
public const string INTERPRETED_BY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ISRC")]
public const string ISRC;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_KEYWORDS")]
public const string KEYWORDS;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_LANGUAGE_CODE")]
public const string LANGUAGE_CODE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_LANGUAGE_NAME")]
public const string LANGUAGE_NAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_LICENSE")]
public const string LICENSE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_LICENSE_URI")]
public const string LICENSE_URI;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_LOCATION")]
public const string LOCATION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_LYRICS")]
public const string LYRICS;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_MAXIMUM_BITRATE")]
public const string MAXIMUM_BITRATE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_MIDI_BASE_NOTE")]
[Version (since = "1.4")]
public const string MIDI_BASE_NOTE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_MINIMUM_BITRATE")]
public const string MINIMUM_BITRATE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_NOMINAL_BITRATE")]
public const string NOMINAL_BITRATE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_ORGANIZATION")]
public const string ORGANIZATION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PERFORMER")]
public const string PERFORMER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PREVIEW_IMAGE")]
public const string PREVIEW_IMAGE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PRIVATE_DATA")]
[Version (since = "1.8")]
public const string PRIVATE_DATA;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_PUBLISHER")]
[Version (since = "1.2")]
public const string PUBLISHER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_REFERENCE_LEVEL")]
public const string REFERENCE_LEVEL;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_SERIAL")]
public const string SERIAL;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_SHOW_EPISODE_NUMBER")]
public const string SHOW_EPISODE_NUMBER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_SHOW_NAME")]
public const string SHOW_NAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_SHOW_SEASON_NUMBER")]
public const string SHOW_SEASON_NUMBER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_SHOW_SORTNAME")]
public const string SHOW_SORTNAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_SUBTITLE_CODEC")]
public const string SUBTITLE_CODEC;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_TITLE")]
public const string TITLE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_TITLE_SORTNAME")]
public const string TITLE_SORTNAME;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_TRACK_COUNT")]
public const string TRACK_COUNT;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_TRACK_GAIN")]
public const string TRACK_GAIN;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_TRACK_NUMBER")]
public const string TRACK_NUMBER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_TRACK_PEAK")]
public const string TRACK_PEAK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_USER_RATING")]
public const string USER_RATING;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_VERSION")]
public const string VERSION;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_TAG_VIDEO_CODEC")]
public const string VIDEO_CODEC;
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_exists")]
public static bool exists (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_description")]
public static unowned string? get_description (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_flag")]
public static Gst.TagFlag get_flag (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_nick")]
public static unowned string? get_nick (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_get_type")]
public static GLib.Type get_type (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_is_fixed")]
public static bool is_fixed (string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_list_copy_value")]
public static bool list_copy_value (out GLib.Value dest, Gst.TagList list, string tag);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_merge_strings_with_comma")]
public static void merge_strings_with_comma (out GLib.Value dest, GLib.Value src);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_merge_use_first")]
public static void merge_use_first (out GLib.Value dest, GLib.Value src);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_register")]
public static void register (string name, Gst.TagFlag flag, GLib.Type type, string nick, string blurb, Gst.TagMergeFunc? func);
[CCode (cheader_filename = "gst/gst.h", cname = "gst_tag_register_static")]
public static void register_static (string name, Gst.TagFlag flag, GLib.Type type, string nick, string blurb, Gst.TagMergeFunc? func);
}
namespace URI {
[CCode (cheader_filename = "gst/gst.h")]
[Version (deprecated = true)]
public static string @construct (string protocol, string location);
[CCode (cheader_filename = "gst/gst.h")]
public static GLib.Quark error_quark ();
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
public static Gst.Uri? from_string (string uri);
[CCode (cheader_filename = "gst/gst.h")]
public static string? get_location (string uri);
[CCode (cheader_filename = "gst/gst.h")]
public static string? get_protocol (string uri);
[CCode (cheader_filename = "gst/gst.h")]
public static bool has_protocol (string uri, string protocol);
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_valid (string uri);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
public static string join_strings (string base_uri, string ref_uri);
[CCode (cheader_filename = "gst/gst.h")]
public static bool protocol_is_supported (Gst.URIType type, string protocol);
[CCode (cheader_filename = "gst/gst.h")]
public static bool protocol_is_valid (string protocol);
}
namespace Util {
[CCode (cheader_filename = "gst/gst.h")]
public static void* array_binary_search (void* array, uint num_elements, size_t element_size, [CCode (delegate_target_pos = 6.1)] GLib.CompareDataFunc<void*> search_func, Gst.SearchMode mode, void* search_data);
[CCode (cheader_filename = "gst/gst.h")]
public static void double_to_fraction (double src, out int dest_n, out int dest_d);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.14")]
public static void dump_buffer (Gst.Buffer buf);
[CCode (cheader_filename = "gst/gst.h")]
public static void dump_mem ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] uint8[] mem);
[CCode (cheader_filename = "gst/gst.h")]
public static bool fraction_add (int a_n, int a_d, int b_n, int b_d, out int res_n, out int res_d);
[CCode (cheader_filename = "gst/gst.h")]
public static int fraction_compare (int a_n, int a_d, int b_n, int b_d);
[CCode (cheader_filename = "gst/gst.h")]
public static bool fraction_multiply (int a_n, int a_d, int b_n, int b_d, out int res_n, out int res_d);
[CCode (cheader_filename = "gst/gst.h")]
public static void fraction_to_double (int src_n, int src_d, out double dest);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 gdouble_to_guint64 (double value);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.12")]
public static bool get_object_array (GLib.Object object, string name, out GLib.ValueArray array);
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.ClockTime get_timestamp ();
[CCode (cheader_filename = "gst/gst.h")]
public static int greatest_common_divisor (int a, int b);
[CCode (cheader_filename = "gst/gst.h")]
public static int64 greatest_common_divisor_int64 (int64 a, int64 b);
[CCode (cheader_filename = "gst/gst.h")]
public static uint group_id_next ();
[CCode (cheader_filename = "gst/gst.h")]
public static double guint64_to_gdouble (uint64 value);
[CCode (cheader_filename = "gst/gst.h")]
public static int32 seqnum_compare (uint32 s1, uint32 s2);
[CCode (cheader_filename = "gst/gst.h")]
public static uint32 seqnum_next ();
[CCode (cheader_filename = "gst/gst.h")]
public static void set_object_arg (GLib.Object object, string name, string value);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.12")]
public static bool set_object_array (GLib.Object object, string name, GLib.ValueArray array);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_value_from_string (out GLib.Value value, string value_str);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 uint64_scale (uint64 val, uint64 num, uint64 denom);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 uint64_scale_ceil (uint64 val, uint64 num, uint64 denom);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 uint64_scale_int (uint64 val, int num, int denom);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 uint64_scale_int_ceil (uint64 val, int num, int denom);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 uint64_scale_int_round (uint64 val, int num, int denom);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 uint64_scale_round (uint64 val, uint64 num, uint64 denom);
}
namespace Value {
[CCode (cheader_filename = "gst/gst.h")]
public static bool can_compare (GLib.Value value1, GLib.Value value2);
[CCode (cheader_filename = "gst/gst.h")]
public static bool can_intersect (GLib.Value value1, GLib.Value value2);
[CCode (cheader_filename = "gst/gst.h")]
public static bool can_subtract (GLib.Value minuend, GLib.Value subtrahend);
[CCode (cheader_filename = "gst/gst.h")]
public static bool can_union (GLib.Value value1, GLib.Value value2);
[CCode (cheader_filename = "gst/gst.h")]
public static int compare (GLib.Value value1, GLib.Value value2);
[CCode (cheader_filename = "gst/gst.h")]
public static bool deserialize (out GLib.Value dest, string src);
[CCode (cheader_filename = "gst/gst.h")]
public static bool fixate (GLib.Value dest, GLib.Value src);
[CCode (cheader_filename = "gst/gst.h")]
public static bool fraction_multiply (GLib.Value product, GLib.Value factor1, GLib.Value factor2);
[CCode (cheader_filename = "gst/gst.h")]
public static bool fraction_subtract (GLib.Value dest, GLib.Value minuend, GLib.Value subtrahend);
[CCode (cheader_filename = "gst/gst.h")]
public static uint64 get_bitmask (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static unowned Gst.Caps get_caps (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static unowned Gst.CapsFeatures get_caps_features (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static double get_double_range_max (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static double get_double_range_min (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
public static uint get_flagset_flags (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
public static uint get_flagset_mask (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int get_fraction_denominator (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int get_fraction_numerator (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static unowned GLib.Value? get_fraction_range_max (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static unowned GLib.Value? get_fraction_range_min (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int64 get_int64_range_max (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int64 get_int64_range_min (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int64 get_int64_range_step (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int get_int_range_max (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int get_int_range_min (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static int get_int_range_step (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static unowned Gst.Structure get_structure (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static void init_and_copy (out GLib.Value dest, GLib.Value src);
[CCode (cheader_filename = "gst/gst.h")]
public static bool intersect (out GLib.Value dest, GLib.Value value1, GLib.Value value2);
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_fixed (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static bool is_subset (GLib.Value value1, GLib.Value value2);
[CCode (cheader_filename = "gst/gst.h")]
public static void register (Gst.ValueTable table);
[CCode (cheader_filename = "gst/gst.h")]
public static string? serialize (GLib.Value value);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_bitmask (GLib.Value value, uint64 bitmask);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_caps (GLib.Value value, Gst.Caps caps);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_caps_features (GLib.Value value, Gst.CapsFeatures features);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_double_range (GLib.Value value, double start, double end);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
public static void set_flagset (GLib.Value value, uint flags, uint mask);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_fraction (GLib.Value value, int numerator, int denominator);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_fraction_range (GLib.Value value, GLib.Value start, GLib.Value end);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_fraction_range_full (GLib.Value value, int numerator_start, int denominator_start, int numerator_end, int denominator_end);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_int64_range (GLib.Value value, int64 start, int64 end);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_int64_range_step (GLib.Value value, int64 start, int64 end, int64 step);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_int_range (GLib.Value value, int start, int end);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_int_range_step (GLib.Value value, int start, int end, int step);
[CCode (cheader_filename = "gst/gst.h")]
public static void set_structure (GLib.Value value, Gst.Structure structure);
[CCode (cheader_filename = "gst/gst.h")]
public static bool subtract (out GLib.Value dest, GLib.Value minuend, GLib.Value subtrahend);
[CCode (cheader_filename = "gst/gst.h")]
public static bool union (out GLib.Value dest, GLib.Value value1, GLib.Value value2);
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "gst_allocation_params_copy", free_function = "gst_allocation_params_free", type_id = "gst_allocation_params_get_type ()")]
[Compact]
public class AllocationParams {
public size_t align;
public Gst.MemoryFlags flags;
public size_t padding;
public size_t prefix;
public Gst.AllocationParams? copy ();
[DestroysInstance]
public void free ();
public void init ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_allocator_get_type ()")]
public abstract class Allocator : Gst.Object {
public weak Gst.MemoryCopyFunction mem_copy;
public weak Gst.MemoryIsSpanFunction mem_is_span;
public weak Gst.MemoryMapFunction mem_map;
public weak Gst.MemoryMapFullFunction mem_map_full;
public weak Gst.MemoryShareFunction mem_share;
public weak string mem_type;
public weak Gst.MemoryUnmapFunction mem_unmap;
public weak Gst.MemoryUnmapFullFunction mem_unmap_full;
[CCode (has_construct_function = false)]
protected Allocator ();
public virtual Gst.Memory? alloc (size_t size, Gst.AllocationParams? @params);
public static Gst.Allocator? find (string? name);
public virtual void free (owned Gst.Memory memory);
public static void register (string name, owned Gst.Allocator allocator);
[DestroysInstance]
public void set_default ();
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_atomic_queue_ref", type_id = "gst_atomic_queue_get_type ()", unref_function = "gst_atomic_queue_unref")]
[Compact]
public class AtomicQueue<T> {
[CCode (has_construct_function = false)]
public AtomicQueue (uint initial_size);
public uint length ();
public unowned T peek<T> ();
public T pop ();
public void push (owned T data);
public void @ref ();
public void unref ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_bin_get_type ()")]
public class Bin : Gst.Element, Gst.ChildProxy {
public Gst.Bus child_bus;
public GLib.List<Gst.Element> children;
public uint32 children_cookie;
public bool clock_dirty;
public Gst.Element clock_provider;
public GLib.List<Gst.Message> messages;
public int numchildren;
public bool polling;
public Gst.Clock provided_clock;
public bool state_dirty;
[CCode (has_construct_function = false, returns_floating_reference = true, type = "GstElement*")]
public Bin (string? name);
public bool add (Gst.Element element);
[NoWrapper]
public virtual bool add_element (Gst.Element element);
public void add_many (params Gst.Element[] elements);
public Gst.Pad? find_unlinked_pad (Gst.PadDirection direction);
public Gst.Element? get_by_interface (GLib.Type iface);
public Gst.Element? get_by_name (string name);
public Gst.Element? get_by_name_recurse_up (string name);
[Version (since = "1.10")]
public Gst.ElementFlags get_suppressed_flags ();
[NoWrapper]
public virtual void handle_message (Gst.Message message);
public Gst.Iterator? iterate_all_by_interface (GLib.Type iface);
public Gst.Iterator? iterate_elements ();
public Gst.Iterator? iterate_recurse ();
public Gst.Iterator? iterate_sinks ();
public Gst.Iterator? iterate_sorted ();
public Gst.Iterator? iterate_sources ();
public bool recalculate_latency ();
public bool remove (Gst.Element element);
[NoWrapper]
public virtual bool remove_element (Gst.Element element);
public void remove_many (params Gst.Element[] elements);
[Version (since = "1.10")]
public void set_suppressed_flags (Gst.ElementFlags flags);
[Version (since = "1.6")]
public bool sync_children_states ();
[NoAccessorMethod]
public bool async_handling { get; set; }
[NoAccessorMethod]
public bool message_forward { get; set; }
[Version (since = "1.10")]
public virtual signal void deep_element_added (Gst.Bin sub_bin, Gst.Element child);
[Version (since = "1.10")]
public virtual signal void deep_element_removed (Gst.Bin sub_bin, Gst.Element child);
public virtual signal bool do_latency ();
public virtual signal void element_added (Gst.Element child);
public virtual signal void element_removed (Gst.Element child);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_bitmask_get_type ()")]
public class Bitmask {
[CCode (has_construct_function = false)]
protected Bitmask ();
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_buffer_ref", type_id = "gst_buffer_get_type ()", unref_function = "gst_buffer_unref")]
[Compact]
public class Buffer : Gst.MiniObject {
public Gst.ClockTime dts;
public Gst.ClockTime duration;
public uint64 offset;
public uint64 offset_end;
public weak Gst.BufferPool pool;
public Gst.ClockTime pts;
[CCode (has_construct_function = false)]
public Buffer ();
public unowned Gst.Meta? add_meta (Gst.MetaInfo info, void* @params);
[Version (since = "1.6")]
public unowned Gst.ParentBufferMeta? add_parent_buffer_meta (Gst.Buffer @ref);
[Version (since = "1.6")]
public unowned Gst.ProtectionMeta? add_protection_meta (owned Gst.Structure info);
[Version (since = "1.14")]
public unowned Gst.ReferenceTimestampMeta? add_reference_timestamp_meta (Gst.Caps reference, Gst.ClockTime timestamp, Gst.ClockTime duration);
[CCode (has_construct_function = false)]
public Buffer.allocate (Gst.Allocator? allocator, size_t size, Gst.AllocationParams? @params);
[DestroysInstance]
public Gst.Buffer append (owned Gst.Buffer buf2);
public void append_memory (owned Gst.Memory mem);
[DestroysInstance]
public Gst.Buffer append_region (owned Gst.Buffer buf2, ssize_t offset, ssize_t size);
[Version (since = "1.6")]
public Gst.Buffer copy_deep ();
[CCode (instance_pos = 1.9)]
public bool copy_into (Gst.Buffer dst, Gst.BufferCopyFlags flags, size_t offset, size_t size);
public Gst.Buffer copy_region (Gst.BufferCopyFlags flags, size_t offset, size_t size);
public size_t extract (size_t offset, [CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "gsize")] out unowned uint8[] dest);
[Version (since = "1.0.10")]
public void extract_dup (size_t offset, size_t size, [CCode (array_length_cname = "dest_size", array_length_pos = 3.1, array_length_type = "gsize")] out uint8[] dest);
public size_t fill (size_t offset, [CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] src);
public bool find_memory (size_t offset, size_t size, out uint idx, out uint length, out size_t skip);
public bool foreach_meta (Gst.BufferForeachMetaFunc func);
public Gst.Memory? get_all_memory ();
[Version (since = "1.10")]
public Gst.BufferFlags get_flags ();
[Version (since = "1.2")]
public static uint get_max_memory ();
public Gst.Memory? get_memory (uint idx);
public Gst.Memory? get_memory_range (uint idx, int length);
public unowned Gst.Meta? get_meta (GLib.Type api);
[Version (since = "1.14")]
public uint get_n_meta (GLib.Type api_type);
[Version (since = "1.14")]
public unowned Gst.ReferenceTimestampMeta? get_reference_timestamp_meta (Gst.Caps? reference);
public size_t get_size ();
public size_t get_sizes (out size_t offset, out size_t maxsize);
public size_t get_sizes_range (uint idx, int length, out size_t offset, out size_t maxsize);
public bool has_flags (Gst.BufferFlags flags);
public void insert_memory (int idx, owned Gst.Memory mem);
[Version (since = "1.4")]
public bool is_all_memory_writable ();
[Version (since = "1.4")]
public bool is_memory_range_writable (uint idx, int length);
public bool map (out Gst.MapInfo info, Gst.MapFlags flags);
public bool map_range (uint idx, int length, out Gst.MapInfo info, Gst.MapFlags flags);
public int memcmp (size_t offset, [CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] mem);
public size_t memset (size_t offset, uint8 val, size_t size);
public uint n_memory ();
[CCode (has_construct_function = false, simple_generics = true)]
public static Gst.Buffer new_wrapped_full<T> (Gst.MemoryFlags flags, [CCode (array_length_cname = "maxsize", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data, size_t offset, size_t size, owned T user_data);
public unowned Gst.Memory? peek_memory (uint idx);
public void prepend_memory (owned Gst.Memory mem);
public void remove_all_memory ();
public void remove_memory (uint idx);
public void remove_memory_range (uint idx, int length);
public bool remove_meta (Gst.Meta meta);
public void replace_all_memory (owned Gst.Memory mem);
public void replace_memory (uint idx, owned Gst.Memory mem);
public void replace_memory_range (uint idx, int length, owned Gst.Memory mem);
public void resize (ssize_t offset, ssize_t size);
public bool resize_range (uint idx, int length, ssize_t offset, ssize_t size);
[Version (since = "1.10")]
public bool set_flags (Gst.BufferFlags flags);
public void set_size (ssize_t size);
public void unmap (Gst.MapInfo info);
[Version (since = "1.10")]
public bool unset_flags (Gst.BufferFlags flags);
[CCode (has_construct_function = false)]
public Buffer.wrapped ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "gsize")] owned uint8[] data);
[CCode (has_construct_function = false)]
[Version (since = "1.16")]
public Buffer.wrapped_bytes (GLib.Bytes bytes);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_buffer_list_ref", type_id = "gst_buffer_list_get_type ()", unref_function = "gst_buffer_list_unref")]
[Compact]
public class BufferList : Gst.MiniObject {
[CCode (has_construct_function = false)]
public BufferList ();
[Version (since = "1.14")]
public size_t calculate_size ();
[Version (since = "1.6")]
public Gst.BufferList copy_deep ();
public bool @foreach (Gst.BufferListFunc func);
public unowned Gst.Buffer? @get (uint idx);
[Version (since = "1.14")]
public unowned Gst.Buffer? get_writable (uint idx);
public void insert (int idx, owned Gst.Buffer buffer);
public uint length ();
public void remove (uint idx, uint length);
[CCode (has_construct_function = false)]
public BufferList.sized (uint size);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_buffer_pool_get_type ()")]
public class BufferPool : Gst.Object {
public int flushing;
[CCode (has_construct_function = false, returns_floating_reference = true)]
public BufferPool ();
public virtual Gst.FlowReturn acquire_buffer (out Gst.Buffer buffer, Gst.BufferPoolAcquireParams? @params);
[NoWrapper]
public virtual Gst.FlowReturn alloc_buffer (Gst.Buffer buffer, Gst.BufferPoolAcquireParams @params);
public static void config_add_option (Gst.Structure config, string option);
public static bool config_get_allocator (Gst.Structure config, out unowned Gst.Allocator allocator, out unowned Gst.AllocationParams @params);
public static unowned string config_get_option (Gst.Structure config, uint index);
public static bool config_get_params (Gst.Structure config, out unowned Gst.Caps caps, out uint size, out uint min_buffers, out uint max_buffers);
public static bool config_has_option (Gst.Structure config, string option);
public static uint config_n_options (Gst.Structure config);
public static void config_set_allocator (Gst.Structure config, Gst.Allocator? allocator, Gst.AllocationParams? @params);
public static void config_set_params (Gst.Structure config, Gst.Caps caps, uint size, uint min_buffers, uint max_buffers);
[Version (since = "1.4")]
public static bool config_validate_params (Gst.Structure config, Gst.Caps caps, uint size, uint min_buffers, uint max_buffers);
[NoWrapper]
public virtual void flush_start ();
[NoWrapper]
public virtual void flush_stop ();
[NoWrapper]
public virtual void free_buffer (Gst.Buffer buffer);
public Gst.Structure get_config ();
[CCode (array_length = false, array_null_terminated = true)]
public virtual unowned string[] get_options ();
public bool has_option (string option);
public bool is_active ();
public virtual void release_buffer (owned Gst.Buffer buffer);
[NoWrapper]
public virtual void reset_buffer (Gst.Buffer buffer);
public bool set_active (bool active);
public virtual bool set_config (owned Gst.Structure config);
[Version (since = "1.4")]
public void set_flushing (bool flushing);
[NoWrapper]
public virtual bool start ();
[NoWrapper]
public virtual bool stop ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_bus_get_type ()")]
public class Bus : Gst.Object {
[CCode (has_construct_function = false)]
public Bus ();
[CCode (cname = "gst_bus_add_signal_watch_full")]
public void add_signal_watch (int priority = GLib.Priority.DEFAULT);
[CCode (cname = "gst_bus_add_watch_full")]
public uint add_watch (int priority, owned Gst.BusFunc func);
public bool async_signal_func (Gst.Message message, void* data);
public GLib.Source? create_watch ();
public void disable_sync_message_emission ();
public void enable_sync_message_emission ();
[Version (since = "1.14")]
public GLib.PollFD get_pollfd ();
public bool have_pending ();
public Gst.Message? peek ();
public Gst.Message? poll (Gst.MessageType events, Gst.ClockTime timeout);
public Gst.Message? pop ();
public Gst.Message? pop_filtered (Gst.MessageType types);
public bool post (owned Gst.Message message);
public void remove_signal_watch ();
[Version (since = "1.6")]
public bool remove_watch ();
public void set_flushing (bool flushing);
public void set_sync_handler (owned Gst.BusSyncHandler? func);
public Gst.BusSyncReply sync_signal_handler (Gst.Message message, void* data);
public Gst.Message? timed_pop (Gst.ClockTime timeout);
public Gst.Message? timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types);
[NoAccessorMethod]
public bool enable_async { construct; }
public virtual signal void message (Gst.Message message);
public virtual signal void sync_message (Gst.Message message);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_caps_ref", type_id = "gst_caps_get_type ()", unref_function = "gst_caps_unref")]
[Compact]
public class Caps : Gst.MiniObject {
[CCode (has_construct_function = false)]
public Caps.any ();
public void append (owned Gst.Caps caps2);
public void append_structure (owned Gst.Structure structure);
[Version (since = "1.2")]
public void append_structure_full (owned Gst.Structure structure, owned Gst.CapsFeatures? features = null);
public bool can_intersect (Gst.Caps caps2);
public Gst.Caps copy ();
[Version (since = "1.16")]
public Gst.Caps copy_nth (uint nth);
[CCode (has_construct_function = false)]
public Caps.empty ();
[CCode (has_construct_function = false)]
public Caps.empty_simple (string media_type);
[Version (since = "1.6")]
public void filter_and_map_in_place (Gst.CapsFilterMapFunc func);
[DestroysInstance]
public Gst.Caps fixate ();
[Version (since = "1.6")]
public bool @foreach (Gst.CapsForeachFunc func);
public static Gst.Caps? from_string (string string);
[CCode (has_construct_function = false)]
public Caps.full (params Gst.Structure[] structure);
[CCode (has_construct_function = false)]
public Caps.full_valist (Gst.Structure structure, va_list var_args);
[Version (since = "1.2")]
public unowned Gst.CapsFeatures? get_features (uint index);
public uint get_size ();
public unowned Gst.Structure get_structure (uint index);
[CCode (cname = "gst_caps_intersect_full")]
public Gst.Caps intersect (Gst.Caps caps2, Gst.CapsIntersectMode mode = Gst.CapsIntersectMode.ZIG_ZAG);
public bool is_always_compatible (Gst.Caps caps2);
public bool is_any ();
public bool is_empty ();
public bool is_equal (Gst.Caps caps2);
public bool is_equal_fixed (Gst.Caps caps2);
public bool is_fixed ();
public bool is_strictly_equal (Gst.Caps caps2);
public bool is_subset (Gst.Caps superset);
public bool is_subset_structure (Gst.Structure structure);
[Version (since = "1.2")]
public bool is_subset_structure_full (Gst.Structure structure, Gst.CapsFeatures? features);
[Version (since = "1.6")]
public bool map_in_place (Gst.CapsMapFunc func);
[DestroysInstance]
public Gst.Caps merge (owned Gst.Caps caps2);
[DestroysInstance]
public Gst.Caps merge_structure (owned Gst.Structure structure);
[DestroysInstance]
[Version (since = "1.2")]
public Gst.Caps merge_structure_full (owned Gst.Structure structure, owned Gst.CapsFeatures? features);
[DestroysInstance]
public Gst.Caps normalize ();
public void remove_structure (uint idx);
[Version (since = "1.2")]
public void set_features (uint index, owned Gst.CapsFeatures? features);
[Version (since = "1.16")]
public void set_features_simple (owned Gst.CapsFeatures? features);
public void set_simple (string field, ...);
public void set_simple_valist (string field, va_list varargs);
public void set_value (string field, GLib.Value value);
[CCode (has_construct_function = false)]
public Caps.simple (string media_type, string fieldname, ...);
[DestroysInstance]
public Gst.Caps simplify ();
public Gst.Structure? steal_structure (uint index);
public Gst.Caps subtract (Gst.Caps subtrahend);
public string to_string ();
[DestroysInstance]
public Gst.Caps truncate ();
}
[CCode (cheader_filename = "gst/gst.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_caps_features_get_type ()")]
[Compact]
[Version (since = "1.2")]
public class CapsFeatures {
[CCode (has_construct_function = false)]
public CapsFeatures (string feature1, ...);
public void add (string feature);
public void add_id (GLib.Quark feature);
[CCode (has_construct_function = false)]
public CapsFeatures.any ();
public bool contains (string feature);
public bool contains_id (GLib.Quark feature);
public Gst.CapsFeatures copy ();
[CCode (has_construct_function = false)]
public CapsFeatures.empty ();
[DestroysInstance]
public void free ();
public static Gst.CapsFeatures? from_string (string features);
public unowned string? get_nth (uint i);
public GLib.Quark get_nth_id (uint i);
public uint get_size ();
[CCode (has_construct_function = false)]
public CapsFeatures.id (params GLib.Quark[] features);
[CCode (has_construct_function = false)]
public CapsFeatures.id_valist (GLib.Quark feature1, va_list varargs);
public bool is_any ();
public bool is_equal (Gst.CapsFeatures features2);
public void remove (string feature);
public void remove_id (GLib.Quark feature);
public bool set_parent_refcount (int refcount);
public string to_string ();
[CCode (has_construct_function = false)]
public CapsFeatures.valist (string feature1, va_list varargs);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_clock_get_type ()")]
public abstract class Clock : Gst.Object {
[CCode (has_construct_function = false)]
protected Clock ();
public bool add_observation (Gst.ClockTime slave, Gst.ClockTime master, out double r_squared);
[Version (since = "1.6")]
public bool add_observation_unapplied (Gst.ClockTime slave, Gst.ClockTime master, out double r_squared, out Gst.ClockTime @internal, out Gst.ClockTime external, out Gst.ClockTime rate_num, out Gst.ClockTime rate_denom);
public Gst.ClockTime adjust_unlocked (Gst.ClockTime @internal);
[Version (since = "1.6")]
public Gst.ClockTime adjust_with_calibration (Gst.ClockTime internal_target, Gst.ClockTime cinternal, Gst.ClockTime cexternal, Gst.ClockTime cnum, Gst.ClockTime cdenom);
[NoWrapper]
public virtual Gst.ClockTime change_resolution (Gst.ClockTime old_resolution, Gst.ClockTime new_resolution);
public void get_calibration (out Gst.ClockTime @internal, out Gst.ClockTime external, out Gst.ClockTime rate_num, out Gst.ClockTime rate_denom);
public virtual Gst.ClockTime get_internal_time ();
public Gst.Clock? get_master ();
public virtual Gst.ClockTime get_resolution ();
public Gst.ClockTime get_time ();
public Gst.ClockTime get_timeout ();
public static int id_compare_func (void* id1, void* id2);
[Version (since = "1.16")]
public static Gst.Clock? id_get_clock (Gst.ClockID id);
public static Gst.ClockTime id_get_time (Gst.ClockID id);
public static Gst.ClockID id_ref (Gst.ClockID id);
public static void id_unref (owned Gst.ClockID id);
public static void id_unschedule (Gst.ClockID id);
[Version (since = "1.16")]
public static bool id_uses_clock (Gst.ClockID id, Gst.Clock clock);
public static Gst.ClockReturn id_wait (Gst.ClockID id, out Gst.ClockTimeDiff jitter);
public static Gst.ClockReturn id_wait_async (Gst.ClockID id, owned Gst.ClockCallback func);
[Version (since = "1.6")]
public bool is_synced ();
public Gst.ClockID new_periodic_id (Gst.ClockTime start_time, Gst.ClockTime interval);
public Gst.ClockID new_single_shot_id (Gst.ClockTime time);
public bool periodic_id_reinit (Gst.ClockID id, Gst.ClockTime start_time, Gst.ClockTime interval);
public void set_calibration (Gst.ClockTime @internal, Gst.ClockTime external, Gst.ClockTime rate_num, Gst.ClockTime rate_denom);
public bool set_master (Gst.Clock? master);
public Gst.ClockTime set_resolution (Gst.ClockTime resolution);
[Version (since = "1.6")]
public void set_synced (bool synced);
public void set_timeout (Gst.ClockTime timeout);
public bool single_shot_id_reinit (Gst.ClockID id, Gst.ClockTime time);
public Gst.ClockTime unadjust_unlocked (Gst.ClockTime external);
[Version (since = "1.8")]
public Gst.ClockTime unadjust_with_calibration (Gst.ClockTime external_target, Gst.ClockTime cinternal, Gst.ClockTime cexternal, Gst.ClockTime cnum, Gst.ClockTime cdenom);
[NoWrapper]
public virtual void unschedule (Gst.ClockEntry entry);
[NoWrapper]
public virtual Gst.ClockReturn wait (Gst.ClockEntry entry, Gst.ClockTimeDiff jitter);
[NoWrapper]
public virtual Gst.ClockReturn wait_async (Gst.ClockEntry entry);
[Version (since = "1.6")]
public bool wait_for_sync (Gst.ClockTime timeout);
public uint64 timeout { get; set; }