This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgstreamer-1.0.vapi
3028 lines (3027 loc) · 139 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
/* XXX: report missing symbols upstream */
[CCode (cprefix = "Gst", gir_namespace = "Gst", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace Version {
public extern const int MAJOR;
public extern const int MINOR;
}
public extern const Gst.StaticCaps STATIC_CAPS_ANY;
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")]
public static void add_log_function (owned Gst.LogFunction func);
[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")]
public static Gst.DebugLevel get_default_threshold ();
[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")]
public static void log_default (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object? object, Gst.DebugMessage message, void* unused);
[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")]
public static void set_active (bool active);
[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")]
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_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_FORMATTER")]
public const string FORMATTER;
[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 int ANY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS")]
public const int AUDIOVIDEO_SINKS;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_AUDIO_ENCODER")]
public const int AUDIO_ENCODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DECODABLE")]
public const int DECODABLE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DECODER")]
public const int DECODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DEMUXER")]
public const int DEMUXER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_DEPAYLOADER")]
public const int DEPAYLOADER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_ENCODER")]
public const int ENCODER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_FORMATTER")]
public const int FORMATTER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MAX_ELEMENTS")]
public const int MAX_ELEMENTS;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY")]
public const int MEDIA_ANY;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_AUDIO")]
public const int MEDIA_AUDIO;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE")]
public const int MEDIA_IMAGE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA")]
public const int MEDIA_METADATA;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE")]
public const int MEDIA_SUBTITLE;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MEDIA_VIDEO")]
public const int MEDIA_VIDEO;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_MUXER")]
public const int MUXER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_PARSER")]
public const int PARSER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_PAYLOADER")]
public const int PAYLOADER;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_SINK")]
public const int SINK;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_SRC")]
public const int SRC;
[CCode (cheader_filename = "gst/gst.h", cname = "GST_ELEMENT_FACTORY_TYPE_VIDEO_ENCODER")]
public const int 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_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_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_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_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);
}
namespace URI {
[CCode (cheader_filename = "gst/gst.h")]
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")]
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")]
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 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")]
public static void dump_mem (uint8 mem, uint size);
[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")]
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 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")]
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 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")]
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_double_range (GLib.Value value, double start, double end);
[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 ();
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.MemoryShareFunction mem_share;
public weak string mem_type;
public weak Gst.MemoryUnmapFunction mem_unmap;
[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);
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 (owned Gst.Element element);
[NoWrapper]
public virtual bool add_element (Gst.Element element);
public void add_many (owned Gst.Element element_1, ...);
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);
[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);
[NoAccessorMethod]
public bool async_handling { get; set; }
[NoAccessorMethod]
public bool message_forward { get; set; }
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);
[CCode (has_construct_function = false)]
public Buffer.allocate (Gst.Allocator? allocator, size_t size, Gst.AllocationParams? @params);
public Gst.Buffer append (owned Gst.Buffer buf2);
public void append_memory (owned Gst.Memory mem);
public Gst.Buffer append_region (owned Gst.Buffer buf2, ssize_t offset, ssize_t size);
public void copy_into (Gst.Buffer src, 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, void* dest, size_t size);
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 ();
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);
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 void insert_memory (int idx, owned Gst.Memory mem);
public unowned Gst.Meta? iterate_meta (void* state);
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 = "size", array_length_pos = 4.5, array_length_type = "gsize")] uint8[] data, size_t maxsize, size_t offset, 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 void resize_range (uint idx, int length, ssize_t offset, ssize_t size);
public void set_size (ssize_t size);
public void unmap (Gst.MapInfo info);
[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 (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 ();
public bool @foreach (Gst.BufferListFunc func);
public unowned Gst.Buffer @get (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)]
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, Gst.Allocator allocator, 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);
[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);
[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 ();
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 ();
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);
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);
public bool can_intersect (Gst.Caps caps2);
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);
public Gst.Caps fixate ();
public static Gst.Caps from_string (string string);
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);
public Gst.Caps merge (owned Gst.Caps caps2);
public Gst.Caps merge_structure (owned Gst.Structure structure);
public Gst.Caps normalize ();
public void remove_structure (uint idx);
public void set_value (string field, GLib.Value value);
public Gst.Caps simplify ();
public Gst.Structure steal_structure (uint index);
public Gst.Caps subtract (Gst.Caps subtrahend);
public string to_string ();
public Gst.Caps truncate ();
}
[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);
public Gst.ClockTime adjust_unlocked (Gst.ClockTime @internal);
[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);
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);
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);
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);
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);
[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);
public uint64 timeout { get; set; }
[NoAccessorMethod]
public int window_size { get; set; }
[NoAccessorMethod]
public int window_threshold { get; set; }
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_control_binding_get_type ()")]
public abstract class ControlBinding : Gst.Object {
public weak GLib.ParamSpec pspec;
[CCode (has_construct_function = false)]
protected ControlBinding ();
public virtual bool get_g_value_array (Gst.ClockTime timestamp, Gst.ClockTime interval, uint n_values, GLib.Value values);
public virtual GLib.Value? get_value (Gst.ClockTime timestamp);
public virtual bool get_value_array (Gst.ClockTime timestamp, Gst.ClockTime interval, uint n_values, void* values);
public bool is_disabled ();
public void set_disabled (bool disabled);
public virtual bool sync_values (Gst.Object object, Gst.ClockTime timestamp, Gst.ClockTime last_sync);
[NoAccessorMethod]
public string name { owned get; construct; }
[NoAccessorMethod]
public Gst.Object object { owned get; construct; }
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_control_source_get_type ()")]
public abstract class ControlSource : Gst.Object {
[CCode (has_construct_function = false)]
protected ControlSource ();
public bool get_value (Gst.ClockTime timestamp, double value);
public bool get_value_array (Gst.ClockTime timestamp, Gst.ClockTime interval, [CCode (array_length_cname = "n_values", array_length_pos = 2.5, array_length_type = "guint", type = "gdouble*")] double[] values);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_date_time_ref", type_id = "gst_date_time_get_type ()", unref_function = "gst_date_time_unref")]
[Compact]
public class DateTime {
[CCode (has_construct_function = false)]
public DateTime (float tzoffset, int year, int month, int day, int hour, int minute, double seconds);
[CCode (has_construct_function = false)]
public DateTime.from_g_date_time (owned GLib.DateTime dt);
[CCode (has_construct_function = false)]
public DateTime.from_iso8601_string (string string);
[CCode (has_construct_function = false)]
public DateTime.from_unix_epoch_local_time (int64 secs);
[CCode (has_construct_function = false)]
public DateTime.from_unix_epoch_utc (int64 secs);
public int get_day ();
public int get_hour ();
public int get_microsecond ();
public int get_minute ();
public int get_month ();
public int get_second ();
public float get_time_zone_offset ();
public int get_year ();
public bool has_day ();
public bool has_month ();
public bool has_second ();
public bool has_time ();
public bool has_year ();
[CCode (has_construct_function = false)]
public DateTime.local_time (int year, int month, int day, int hour, int minute, double seconds);
[CCode (has_construct_function = false)]
public DateTime.now_local_time ();
[CCode (has_construct_function = false)]
public DateTime.now_utc ();
public Gst.DateTime @ref ();
public GLib.DateTime to_g_date_time ();
public string to_iso8601_string ();
public void unref ();
[CCode (has_construct_function = false)]
public DateTime.y (int year);
[CCode (has_construct_function = false)]
public DateTime.ym (int year, int month);
[CCode (has_construct_function = false)]
public DateTime.ymd (int year, int month, int day);
}
[CCode (cheader_filename = "gst/gst.h")]
[Compact]
public class DebugMessage {
public unowned string @get ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_double_range_get_type ()")]
public class DoubleRange {
[CCode (has_construct_function = false)]
protected DoubleRange ();
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_element_get_type ()")]
public abstract class Element : Gst.Object {
public Gst.ClockTimeDiff base_time;
public Gst.Bus bus;
public Gst.Clock clock;
public Gst.State current_state;
public Gst.StateChangeReturn last_return;
public Gst.State next_state;
public uint16 numpads;
public uint16 numsinkpads;
public uint16 numsrcpads;
public GLib.List<Gst.Pad> pads;
public uint32 pads_cookie;
public Gst.State pending_state;
public GLib.List<weak Gst.Pad> sinkpads;
public GLib.List<weak Gst.Pad> srcpads;
public Gst.ClockTime start_time;
public GLib.Cond state_cond;
public uint32 state_cookie;
public GLib.RecMutex state_lock;
public Gst.State target_state;
[CCode (has_construct_function = false)]
protected Element ();
public void abort_state ();
[CCode (cname = "gst_element_class_add_metadata")]
public class void add_metadata (string key, string value);
public bool add_pad (owned Gst.Pad pad);
[CCode (cname = "gst_element_class_add_pad_template")]
public class void add_pad_template (owned Gst.PadTemplate templ);
[CCode (cname = "gst_element_class_add_static_metadata")]
public class void add_static_metadata (string key, string value);
[CCode (cname = "gst_element_class_set_details_simple")]
public class void set_details_simple (string longname, string classification, string description, string author);
public virtual Gst.StateChangeReturn change_state (Gst.StateChange transition);
public Gst.StateChangeReturn continue_state (Gst.StateChangeReturn ret);
public void create_all_pads ();
public Gst.ClockTime get_base_time ();
public Gst.Bus get_bus ();
public Gst.Clock get_clock ();
public Gst.Pad get_compatible_pad (Gst.Pad pad, Gst.Caps? caps);
public unowned Gst.PadTemplate get_compatible_pad_template (Gst.PadTemplate compattempl);
public unowned Gst.ElementFactory get_factory ();
[CCode (cname = "gst_element_class_get_metadata")]
public class unowned string get_metadata (string key);
[CCode (cname = "gst_element_class_get_pad_template")]
public class unowned Gst.PadTemplate get_pad_template (string name);
[CCode (cname = "gst_element_class_get_pad_template_list")]
public class unowned GLib.List<Gst.PadTemplate> get_pad_template_list ();
public Gst.Pad get_request_pad (string name);
public Gst.ClockTime get_start_time ();
public virtual Gst.StateChangeReturn get_state (out Gst.State state, out Gst.State pending, Gst.ClockTime timeout);
public Gst.Pad get_static_pad (string name);
public bool is_locked_state ();
public Gst.Iterator iterate_pads ();
public Gst.Iterator iterate_sink_pads ();
public Gst.Iterator iterate_src_pads ();
public bool link (Gst.Element dest);
public bool link_filtered (Gst.Element dest, Gst.Caps? filter);
public bool link_many (Gst.Element element_2, ...);
[CCode (cname = "gst_element_link_pads_full")]
public bool link_pads (string? srcpadname, Gst.Element dest, string? destpadname, Gst.PadLinkCheck flags = Gst.PadLinkCheck.DEFAULT);
public bool link_pads_filtered (string? srcpadname, Gst.Element dest, string? destpadname, Gst.Caps? filter);
public void lost_state ();
[CCode (returns_floating_reference = true)]
public static Gst.Element make_from_uri (Gst.URIType type, string uri, string? elementname) throws GLib.Error;
public void message_full (Gst.MessageType type, GLib.Quark domain, int code, owned string? text, owned string? debug, string file, string function, int line);
public virtual bool post_message (owned Gst.Message message);
public virtual Gst.Clock provide_clock ();
public virtual bool query (Gst.Query query);
public bool query_convert (ref Gst.Format src_format, int64 src_val, Gst.Format dest_format, out int64 dest_val);
public bool query_duration (Gst.Format format, out int64 duration);
public bool query_position (Gst.Format format, out int64 cur);
public static bool register (Gst.Plugin? plugin, string name, uint rank, GLib.Type type);
[NoWrapper]
public virtual void release_pad (Gst.Pad pad);
public void release_request_pad (Gst.Pad pad);
public bool remove_pad (owned Gst.Pad pad);
public Gst.Pad request_pad (Gst.PadTemplate templ, string? name, Gst.Caps? caps);
public bool seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, int64 start, Gst.SeekType stop_type, int64 stop);
public bool seek_simple (Gst.Format format, Gst.SeekFlags seek_flags, int64 seek_pos);
public virtual bool send_event (owned Gst.Event event);
public void set_base_time (Gst.ClockTime time);
public virtual void set_bus (Gst.Bus bus);
public virtual bool set_clock (Gst.Clock clock);
public bool set_locked_state (bool locked_state);
[CCode (cname = "gst_element_class_set_metadata")]
public class void set_metadata (string longname, string classification, string description, string author);
public void set_start_time (Gst.ClockTime time);
public virtual Gst.StateChangeReturn set_state (Gst.State state);
[CCode (cname = "gst_element_class_set_static_metadata")]
public class void set_static_metadata (string longname, string classification, string description, string author);
public static unowned string state_change_return_get_name (Gst.StateChangeReturn state_ret);
[NoWrapper]
public virtual void state_changed (Gst.State oldstate, Gst.State newstate, Gst.State pending);
public static unowned string state_get_name (Gst.State state);
public bool sync_state_with_parent ();
public void unlink (Gst.Element dest);
public void unlink_pads (string srcpadname, Gst.Element dest, string destpadname);
[HasEmitter]
public virtual signal void no_more_pads ();
public virtual signal void pad_added (Gst.Pad pad);
public virtual signal void pad_removed (Gst.Pad pad);
}
[CCode (cheader_filename = "gst/gst.h", type_id = "gst_element_factory_get_type ()")]
public class ElementFactory : Gst.PluginFeature {
[CCode (has_construct_function = false)]
protected ElementFactory ();
public bool can_sink_all_caps (Gst.Caps caps);
public bool can_sink_any_caps (Gst.Caps caps);
public bool can_src_all_caps (Gst.Caps caps);
public bool can_src_any_caps (Gst.Caps caps);
[CCode (returns_floating_reference = true)]
public Gst.Element create (string? name);
public static Gst.ElementFactory find (string name);
public GLib.Type get_element_type ();
public unowned string get_metadata (string key);
[CCode (array_length = false, array_null_terminated = true)]
public string[]? get_metadata_keys ();
public uint get_num_pad_templates ();
public unowned GLib.List<Gst.StaticPadTemplate> get_static_pad_templates ();
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_uri_protocols ();
public Gst.URIType get_uri_type ();
public bool has_interface (string interfacename);
public static GLib.List<Gst.ElementFactory> list_filter (GLib.List<Gst.ElementFactory> list, Gst.Caps caps, Gst.PadDirection direction, bool subsetonly);
public static GLib.List<Gst.ElementFactory> list_get_elements (Gst.ElementFactoryListType type, Gst.Rank minrank);
public bool list_is_type (Gst.ElementFactoryListType type);
[CCode (returns_floating_reference = true)]
public static Gst.Element make (string factoryname, string? name);
}
[CCode (cheader_filename = "gst/gst.h", ref_function = "gst_event_ref", type_id = "gst_event_get_type ()", unref_function = "gst_event_unref")]
[Compact]
public class Event : Gst.MiniObject {
public uint32 seqnum;
public uint64 timestamp;
public Gst.EventType type;
[CCode (has_construct_function = false)]
public Event.buffer_size (Gst.Format format, int64 minsize, int64 maxsize, bool @async);
[CCode (has_construct_function = false)]
public Event.caps (Gst.Caps caps);
public void copy_segment (Gst.Segment segment);
[CCode (has_construct_function = false)]
public Event.custom (Gst.EventType type, owned Gst.Structure structure);
[CCode (has_construct_function = false)]
public Event.eos ();
[CCode (has_construct_function = false)]
public Event.flush_start ();
[CCode (has_construct_function = false)]
public Event.flush_stop (bool reset_time);
[CCode (has_construct_function = false)]
public Event.gap (Gst.ClockTime timestamp, Gst.ClockTime duration);
public uint32 get_seqnum ();
public unowned Gst.Structure get_structure ();
public bool has_name (string name);
[CCode (has_construct_function = false)]
public Event.latency (Gst.ClockTime latency);
[CCode (has_construct_function = false)]
public Event.navigation (owned Gst.Structure structure);
public void parse_buffer_size (out Gst.Format format, out int64 minsize, out int64 maxsize, out bool @async);
public void parse_caps (out unowned Gst.Caps caps);
public void parse_flush_stop (out bool reset_time);
public void parse_gap (out Gst.ClockTime timestamp, out Gst.ClockTime duration);
public void parse_latency (out Gst.ClockTime latency);