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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
|
// Fixme: This is fetched from development code of Vala upstream which fixed a few bugs.
/* gstreamer-video-1.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", gir_namespace = "GstVideo", gir_version = "1.0", lower_case_cprefix = "gst_")]
namespace Gst {
namespace Video {
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_get_type ()")]
[GIR (name = "VideoAggregator")]
[Version (since = "1.16")]
public abstract class Aggregator : Gst.Base.Aggregator {
public weak Gst.Video.Info info;
[CCode (has_construct_function = false)]
protected Aggregator ();
[NoWrapper]
public virtual Gst.FlowReturn aggregate_frames (Gst.Buffer outbuffer);
[NoWrapper]
public virtual Gst.FlowReturn create_output_buffer (Gst.Buffer outbuffer);
[NoWrapper]
public virtual void find_best_format (Gst.Caps downstream_caps, Gst.Video.Info best_info, out bool at_least_one_alpha);
[Version (since = "1.20")]
public Gst.TaskPool get_execution_task_pool ();
[NoWrapper]
public virtual Gst.Caps update_caps (Gst.Caps caps);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_convert_pad_get_type ()")]
[GIR (name = "VideoAggregatorConvertPad")]
[Version (since = "1.16")]
public class AggregatorConvertPad : Gst.Video.AggregatorPad {
[CCode (has_construct_function = false)]
protected AggregatorConvertPad ();
[NoWrapper]
public virtual void create_conversion_info (Gst.Video.Aggregator agg, Gst.Video.Info conversion_info);
public void update_conversion_info ();
[NoAccessorMethod]
public Gst.Structure converter_config { owned get; set; }
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_pad_get_type ()")]
[GIR (name = "VideoAggregatorPad")]
[Version (since = "1.16")]
public class AggregatorPad : Gst.Base.AggregatorPad {
public weak Gst.Video.Info info;
[CCode (has_construct_function = false)]
protected AggregatorPad ();
[NoWrapper]
public virtual void clean_frame (Gst.Video.Aggregator videoaggregator, Gst.Video.Frame prepared_frame);
public unowned Gst.Buffer get_current_buffer ();
public unowned Gst.Video.Frame? get_prepared_frame ();
public bool has_current_buffer ();
[NoWrapper]
public virtual bool prepare_frame (Gst.Video.Aggregator videoaggregator, Gst.Buffer buffer, Gst.Video.Frame prepared_frame);
[NoWrapper]
[Version (since = "1.20")]
public virtual void prepare_frame_finish (Gst.Video.Aggregator videoaggregator, Gst.Video.Frame prepared_frame);
[NoWrapper]
[Version (since = "1.20")]
public virtual void prepare_frame_start (Gst.Video.Aggregator videoaggregator, Gst.Buffer buffer, Gst.Video.Frame prepared_frame);
public void set_needs_alpha (bool needs_alpha);
[NoWrapper]
public virtual void update_conversion_info ();
[NoAccessorMethod]
public uint64 max_last_buffer_repeat { get; set; }
[NoAccessorMethod]
public bool repeat_after_eos { get; set; }
[NoAccessorMethod]
public uint zorder { get; set; }
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_parallel_convert_pad_get_type ()")]
[GIR (name = "VideoAggregatorParallelConvertPad")]
[Version (since = "1.20")]
public class AggregatorParallelConvertPad : Gst.Video.AggregatorConvertPad {
[CCode (has_construct_function = false)]
protected AggregatorParallelConvertPad ();
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_buffer_pool_get_type ()")]
[GIR (name = "VideoBufferPool")]
public class BufferPool : Gst.BufferPool {
[CCode (has_construct_function = false, type = "GstBufferPool*")]
public BufferPool ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[Compact]
[GIR (name = "VideoChromaResample")]
public class ChromaResample {
[CCode (cname = "gst_video_chroma_resample_new", has_construct_function = false)]
public ChromaResample (Gst.Video.ChromaMethod method, Gst.Video.ChromaSite site, Gst.Video.ChromaFlags flags, Gst.Video.Format format, int h_factor, int v_factor);
public void free ();
public void get_info (out uint n_lines, out int offset);
[CCode (cname = "gst_video_chroma_resample")]
public void resample (void* lines, int width);
}
[CCode (cheader_filename = "gst/video/gstvideoutils.h", ref_function = "gst_video_codec_frame_ref", type_id = "gst_video_codec_frame_get_type ()", unref_function = "gst_video_codec_frame_unref")]
[Compact]
[GIR (name = "VideoCodecFrame")]
public class CodecFrame {
public Gst.ClockTime deadline;
public int distance_from_sync;
public Gst.ClockTime dts;
public Gst.ClockTime duration;
public weak Gst.Buffer input_buffer;
public weak Gst.Buffer output_buffer;
public Gst.ClockTime pts;
public uint32 system_frame_number;
[CCode (simple_generics = true)]
public T get_user_data<T> ();
public unowned Gst.Video.CodecFrame @ref ();
[CCode (simple_generics = true)]
public void set_user_data<T> (owned T user_data);
public void unref ();
}
[CCode (cheader_filename = "gst/video/video.h", ref_function = "gst_video_codec_state_ref", type_id = "gst_video_codec_state_get_type ()", unref_function = "gst_video_codec_state_unref")]
[Compact]
[GIR (name = "VideoCodecState")]
public class CodecState {
public weak Gst.Caps allocation_caps;
public weak Gst.Caps caps;
public weak Gst.Buffer codec_data;
[Version (since = "1.20")]
public Gst.Video.ContentLightLevel content_light_level;
public weak Gst.Video.Info info;
[Version (since = "1.20")]
public Gst.Video.MasteringDisplayInfo mastering_display_info;
public unowned Gst.Video.CodecState @ref ();
public void unref ();
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalanceChannel", lower_case_cprefix = "gst_color_balance_channel_", type_id = "gst_color_balance_channel_get_type ()")]
[GIR (name = "ColorBalanceChannel")]
public class ColorBalanceChannel : GLib.Object {
public weak string label;
public int max_value;
public int min_value;
[CCode (has_construct_function = false)]
protected ColorBalanceChannel ();
public virtual signal void value_changed (int value);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[Compact]
[GIR (name = "VideoConverter")]
public class Converter {
[Version (since = "1.6")]
public void frame (Gst.Video.Frame src, Gst.Video.Frame dest);
[Version (since = "1.20")]
public void frame_finish ();
[Version (since = "1.6")]
public void free ();
public unowned Gst.Structure get_config ();
[Version (since = "1.6")]
public bool set_config (owned Gst.Structure config);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_decoder_get_type ()")]
[GIR (name = "VideoDecoder")]
public abstract class Decoder : Gst.Element {
[CCode (has_construct_function = false)]
protected Decoder ();
public void add_to_frame (int n_bytes);
public Gst.Buffer allocate_output_buffer ();
public Gst.FlowReturn allocate_output_frame (Gst.Video.CodecFrame frame);
[Version (since = "1.12")]
public Gst.FlowReturn allocate_output_frame_with_params (Gst.Video.CodecFrame frame, Gst.BufferPoolAcquireParams @params);
[NoWrapper]
public virtual bool close ();
[NoWrapper]
public virtual bool decide_allocation (Gst.Query query);
[NoWrapper]
public virtual Gst.FlowReturn drain ();
public Gst.FlowReturn drop_frame (owned Gst.Video.CodecFrame frame);
[Version (since = "1.20")]
public Gst.FlowReturn drop_subframe (owned Gst.Video.CodecFrame frame);
[NoWrapper]
public virtual Gst.FlowReturn finish ();
public Gst.FlowReturn finish_frame (owned Gst.Video.CodecFrame frame);
[Version (since = "1.20")]
public Gst.FlowReturn finish_subframe (owned Gst.Video.CodecFrame frame);
[NoWrapper]
public virtual bool flush ();
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.BufferPool get_buffer_pool ();
public int get_estimate_rate ();
public Gst.Video.CodecFrame get_frame (int frame_number);
public GLib.List<Gst.Video.CodecFrame> get_frames ();
[Version (since = "1.20")]
public uint get_input_subframe_index (Gst.Video.CodecFrame frame);
public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
public Gst.ClockTimeDiff get_max_decode_time (Gst.Video.CodecFrame frame);
public int get_max_errors ();
[Version (since = "1.4")]
public bool get_needs_format ();
[Version (since = "1.20")]
public bool get_needs_sync_point ();
public Gst.Video.CodecFrame get_oldest_frame ();
public Gst.Video.CodecState get_output_state ();
public bool get_packetized ();
[Version (since = "1.4")]
public size_t get_pending_frame_size ();
[Version (since = "1.20")]
public uint get_processed_subframe_index (Gst.Video.CodecFrame frame);
[Version (since = "1.0.3")]
public double get_qos_proportion ();
[Version (since = "1.20")]
public bool get_subframe_mode ();
[NoWrapper]
public virtual Gst.Caps getcaps (Gst.Caps filter);
[NoWrapper]
public virtual Gst.FlowReturn handle_frame (owned Gst.Video.CodecFrame frame);
[NoWrapper]
[Version (since = "1.20")]
public virtual bool handle_missing_data (Gst.ClockTime timestamp, Gst.ClockTime duration);
public Gst.FlowReturn have_frame ();
[Version (since = "1.20")]
public Gst.FlowReturn have_last_subframe (Gst.Video.CodecFrame frame);
public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
public virtual bool negotiate ();
[NoWrapper]
public virtual bool open ();
[NoWrapper]
public virtual Gst.FlowReturn parse (Gst.Video.CodecFrame frame, Gst.Base.Adapter adapter, bool at_eos);
[NoWrapper]
public virtual bool propose_allocation (Gst.Query query);
[Version (since = "1.6")]
public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
[Version (since = "1.2.2")]
public void release_frame (owned Gst.Video.CodecFrame frame);
[Version (since = "1.20")]
public void request_sync_point (Gst.Video.CodecFrame frame, Gst.Video.DecoderRequestSyncPointFlags flags);
[NoWrapper]
public virtual bool reset (bool hard);
public void set_estimate_rate (bool enabled);
[NoWrapper]
public virtual bool set_format (Gst.Video.CodecState state);
[Version (since = "1.16.")]
public Gst.Video.CodecState set_interlaced_output_state (Gst.Video.Format fmt, Gst.Video.InterlaceMode interlace_mode, uint width, uint height, Gst.Video.CodecState? reference);
public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
public void set_max_errors (int num);
[Version (since = "1.4")]
public void set_needs_format (bool enabled);
[Version (since = "1.20")]
public void set_needs_sync_point (bool enabled);
public Gst.Video.CodecState set_output_state (Gst.Video.Format fmt, uint width, uint height, Gst.Video.CodecState? reference);
public void set_packetized (bool packetized);
[Version (since = "1.20")]
public void set_subframe_mode (bool subframe_mode);
[Version (since = "1.6")]
public void set_use_default_pad_acceptcaps (bool use);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
[NoWrapper]
public virtual bool sink_query (Gst.Query query);
[NoWrapper]
public virtual bool src_event (Gst.Event event);
[NoWrapper]
public virtual bool src_query (Gst.Query query);
[NoWrapper]
public virtual bool start ();
[NoWrapper]
public virtual bool stop ();
[NoWrapper]
public virtual bool transform_meta (Gst.Video.CodecFrame frame, Gst.Meta meta);
[NoAccessorMethod]
[Version (since = "1.20")]
public Gst.Video.DecoderRequestSyncPointFlags automatic_request_sync_point_flags { get; set; }
[NoAccessorMethod]
[Version (since = "1.20")]
public bool automatic_request_sync_points { get; set; }
[NoAccessorMethod]
[Version (since = "1.20")]
public bool discard_corrupted_frames { get; set; }
[Version (since = "1.18")]
public int max_errors { get; set; }
[NoAccessorMethod]
[Version (since = "1.20")]
public uint64 min_force_key_unit_interval { get; set; }
[NoAccessorMethod]
[Version (since = "1.18")]
public bool qos { get; set; }
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[Compact]
[GIR (name = "VideoDither")]
public class Dither {
public void free ();
public void line (void* line, uint x, uint y, uint width);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_encoder_get_type ()")]
[GIR (name = "VideoEncoder")]
public abstract class Encoder : Gst.Element, Gst.Preset {
[CCode (has_construct_function = false)]
protected Encoder ();
public Gst.Buffer allocate_output_buffer (size_t size);
public Gst.FlowReturn allocate_output_frame (Gst.Video.CodecFrame frame, size_t size);
[NoWrapper]
public virtual bool close ();
[NoWrapper]
public virtual bool decide_allocation (Gst.Query query);
[NoWrapper]
public virtual Gst.FlowReturn finish ();
public Gst.FlowReturn finish_frame (owned Gst.Video.CodecFrame frame);
[Version (since = "1.18")]
public Gst.FlowReturn finish_subframe (Gst.Video.CodecFrame frame);
[NoWrapper]
public virtual bool flush ();
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.Video.CodecFrame get_frame (int frame_number);
public GLib.List<Gst.Video.CodecFrame> get_frames ();
public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
[Version (since = "1.14")]
public Gst.ClockTimeDiff get_max_encode_time (Gst.Video.CodecFrame frame);
[Version (since = "1.18")]
public Gst.ClockTime get_min_force_key_unit_interval ();
public Gst.Video.CodecFrame get_oldest_frame ();
public Gst.Video.CodecState get_output_state ();
[NoWrapper]
public virtual Gst.Caps getcaps (Gst.Caps filter);
[NoWrapper]
public virtual Gst.FlowReturn handle_frame (Gst.Video.CodecFrame frame);
[Version (since = "1.14")]
public bool is_qos_enabled ();
public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
public virtual bool negotiate ();
[NoWrapper]
public virtual bool open ();
[NoWrapper]
public virtual Gst.FlowReturn pre_push (Gst.Video.CodecFrame frame);
[NoWrapper]
public virtual bool propose_allocation (Gst.Query query);
public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
[NoWrapper]
public virtual bool reset (bool hard);
[NoWrapper]
public virtual bool set_format (Gst.Video.CodecState state);
public void set_headers (owned GLib.List<Gst.Buffer> headers);
public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
[Version (since = "1.18")]
public void set_min_force_key_unit_interval (Gst.ClockTime interval);
[Version (since = "1.6")]
public void set_min_pts (Gst.ClockTime min_pts);
public Gst.Video.CodecState set_output_state (owned Gst.Caps caps, Gst.Video.CodecState? reference);
[Version (since = "1.14")]
public void set_qos_enabled (bool enabled);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
[NoWrapper]
public virtual bool sink_query (Gst.Query query);
[NoWrapper]
public virtual bool src_event (Gst.Event event);
[NoWrapper]
public virtual bool src_query (Gst.Query query);
[NoWrapper]
public virtual bool start ();
[NoWrapper]
public virtual bool stop ();
[NoWrapper]
public virtual bool transform_meta (Gst.Video.CodecFrame frame, Gst.Meta meta);
[Version (since = "1.18")]
public uint64 min_force_key_unit_interval { get; set; }
[NoAccessorMethod]
public bool qos { get; set; }
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_filter_get_type ()")]
[GIR (name = "VideoFilter")]
public abstract class Filter : Gst.Base.Transform {
public weak Gst.Video.Info in_info;
public bool negotiated;
public weak Gst.Video.Info out_info;
[CCode (has_construct_function = false)]
protected Filter ();
[NoWrapper]
public virtual bool set_info (Gst.Caps incaps, Gst.Video.Info in_info, Gst.Caps outcaps, Gst.Video.Info out_info);
[NoWrapper]
public virtual Gst.FlowReturn transform_frame (Gst.Video.Frame inframe, Gst.Video.Frame outframe);
[NoWrapper]
public virtual Gst.FlowReturn transform_frame_ip (Gst.Video.Frame frame);
}
[CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_info_get_type ()")]
[Compact]
[GIR (name = "VideoInfo")]
public class Info {
[CCode (cname = "ABI.abi.field_order")]
public Gst.Video.FieldOrder ABI_abi_field_order;
[CCode (cname = "ABI.abi.multiview_flags")]
public Gst.Video.MultiviewFlags ABI_abi_multiview_flags;
[CCode (cname = "ABI.abi.multiview_mode")]
public Gst.Video.MultiviewMode ABI_abi_multiview_mode;
public Gst.Video.ChromaSite chroma_site;
public Gst.Video.Colorimetry colorimetry;
public weak Gst.Video.FormatInfo? finfo;
public Gst.Video.Flags flags;
public int fps_d;
public int fps_n;
public int height;
public Gst.Video.InterlaceMode interlace_mode;
[CCode (array_length = false)]
public weak size_t offset[4];
public int par_d;
public int par_n;
public size_t size;
[CCode (array_length = false)]
public weak int stride[4];
public int views;
public int width;
[CCode (has_construct_function = false)]
[Version (since = "1.6")]
public Info ();
public bool align (Gst.Video.Alignment align);
[Version (since = "1.18")]
public bool align_full (Gst.Video.Alignment align, out size_t plane_size);
public bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, out int64 dest_value);
[Version (since = "1.6")]
public Gst.Video.Info copy ();
[Version (since = "1.6")]
public void free ();
public bool from_caps (Gst.Caps caps);
public void init ();
public bool is_equal (Gst.Video.Info other);
public bool set_format (Gst.Video.Format format, uint width, uint height);
[Version (since = "1.16")]
public bool set_interlaced_format (Gst.Video.Format format, Gst.Video.InterlaceMode mode, uint width, uint height);
public Gst.Caps to_caps ();
[CCode (cname = "gst_video_info_new_from_caps", has_construct_function = false)]
[Version (since = "1.20")]
public Info.with_caps (Gst.Caps caps);
}
[CCode (cheader_filename = "gst/video/video.h", lower_case_cprefix = "gst_video_multiview_flagset_", type_id = "gst_video_multiview_flagset_get_type ()")]
[GIR (name = "VideoMultiviewFlagsSet")]
public class MultiviewFlagsSet : Gst.FlagSet {
[CCode (has_construct_function = false)]
protected MultiviewFlagsSet ();
}
[CCode (cheader_filename = "gst/video/video-overlay-composition.h", ref_function = "gst_video_overlay_composition_ref", type_id = "gst_video_overlay_composition_get_type ()", unref_function = "gst_video_overlay_composition_unref")]
[Compact]
[GIR (name = "VideoOverlayComposition")]
public class OverlayComposition : Gst.MiniObject {
[CCode (has_construct_function = false)]
public OverlayComposition (Gst.Video.OverlayRectangle? rectangle);
public void add_rectangle (Gst.Video.OverlayRectangle rectangle);
public bool blend (Gst.Video.Frame video_buf);
public Gst.Video.OverlayComposition copy ();
public unowned Gst.Video.OverlayRectangle get_rectangle (uint n);
public uint get_seqnum ();
[DestroysInstance]
[ReturnsModifiedPointer]
public Gst.Video.OverlayComposition make_writable ();
public uint n_rectangles ();
}
[CCode (cheader_filename = "gst/video/video-overlay-composition.h", ref_function = "gst_video_overlay_rectangle_ref", type_id = "gst_video_overlay_rectangle_get_type ()", unref_function = "gst_video_overlay_rectangle_unref")]
[Compact]
[GIR (name = "VideoOverlayRectangle")]
public class OverlayRectangle : Gst.MiniObject {
public Gst.Video.OverlayRectangle copy ();
public Gst.Video.OverlayFormatFlags get_flags ();
public float get_global_alpha ();
public unowned Gst.Buffer get_pixels_argb (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_ayuv (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_raw (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_argb (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_ayuv (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_raw (Gst.Video.OverlayFormatFlags flags);
public bool get_render_rectangle (out int render_x, out int render_y, out uint render_width, out uint render_height);
public uint get_seqnum ();
[CCode (has_construct_function = false)]
public OverlayRectangle.raw (Gst.Buffer pixels, int render_x, int render_y, uint render_width, uint render_height, Gst.Video.OverlayFormatFlags flags);
public void set_global_alpha (float global_alpha);
public void set_render_rectangle (int render_x, int render_y, uint render_width, uint render_height);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[Compact]
[GIR (name = "VideoScaler")]
public class Scaler {
public void @2d (Gst.Video.Scaler vscale, Gst.Video.Format format, void* src, int src_stride, void* dest, int dest_stride, uint x, uint y, uint width, uint height);
public void free ();
public double get_coeff (uint out_offset, out uint in_offset, out uint n_taps);
public uint get_max_taps ();
public void horizontal (Gst.Video.Format format, void* src, void* dest, uint dest_offset, uint width);
public void vertical (Gst.Video.Format format, void* src_lines, void* dest, uint dest_offset, uint width);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_sink_get_type ()")]
[GIR (name = "VideoSink")]
public class Sink : Gst.Base.Sink {
public int height;
public int width;
[CCode (has_construct_function = false)]
protected Sink ();
[Version (deprecated = true, deprecated_since = "1.20")]
public static void center_rect (Gst.Video.Rectangle src, Gst.Video.Rectangle dst, out Gst.Video.Rectangle result, bool scaling);
[NoWrapper]
[Version (since = "1.20")]
public virtual bool set_info (Gst.Caps caps, Gst.Video.Info info);
[NoWrapper]
public virtual Gst.FlowReturn show_frame (Gst.Buffer buf);
[NoAccessorMethod]
public bool show_preroll_frame { get; set construct; }
}
[CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_time_code_get_type ()")]
[Compact]
[GIR (name = "VideoTimeCode")]
[Version (since = "1.10")]
public class TimeCode {
public Gst.Video.TimeCodeConfig config;
public uint field_count;
public uint frames;
public uint hours;
public uint minutes;
public uint seconds;
[CCode (has_construct_function = false)]
public TimeCode (uint fps_n, uint fps_d, GLib.DateTime latest_daily_jam, Gst.Video.TimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint field_count);
public void add_frames (int64 frames);
[Version (since = "1.12")]
public Gst.Video.TimeCode? add_interval (Gst.Video.TimeCodeInterval tc_inter);
public void clear ();
public int compare (Gst.Video.TimeCode tc2);
public Gst.Video.TimeCode copy ();
[CCode (has_construct_function = false)]
public TimeCode.empty ();
public uint64 frames_since_daily_jam ();
public void free ();
[CCode (has_construct_function = false)]
[Version (since = "1.12")]
public TimeCode.from_date_time (uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.TimeCodeFlags flags, uint field_count);
[CCode (has_construct_function = false)]
[Version (since = "1.16")]
public TimeCode.from_date_time_full (uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.TimeCodeFlags flags, uint field_count);
[CCode (has_construct_function = false)]
[Version (since = "1.12")]
public TimeCode.from_string (string tc_str);
public void increment_frame ();
public void init (uint fps_n, uint fps_d, GLib.DateTime? latest_daily_jam, Gst.Video.TimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint field_count);
[Version (since = "1.12")]
public void init_from_date_time (uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.TimeCodeFlags flags, uint field_count);
[Version (since = "1.16")]
public bool init_from_date_time_full (uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.TimeCodeFlags flags, uint field_count);
public bool is_valid ();
public uint64 nsec_since_daily_jam ();
public GLib.DateTime? to_date_time ();
public string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_time_code_interval_get_type ()")]
[Compact]
[GIR (name = "VideoTimeCodeInterval")]
[Version (since = "1.12")]
public class TimeCodeInterval {
public uint frames;
public uint hours;
public uint minutes;
public uint seconds;
[CCode (has_construct_function = false)]
public TimeCodeInterval (uint hours, uint minutes, uint seconds, uint frames);
public void clear ();
public Gst.Video.TimeCodeInterval copy ();
public void free ();
[CCode (has_construct_function = false)]
public TimeCodeInterval.from_string (string tc_inter_str);
public void init (uint hours, uint minutes, uint seconds, uint frames);
}
[CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_vbi_encoder_get_type ()")]
[Compact]
[GIR (name = "VideoVBIEncoder")]
[Version (since = "1.16")]
public class VBIEncoder {
[CCode (has_construct_function = false)]
public VBIEncoder (Gst.Video.Format format, uint32 pixel_width);
public bool add_ancillary (bool composite, uint8 DID, uint8 SDID_block_number, [CCode (array_length_cname = "data_count", array_length_pos = 4.1, array_length_type = "guint")] uint8[] data);
public Gst.Video.VBIEncoder copy ();
public void free ();
public void write_line ([CCode (array_length = false, type = "guint8*")] uint8[] data);
}
[CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_vbi_parser_get_type ()")]
[Compact]
[GIR (name = "VideoVBIParser")]
[Version (since = "1.16")]
public class VBIParser {
[CCode (has_construct_function = false)]
public VBIParser (Gst.Video.Format format, uint32 pixel_width);
public void add_line ([CCode (array_length = false)] uint8[] data);
public Gst.Video.VBIParser copy ();
public void free ();
public Gst.Video.VBIParserResult get_ancillary (out Gst.Video.Ancillary anc);
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalance", lower_case_cprefix = "gst_color_balance_", type_cname = "GstColorBalanceInterface", type_id = "gst_color_balance_get_type ()")]
[GIR (name = "ColorBalance")]
public interface ColorBalance : GLib.Object {
public abstract Gst.Video.ColorBalanceType get_balance_type ();
public abstract int get_value (Gst.Video.ColorBalanceChannel channel);
public abstract unowned GLib.List<Gst.Video.ColorBalanceChannel> list_channels ();
public abstract void set_value (Gst.Video.ColorBalanceChannel channel, int value);
[HasEmitter]
public virtual signal void value_changed (Gst.Video.ColorBalanceChannel channel, int value);
}
[CCode (cheader_filename = "gst/video/video.h", type_cname = "GstVideoDirectionInterface", type_id = "gst_video_direction_get_type ()")]
[GIR (name = "VideoDirection")]
[Version (since = "1.10")]
public interface Direction : GLib.Object {
[NoAccessorMethod]
public abstract Gst.Video.OrientationMethod video_direction { get; set construct; }
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigation", lower_case_cprefix = "gst_navigation_", type_cname = "GstNavigationInterface", type_id = "gst_navigation_get_type ()")]
[GIR (name = "Navigation")]
public interface Navigation : GLib.Object {
[Version (since = "1.22")]
public static bool event_get_coordinates (Gst.Event event, out double x, out double y);
public static Gst.Video.NavigationEventType event_get_type (Gst.Event event);
[Version (since = "1.22")]
public static Gst.Event event_new_command (Gst.Video.NavigationCommand command);
[Version (since = "1.22")]
public static Gst.Event event_new_key_press (string key, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_key_release (string key, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_mouse_button_press (int button, double x, double y, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_mouse_button_release (int button, double x, double y, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_mouse_move (double x, double y, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_mouse_scroll (double x, double y, double delta_x, double delta_y, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_touch_cancel (Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_touch_down (uint identifier, double x, double y, double pressure, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_touch_frame (Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_touch_motion (uint identifier, double x, double y, double pressure, Gst.Video.NavigationModifierType state);
[Version (since = "1.22")]
public static Gst.Event event_new_touch_up (uint identifier, double x, double y, Gst.Video.NavigationModifierType state);
public static bool event_parse_command (Gst.Event event, out Gst.Video.NavigationCommand command);
public static bool event_parse_key_event (Gst.Event event, out unowned string key);
[Version (since = "1.22")]
public static bool event_parse_modifier_state (Gst.Event event, Gst.Video.NavigationModifierType state);
public static bool event_parse_mouse_button_event (Gst.Event event, out int button, out double x, out double y);
public static bool event_parse_mouse_move_event (Gst.Event event, out double x, out double y);
[Version (since = "1.18")]
public static bool event_parse_mouse_scroll_event (Gst.Event event, out double x, out double y, out double delta_x, out double delta_y);
[Version (since = "1.22")]
public static bool event_parse_touch_event (Gst.Event event, out uint identifier, out double x, out double y, out double pressure);
[Version (since = "1.22")]
public static bool event_parse_touch_up_event (Gst.Event event, out uint identifier, out double x, out double y);
[Version (since = "1.22")]
public static bool event_set_coordinates (Gst.Event event, double x, double y);
public static Gst.Video.NavigationMessageType message_get_type (Gst.Message message);
public static Gst.Message message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
public static Gst.Message message_new_commands_changed (Gst.Object src);
[Version (since = "1.6")]
public static Gst.Message message_new_event (Gst.Object src, Gst.Event event);
public static Gst.Message message_new_mouse_over (Gst.Object src, bool active);
public static bool message_parse_angles_changed (Gst.Message message, out uint cur_angle, out uint n_angles);
[Version (since = "1.6")]
public static bool message_parse_event (Gst.Message message, out Gst.Event event);
public static bool message_parse_mouse_over (Gst.Message message, out bool active);
public static Gst.Video.NavigationQueryType query_get_type (Gst.Query query);
public static Gst.Query query_new_angles ();
public static Gst.Query query_new_commands ();
public static bool query_parse_angles (Gst.Query query, out uint cur_angle, out uint n_angles);
public static bool query_parse_commands_length (Gst.Query query, out uint n_cmds);
public static bool query_parse_commands_nth (Gst.Query query, uint nth, out Gst.Video.NavigationCommand cmd);
public static void query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
public static void query_set_commandsv (Gst.Query query, [CCode (array_length_cname = "n_cmds", array_length_pos = 1.5)] Gst.Video.NavigationCommand[] cmds);
public void send_command (Gst.Video.NavigationCommand command);
[Version (deprecated = true, deprecated_since = "1.22")]
public abstract void send_event (Gst.Structure structure);
[Version (since = "1.22")]
public abstract void send_event_simple (owned Gst.Event event);
public void send_key_event (string event, string key);
public void send_mouse_event (string event, int button, double x, double y);
[Version (since = "1.18")]
public void send_mouse_scroll_event (double x, double y, double delta_x, double delta_y);
}
[CCode (cheader_filename = "gst/video/video.h", type_cname = "GstVideoOrientationInterface", type_id = "gst_video_orientation_get_type ()")]
[GIR (name = "VideoOrientation")]
public interface Orientation : GLib.Object {
[Version (since = "1.20")]
public static bool from_tag (Gst.TagList taglist, out Gst.Video.OrientationMethod method);
public abstract bool get_hcenter (out int center);
public abstract bool get_hflip (out bool flip);
public abstract bool get_vcenter (out int center);
public abstract bool get_vflip (out bool flip);
public abstract bool set_hcenter (int center);
public abstract bool set_hflip (bool flip);
public abstract bool set_vcenter (int center);
public abstract bool set_vflip (bool flip);
}
[CCode (cheader_filename = "gst/video/video.h", type_cname = "GstVideoOverlayInterface", type_id = "gst_video_overlay_get_type ()")]
[GIR (name = "VideoOverlay")]
public interface Overlay : GLib.Object {
public abstract void expose ();
public void got_window_handle ([CCode (type = "guintptr")] uint* handle);
public abstract void handle_events (bool handle_events);
[Version (since = "1.14")]
public static void install_properties (GLib.ObjectClass oclass, int last_prop_id);
public void prepare_window_handle ();
[Version (since = "1.14")]
public static bool set_property (GLib.Object object, int last_prop_id, uint property_id, GLib.Value value);
[NoWrapper]
public virtual void set_render_rectangle (int x, int y, int width, int height);
public abstract void set_window_handle ([CCode (type = "guintptr")] uint* handle);
[CCode (cname = "gst_video_overlay_set_render_rectangle")]
public bool try_set_render_rectangle (int x, int y, int width, int height);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAFDMeta")]
[Version (since = "1.18")]
public struct AFDMeta {
public Gst.Meta meta;
public uint8 field;
public Gst.Video.AFDSpec spec;
public Gst.Video.AFDValue afd;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAffineTransformationMeta")]
[Version (since = "1.8")]
public struct AffineTransformationMeta {
public Gst.Meta meta;
[CCode (array_length = false)]
public weak float matrix[16];
public void apply_matrix ([CCode (array_length = false)] float matrix[16]);
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAlignment")]
public struct Alignment {
public uint padding_top;
public uint padding_bottom;
public uint padding_left;
public uint padding_right;
[CCode (array_length = false)]
public weak uint stride_align[4];
public void reset ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAncillary")]
[Version (since = "1.16")]
public struct Ancillary {
public uint8 DID;
public uint8 SDID_block_number;
public uint8 data_count;
[CCode (array_length_cname = "data_count", array_length_type = "guint8")]
public weak uint8[] data;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoBarMeta")]
[Version (since = "1.18")]
public struct BarMeta {
public Gst.Meta meta;
public uint8 field;
public bool is_letterbox;
public uint bar_data1;
public uint bar_data2;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoCaptionMeta")]
[Version (since = "1.16")]
public struct CaptionMeta {
public Gst.Meta meta;
public Gst.Video.CaptionType caption_type;
[CCode (array_length_cname = "size", array_length_type = "gsize")]
public weak uint8[] data;
public size_t size;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoCodecAlphaMeta")]
[Version (since = "1.20")]
public struct CodecAlphaMeta {
public Gst.Meta meta;
public weak Gst.Buffer buffer;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoColorPrimariesInfo")]
[Version (since = "1.6")]
public struct ColorPrimariesInfo {
public Gst.Video.ColorPrimaries primaries;
public double Wx;
public double Wy;
public double Rx;
public double Ry;
public double Gx;
public double Gy;
public double Bx;
public double By;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoColorimetry")]
public struct Colorimetry {
public Gst.Video.ColorRange range;
public Gst.Video.ColorMatrix matrix;
public Gst.Video.TransferFunction transfer;
public Gst.Video.ColorPrimaries primaries;
public bool from_string (string color);
[Version (since = "1.6")]
public bool is_equal (Gst.Video.Colorimetry other);
[Version (since = "1.22")]
public bool is_equivalent (uint bitdepth, Gst.Video.Colorimetry other, uint other_bitdepth);
public bool matches (string color);
public string? to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoContentLightLevel")]
[Version (since = "1.18")]
public struct ContentLightLevel {
public uint16 max_content_light_level;
public uint16 max_frame_average_light_level;
public bool add_to_caps (Gst.Caps caps);
public bool from_caps (Gst.Caps caps);
public bool from_string (string level);
public void init ();
[Version (since = "1.20")]
public bool is_equal (Gst.Video.ContentLightLevel other);
public string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoCropMeta")]
public struct CropMeta {
public Gst.Meta meta;
public uint x;
public uint y;
public uint width;
public uint height;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoFormatInfo")]
public struct FormatInfo {
public Gst.Video.Format format;
public weak string name;
public weak string description;
public Gst.Video.FormatFlags flags;
public uint bits;
public uint n_components;
[CCode (array_length = false)]
public weak uint shift[4];
[CCode (array_length = false)]
public weak uint depth[4];
[CCode (array_length = false)]
public weak int pixel_stride[4];
public uint n_planes;
[CCode (array_length = false)]
public weak uint plane[4];
[CCode (array_length = false)]
public weak uint poffset[4];
[CCode (array_length = false)]
public weak uint w_sub[4];
[CCode (array_length = false)]
public weak uint h_sub[4];
public Gst.Video.Format unpack_format;
public weak Gst.Video.FormatUnpack unpack_func;
public int pack_lines;
public weak Gst.Video.FormatPack pack_func;
public Gst.Video.TileMode tile_mode;
public uint tile_ws;
public uint tile_hs;
[Version (since = "1.18")]
public void component (uint plane, out int components);
[Version (since = "1.22")]
public int extrapolate_stride (int plane, int stride);
[Version (since = "1.22")]
public uint get_tile_sizes (uint plane, uint? out_ws, uint? out_hs);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoFrame")]
public struct Frame {
public weak Gst.Video.Info info;
public Gst.Video.FrameFlags flags;
public weak Gst.Buffer buffer;
public void* meta;
public int id;
[CCode (array_length = false)]
public void* data[4];
[CCode (array_length = false, cname = "map")]
public Gst.MapInfo map_info[4];
public bool copy (Gst.Video.Frame src);
public bool copy_plane (Gst.Video.Frame src, uint plane);
public bool map (Gst.Video.Info info, Gst.Buffer buffer, Gst.MapFlags flags);
public bool map_id (Gst.Video.Info info, Gst.Buffer buffer, int id, Gst.MapFlags flags);
public void unmap ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoGLTextureUploadMeta")]
public struct GLTextureUploadMeta {
public Gst.Meta meta;
public Gst.Video.GLTextureOrientation texture_orientation;
public uint n_textures;
[CCode (array_length = false)]
public weak Gst.Video.GLTextureType texture_type[4];
public static unowned Gst.MetaInfo? get_info ();
public bool upload (uint texture_id);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoMasteringDisplayInfo")]
[Version (since = "1.18")]
public struct MasteringDisplayInfo {
[CCode (array_length = false)]
public weak Gst.Video.MasteringDisplayInfoCoordinates display_primaries[3];
public Gst.Video.MasteringDisplayInfoCoordinates white_point;
public uint32 max_display_mastering_luminance;
public uint32 min_display_mastering_luminance;
public bool add_to_caps (Gst.Caps caps);
public bool from_caps (Gst.Caps caps);
public bool from_string (string mastering);
public void init ();
public bool is_equal (Gst.Video.MasteringDisplayInfo other);
public string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoMasteringDisplayInfoCoordinates")]
[Version (since = "1.18")]
public struct MasteringDisplayInfoCoordinates {
public uint16 x;
public uint16 y;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoMeta")]
public struct Meta {
public Gst.Meta meta;
public weak Gst.Buffer buffer;
public Gst.Video.FrameFlags flags;
public Gst.Video.Format format;
public int id;
public uint width;
public uint height;
public uint n_planes;
[CCode (array_length = false)]
public weak size_t offset[4];
[CCode (array_length = false)]
public weak int stride[4];
[CCode (cname = "map")]
public weak Gst.Video.MetaMapVFunc map_v;
[CCode (cname = "unmap")]
public weak Gst.Video.MetaUnmapVFunc unmap_v;
public Gst.Video.Alignment alignment;
public static unowned Gst.MetaInfo? get_info ();
[Version (since = "1.18")]
public bool get_plane_height ([CCode (array_length = false)] out unowned uint plane_height[4]);
[Version (since = "1.18")]
public bool get_plane_size ([CCode (array_length = false)] out unowned size_t plane_size[4]);
public bool map (uint plane, Gst.MapInfo info, out void* data, out int stride, Gst.MapFlags flags);
[Version (since = "1.18")]
public bool set_alignment (Gst.Video.Alignment alignment);
public bool unmap (uint plane, Gst.MapInfo info);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoMetaTransform")]
public struct MetaTransform {
public weak Gst.Video.Info in_info;
public weak Gst.Video.Info out_info;
public static GLib.Quark scale_get_quark ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoOverlayCompositionMeta")]
public struct OverlayCompositionMeta {
public Gst.Meta meta;
public weak Gst.Video.OverlayComposition overlay;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoRectangle")]
public struct Rectangle {
public int x;
public int y;
public int w;
public int h;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoRegionOfInterestMeta")]
public struct RegionOfInterestMeta {
public Gst.Meta meta;
public GLib.Quark roi_type;
public int id;
public int parent_id;
public uint x;
public uint y;
public uint w;
public uint h;
public weak GLib.List<void*> @params;
[Version (since = "1.14")]
public void add_param (owned Gst.Structure s);
public static unowned Gst.MetaInfo? get_info ();
[Version (since = "1.14")]
public unowned Gst.Structure? get_param (string name);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoResampler")]
[Version (since = "1.6")]
public struct Resampler {
public int in_size;
public int out_size;
public uint max_taps;
public uint n_phases;
public uint32 offset;
public uint32 phase;
public uint32 n_taps;
public double taps;
public void clear ();
public bool init (Gst.Video.ResamplerMethod method, Gst.Video.ResamplerFlags flags, uint n_phases, uint n_taps, double shift, uint in_size, uint out_size, Gst.Structure options);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoSEIUserDataUnregisteredMeta")]
[Version (since = "1.22")]
public struct SEIUserDataUnregisteredMeta {
public Gst.Meta meta;
[CCode (array_length = false)]
public weak uint8 uuid[16];
public uint8 data;
public size_t size;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoTimeCodeConfig")]
[Version (since = "1.10")]
public struct TimeCodeConfig {
public uint fps_n;
public uint fps_d;
public Gst.Video.TimeCodeFlags flags;
public weak GLib.DateTime latest_daily_jam;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoTimeCodeMeta")]
[Version (since = "1.10")]
public struct TimeCodeMeta {
public Gst.Meta meta;
public weak Gst.Video.TimeCode tc;
public static unowned Gst.MetaInfo? get_info ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_AFD_SPEC_", type_id = "gst_video_afd_spec_get_type ()")]
[GIR (name = "VideoAFDSpec")]
[Version (since = "1.18")]
public enum AFDSpec {
DVB_ETSI,
ATSC_A53,
SMPTE_ST2016_1
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_AFD_", type_id = "gst_video_afd_value_get_type ()")]
[GIR (name = "VideoAFDValue")]
[Version (since = "1.18")]
public enum AFDValue {
UNAVAILABLE,
@16_9_TOP_ALIGNED,
@14_9_TOP_ALIGNED,
GREATER_THAN_16_9,
@4_3_FULL_16_9_FULL,
@4_3_FULL_4_3_PILLAR,
@16_9_LETTER_16_9_FULL,
@14_9_LETTER_14_9_PILLAR,
@4_3_FULL_14_9_CENTER,
@16_9_LETTER_14_9_CENTER,
@16_9_LETTER_4_3_CENTER
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ALPHA_MODE_", type_id = "gst_video_alpha_mode_get_type ()")]
[GIR (name = "VideoAlphaMode")]
[Version (since = "1.6")]
public enum AlphaMode {
COPY,
SET,
MULT
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ANCILLARY_DID_", type_id = "gst_video_ancillary_did_get_type ()")]
[GIR (name = "VideoAncillaryDID")]
[Version (since = "1.16")]
public enum AncillaryDID {
UNDEFINED,
DELETION,
HANC_3G_AUDIO_DATA_FIRST,
HANC_3G_AUDIO_DATA_LAST,
HANC_HDTV_AUDIO_DATA_FIRST,
HANC_HDTV_AUDIO_DATA_LAST,
HANC_SDTV_AUDIO_DATA_1_FIRST,
HANC_SDTV_AUDIO_DATA_1_LAST,
CAMERA_POSITION,
HANC_ERROR_DETECTION,
HANC_SDTV_AUDIO_DATA_2_FIRST,
HANC_SDTV_AUDIO_DATA_2_LAST
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ANCILLARY_DID16_", type_id = "gst_video_ancillary_di_d16_get_type ()")]
[GIR (name = "VideoAncillaryDID16")]
[Version (since = "1.16")]
public enum AncillaryDID16 {
S334_EIA_708,
S334_EIA_608,
S2016_3_AFD_BAR
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_BUFFER_FLAG_", type_id = "gst_video_buffer_flags_get_type ()")]
[Flags]
[GIR (name = "VideoBufferFlags")]
public enum BufferFlags {
INTERLACED,
TFF,
RFF,
ONEFIELD,
MULTIPLE_VIEW,
FIRST_IN_BUNDLE,
TOP_FIELD,
BOTTOM_FIELD,
MARKER,
LAST
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CAPTION_TYPE_", type_id = "gst_video_caption_type_get_type ()")]
[GIR (name = "VideoCaptionType")]
[Version (since = "1.16")]
public enum CaptionType {
UNKNOWN,
CEA608_RAW,
CEA608_S334_1A,
CEA708_RAW,
CEA708_CDP;
public static Gst.Video.CaptionType from_caps (Gst.Caps caps);
public Gst.Caps to_caps ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_FLAG_", type_id = "gst_video_chroma_flags_get_type ()")]
[Flags]
[GIR (name = "VideoChromaFlags")]
public enum ChromaFlags {
NONE,
INTERLACED
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_METHOD_", type_id = "gst_video_chroma_method_get_type ()")]
[GIR (name = "VideoChromaMethod")]
public enum ChromaMethod {
NEAREST,
LINEAR
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_MODE_", type_id = "gst_video_chroma_mode_get_type ()")]
[GIR (name = "VideoChromaMode")]
[Version (since = "1.6")]
public enum ChromaMode {
FULL,
UPSAMPLE_ONLY,
DOWNSAMPLE_ONLY,
NONE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_SITE_", type_id = "gst_video_chroma_site_get_type ()")]
[Flags]
[GIR (name = "VideoChromaSite")]
public enum ChromaSite {
UNKNOWN,
NONE,
H_COSITED,
V_COSITED,
ALT_LINE,
COSITED,
JPEG,
MPEG2,
DV;
[Version (since = "1.20")]
public static Gst.Video.ChromaSite from_string (string s);
[Version (since = "1.20")]
public string? to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CODEC_FRAME_FLAG_", type_id = "gst_video_codec_frame_flags_get_type ()")]
[Flags]
[GIR (name = "VideoCodecFrameFlags")]
public enum CodecFrameFlags {
DECODE_ONLY,
SYNC_POINT,
FORCE_KEYFRAME,
FORCE_KEYFRAME_HEADERS,
[Version (since = "1.20")]
CORRUPTED
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalanceType", cprefix = "GST_COLOR_BALANCE_", type_id = "gst_color_balance_type_get_type ()")]
[GIR (name = "ColorBalanceType")]
public enum ColorBalanceType {
HARDWARE,
SOFTWARE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_MATRIX_", type_id = "gst_video_color_matrix_get_type ()")]
[GIR (name = "VideoColorMatrix")]
public enum ColorMatrix {
UNKNOWN,
RGB,
FCC,
BT709,
BT601,
SMPTE240M,
BT2020;
[Version (since = "1.18")]
public static Gst.Video.ColorMatrix from_iso (uint value);
[Version (since = "1.6")]
public bool get_Kr_Kb (out double Kr, out double Kb);
[Version (since = "1.18")]
public uint to_iso ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_PRIMARIES_", type_id = "gst_video_color_primaries_get_type ()")]
[GIR (name = "VideoColorPrimaries")]
public enum ColorPrimaries {
UNKNOWN,
BT709,
BT470M,
BT470BG,
SMPTE170M,
SMPTE240M,
FILM,
BT2020,
ADOBERGB,
SMPTEST428,
SMPTERP431,
SMPTEEG432,
EBU3213;
[Version (since = "1.18")]
public static Gst.Video.ColorPrimaries from_iso (uint value);
[Version (since = "1.6")]
public unowned Gst.Video.ColorPrimariesInfo? get_info ();
[Version (since = "1.22")]
public bool is_equivalent (Gst.Video.ColorPrimaries other);
[Version (since = "1.18")]
public uint to_iso ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_RANGE_", type_id = "gst_video_color_range_get_type ()")]
[GIR (name = "VideoColorRange")]
public enum ColorRange {
UNKNOWN,
@0_255,
@16_235;
public void offsets (Gst.Video.FormatInfo info, [CCode (array_length = false)] out unowned int offset[4], [CCode (array_length = false)] out unowned int scale[4]);
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_DECODER_REQUEST_SYNC_POINT_", type_id = "gst_video_decoder_request_sync_point_flags_get_type ()")]
[Flags]
[GIR (name = "VideoDecoderRequestSyncPointFlags")]
[Version (since = "1.20")]
public enum DecoderRequestSyncPointFlags {
DISCARD_INPUT,
CORRUPT_OUTPUT
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_DITHER_FLAG_", type_id = "gst_video_dither_flags_get_type ()")]
[Flags]
[GIR (name = "VideoDitherFlags")]
public enum DitherFlags {
NONE,
INTERLACED,
QUANTIZE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_DITHER_", type_id = "gst_video_dither_method_get_type ()")]
[GIR (name = "VideoDitherMethod")]
public enum DitherMethod {
NONE,
VERTERR,
FLOYD_STEINBERG,
SIERRA_LITE,
BAYER
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FIELD_ORDER_", type_id = "gst_video_field_order_get_type ()")]
[GIR (name = "VideoFieldOrder")]
[Version (since = "1.12")]
public enum FieldOrder {
UNKNOWN,
TOP_FIELD_FIRST,
BOTTOM_FIELD_FIRST;
public static Gst.Video.FieldOrder from_string (string order);
public unowned string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FLAG_", type_id = "gst_video_flags_get_type ()")]
[Flags]
[GIR (name = "VideoFlags")]
public enum Flags {
NONE,
VARIABLE_FPS,
PREMULTIPLIED_ALPHA
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_", type_id = "gst_video_format_get_type ()")]
[GIR (name = "VideoFormat")]
public enum Format {
UNKNOWN,
ENCODED,
I420,
YV12,
YUY2,
UYVY,
AYUV,
[CCode (cname = "GST_VIDEO_FORMAT_RGBx")]
RGBX,
[CCode (cname = "GST_VIDEO_FORMAT_BGRx")]
BGRX,
[CCode (cname = "GST_VIDEO_FORMAT_xRGB")]
XRGB,
[CCode (cname = "GST_VIDEO_FORMAT_xBGR")]
XBGR,
RGBA,
BGRA,
ARGB,
ABGR,
RGB,
BGR,
Y41B,
Y42B,
YVYU,
Y444,
[CCode (cname = "GST_VIDEO_FORMAT_v210")]
V210,
[CCode (cname = "GST_VIDEO_FORMAT_v216")]
V216,
NV12,
NV21,
GRAY8,
GRAY16_BE,
GRAY16_LE,
[CCode (cname = "GST_VIDEO_FORMAT_v308")]
V308,
RGB16,
BGR16,
RGB15,
BGR15,
UYVP,
A420,
RGB8P,
YUV9,
YVU9,
IYU1,
ARGB64,
AYUV64,
[CCode (cname = "GST_VIDEO_FORMAT_r210")]
R210,
I420_10BE,
I420_10LE,
I422_10BE,
I422_10LE,
Y444_10BE,
Y444_10LE,
GBR,
GBR_10BE,
GBR_10LE,
NV16,
NV24,
NV12_64Z32,
A420_10BE,
A420_10LE,
A422_10BE,
A422_10LE,
A444_10BE,
A444_10LE,
NV61,
P010_10BE,
P010_10LE,
IYU2,
VYUY,
GBRA,
GBRA_10BE,
GBRA_10LE,
GBR_12BE,
GBR_12LE,
GBRA_12BE,
GBRA_12LE,
I420_12BE,
I420_12LE,
I422_12BE,
I422_12LE,
Y444_12BE,
Y444_12LE,
GRAY10_LE32,
NV12_10LE32,
NV16_10LE32,
NV12_10LE40,
Y210,
Y410,
VUYA,
BGR10A2_LE,
RGB10A2_LE,
Y444_16BE,
Y444_16LE,
P016_BE,
P016_LE,
P012_BE,
P012_LE,
Y212_BE,
Y212_LE,
Y412_BE,
Y412_LE,
[Version (since = "1.18")]
NV12_4L4,
[Version (since = "1.18")]
NV12_32L32,
[Version (since = "1.20")]
RGBP,
[Version (since = "1.20")]
BGRP,
[Version (since = "1.20")]
AV12,
[Version (since = "1.20")]
ARGB64_LE,
[Version (since = "1.20")]
ARGB64_BE,
[Version (since = "1.20")]
RGBA64_LE,
[Version (since = "1.20")]
RGBA64_BE,
[Version (since = "1.20")]
BGRA64_LE,
[Version (since = "1.20")]
BGRA64_BE,
[Version (since = "1.20")]
ABGR64_LE,
[Version (since = "1.20")]
ABGR64_BE,
[Version (since = "1.22")]
NV12_16L32S,
[Version (since = "1.22")]
NV12_8L128,
[Version (since = "1.22")]
NV12_10BE_8L128;
public static Gst.Video.Format from_fourcc (uint32 fourcc);
public static Gst.Video.Format from_masks (int depth, int bpp, int endianness, uint red_mask, uint green_mask, uint blue_mask, uint alpha_mask);
public static Gst.Video.Format from_string (string format);
public unowned Gst.Video.FormatInfo? get_info ();
[Version (since = "1.2")]
public void* get_palette (out size_t size);
public uint32 to_fourcc ();
public unowned string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
[Flags]
[GIR (name = "VideoFormatFlags")]
public enum FormatFlags {
YUV,
RGB,
GRAY,
ALPHA,
LE,
PALETTE,
COMPLEX,
UNPACK,
TILED,
[Version (since = "1.22")]
SUBTILES
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FRAME_FLAG_", type_id = "gst_video_frame_flags_get_type ()")]
[Flags]
[GIR (name = "VideoFrameFlags")]
public enum FrameFlags {
NONE,
INTERLACED,
TFF,
RFF,
ONEFIELD,
MULTIPLE_VIEW,
FIRST_IN_BUNDLE,
TOP_FIELD,
BOTTOM_FIELD
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FRAME_MAP_FLAG_", type_id = "gst_video_frame_map_flags_get_type ()")]
[Flags]
[GIR (name = "VideoFrameMapFlags")]
[Version (since = "1.6")]
public enum FrameMapFlags {
NO_REF,
LAST
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_", type_id = "gst_video_gl_texture_orientation_get_type ()")]
[GIR (name = "VideoGLTextureOrientation")]
public enum GLTextureOrientation {
NORMAL_Y_NORMAL,
NORMAL_Y_FLIP,
FLIP_Y_NORMAL,
FLIP_Y_FLIP
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_TYPE_", type_id = "gst_video_gl_texture_type_get_type ()")]
[GIR (name = "VideoGLTextureType")]
public enum GLTextureType {
LUMINANCE,
LUMINANCE_ALPHA,
RGB16,
RGB,
RGBA,
R,
RG
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GAMMA_MODE_", type_id = "gst_video_gamma_mode_get_type ()")]
[GIR (name = "VideoGammaMode")]
[Version (since = "1.6")]
public enum GammaMode {
NONE,
REMAP
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_INTERLACE_MODE_", type_id = "gst_video_interlace_mode_get_type ()")]
[GIR (name = "VideoInterlaceMode")]
public enum InterlaceMode {
PROGRESSIVE,
INTERLEAVED,
MIXED,
FIELDS,
ALTERNATE;
[Version (since = "1.6")]
public static Gst.Video.InterlaceMode from_string (string mode);
[Version (since = "1.6")]
public unowned string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MATRIX_MODE_", type_id = "gst_video_matrix_mode_get_type ()")]
[GIR (name = "VideoMatrixMode")]
[Version (since = "1.6")]
public enum MatrixMode {
FULL,
INPUT_ONLY,
OUTPUT_ONLY,
NONE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MULTIVIEW_FLAGS_", type_id = "gst_video_multiview_flags_get_type ()")]
[Flags]
[GIR (name = "VideoMultiviewFlags")]
public enum MultiviewFlags {
NONE,
RIGHT_VIEW_FIRST,
LEFT_FLIPPED,
LEFT_FLOPPED,
RIGHT_FLIPPED,
RIGHT_FLOPPED,
HALF_ASPECT,
MIXED_MONO
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MULTIVIEW_FRAME_PACKING_", type_id = "gst_video_multiview_frame_packing_get_type ()")]
[GIR (name = "VideoMultiviewFramePacking")]
public enum MultiviewFramePacking {
NONE,
MONO,
LEFT,
RIGHT,
SIDE_BY_SIDE,
SIDE_BY_SIDE_QUINCUNX,
COLUMN_INTERLEAVED,
ROW_INTERLEAVED,
TOP_BOTTOM,
CHECKERBOARD
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MULTIVIEW_MODE_", type_id = "gst_video_multiview_mode_get_type ()")]
[GIR (name = "VideoMultiviewMode")]
public enum MultiviewMode {
NONE,
MONO,
LEFT,
RIGHT,
SIDE_BY_SIDE,
SIDE_BY_SIDE_QUINCUNX,
COLUMN_INTERLEAVED,
ROW_INTERLEAVED,
TOP_BOTTOM,
CHECKERBOARD,
FRAME_BY_FRAME,
MULTIVIEW_FRAME_BY_FRAME,
SEPARATED;
[Version (since = "1.6")]
public static Gst.Video.MultiviewMode from_caps_string (string caps_mview_mode);
[Version (since = "1.6")]
public unowned string to_caps_string ();
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationCommand", cprefix = "GST_NAVIGATION_COMMAND_", type_id = "gst_navigation_command_get_type ()")]
[GIR (name = "NavigationCommand")]
public enum NavigationCommand {
INVALID,
MENU1,
MENU2,
MENU3,
MENU4,
MENU5,
MENU6,
MENU7,
LEFT,
RIGHT,
UP,
DOWN,
ACTIVATE,
PREV_ANGLE,
NEXT_ANGLE
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationEventType", cprefix = "GST_NAVIGATION_EVENT_", type_id = "gst_navigation_event_type_get_type ()")]
[GIR (name = "NavigationEventType")]
public enum NavigationEventType {
INVALID,
KEY_PRESS,
KEY_RELEASE,
MOUSE_BUTTON_PRESS,
MOUSE_BUTTON_RELEASE,
MOUSE_MOVE,
COMMAND,
[Version (since = "1.18")]
MOUSE_SCROLL,
[Version (since = "1.22")]
TOUCH_DOWN,
[Version (since = "1.22")]
TOUCH_MOTION,
[Version (since = "1.22")]
TOUCH_UP,
[Version (since = "1.22")]
TOUCH_FRAME,
[Version (since = "1.22")]
TOUCH_CANCEL
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationMessageType", cprefix = "GST_NAVIGATION_MESSAGE_", type_id = "gst_navigation_message_type_get_type ()")]
[GIR (name = "NavigationMessageType")]
public enum NavigationMessageType {
INVALID,
MOUSE_OVER,
COMMANDS_CHANGED,
ANGLES_CHANGED,
EVENT
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationModifierType", cprefix = "GST_NAVIGATION_MODIFIER_", type_id = "gst_navigation_modifier_type_get_type ()")]
[Flags]
[GIR (name = "NavigationModifierType")]
[Version (since = "1.22")]
public enum NavigationModifierType {
NONE,
SHIFT_MASK,
LOCK_MASK,
CONTROL_MASK,
ALT_MASK,
BUTTON1_MASK,
BUTTON2_MASK,
BUTTON3_MASK,
BUTTON4_MASK,
BUTTON5_MASK,
SUPER_MASK,
HYPER_MASK,
META_MASK,
MASK
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationQueryType", cprefix = "GST_NAVIGATION_QUERY_", type_id = "gst_navigation_query_type_get_type ()")]
[GIR (name = "NavigationQueryType")]
public enum NavigationQueryType {
INVALID,
COMMANDS,
ANGLES
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ORIENTATION_", type_id = "gst_video_orientation_method_get_type ()")]
[GIR (name = "VideoOrientationMethod")]
[Version (since = "1.10")]
public enum OrientationMethod {
IDENTITY,
@90R,
@180,
@90L,
HORIZ,
VERT,
UL_LR,
UR_LL,
AUTO,
CUSTOM
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_OVERLAY_FORMAT_FLAG_", type_id = "gst_video_overlay_format_flags_get_type ()")]
[Flags]
[GIR (name = "VideoOverlayFormatFlags")]
public enum OverlayFormatFlags {
NONE,
PREMULTIPLIED_ALPHA,
GLOBAL_ALPHA
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_PACK_FLAG_", type_id = "gst_video_pack_flags_get_type ()")]
[Flags]
[GIR (name = "VideoPackFlags")]
public enum PackFlags {
NONE,
TRUNCATE_RANGE,
INTERLACED
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_PRIMARIES_MODE_", type_id = "gst_video_primaries_mode_get_type ()")]
[GIR (name = "VideoPrimariesMode")]
[Version (since = "1.6")]
public enum PrimariesMode {
NONE,
MERGE_ONLY,
FAST
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_RESAMPLER_FLAG_", type_id = "gst_video_resampler_flags_get_type ()")]
[Flags]
[GIR (name = "VideoResamplerFlags")]
[Version (since = "1.6")]
public enum ResamplerFlags {
NONE,
HALF_TAPS
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_RESAMPLER_METHOD_", type_id = "gst_video_resampler_method_get_type ()")]
[GIR (name = "VideoResamplerMethod")]
[Version (since = "1.6")]
public enum ResamplerMethod {
NEAREST,
LINEAR,
CUBIC,
SINC,
LANCZOS
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_SCALER_FLAG_", type_id = "gst_video_scaler_flags_get_type ()")]
[Flags]
[GIR (name = "VideoScalerFlags")]
public enum ScalerFlags {
NONE,
INTERLACED
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TILE_MODE_", type_id = "gst_video_tile_mode_get_type ()")]
[GIR (name = "VideoTileMode")]
public enum TileMode {
UNKNOWN,
ZFLIPZ_2X2,
[Version (since = "1.18")]
LINEAR
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TILE_TYPE_", type_id = "gst_video_tile_type_get_type ()")]
[GIR (name = "VideoTileType")]
public enum TileType {
INDEXED
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TIME_CODE_FLAGS_", type_id = "gst_video_time_code_flags_get_type ()")]
[Flags]
[GIR (name = "VideoTimeCodeFlags")]
[Version (since = "1.10")]
public enum TimeCodeFlags {
NONE,
DROP_FRAME,
INTERLACED
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TRANSFER_", type_id = "gst_video_transfer_function_get_type ()")]
[GIR (name = "VideoTransferFunction")]
public enum TransferFunction {
UNKNOWN,
GAMMA10,
GAMMA18,
GAMMA20,
GAMMA22,
BT709,
SMPTE240M,
SRGB,
GAMMA28,
LOG100,
LOG316,
BT2020_12,
ADOBERGB,
BT2020_10,
SMPTE2084,
ARIB_STD_B67,
[Version (since = "1.18")]
BT601;
[Version (since = "1.20")]
public double decode (double val);
[Version (since = "1.20")]
public double encode (double val);
[Version (since = "1.18")]
public static Gst.Video.TransferFunction from_iso (uint value);
[Version (since = "1.18")]
public bool is_equivalent (uint from_bpp, Gst.Video.TransferFunction to_func, uint to_bpp);
[Version (since = "1.18")]
public uint to_iso ();
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_VBI_PARSER_RESULT_", type_id = "gst_video_vbi_parser_result_get_type ()")]
[GIR (name = "VideoVBIParserResult")]
[Version (since = "1.16")]
public enum VBIParserResult {
DONE,
OK,
ERROR
}
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate bool AffineTransformationGetMatrix (Gst.Video.AffineTransformationMeta meta, float matrix);
[CCode (cheader_filename = "gst/video/video.h", instance_pos = 2.9)]
public delegate void ConvertSampleCallback (Gst.Sample sample, GLib.Error error);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate void FormatPack (Gst.Video.FormatInfo info, Gst.Video.PackFlags flags, void* src, int sstride, void* data, int stride, Gst.Video.ChromaSite chroma_site, int y, int width);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate void FormatUnpack (Gst.Video.FormatInfo info, Gst.Video.PackFlags flags, void* dest, void* data, int stride, int x, int y, int width);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate bool GLTextureUpload (Gst.Video.GLTextureUploadMeta meta, uint texture_id);
[CCode (cheader_filename = "gst/video/video.h", has_target = false, has_typedef = false)]
public delegate bool MetaMapVFunc (Gst.Video.Meta meta, uint plane, Gst.MapInfo info, void* data, int stride, Gst.MapFlags flags);
[CCode (cheader_filename = "gst/video/video.h", has_target = false, has_typedef = false)]
public delegate bool MetaUnmapVFunc (Gst.Video.Meta meta, uint plane, Gst.MapInfo info);
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META")]
public const string BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT")]
public const string BUFFER_POOL_OPTION_VIDEO_ALIGNMENT;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META")]
[Version (since = "1.2.2")]
public const string BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_META")]
public const string BUFFER_POOL_OPTION_VIDEO_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_FORMAT_INTERLACED")]
[Version (since = "1.16.")]
public const string CAPS_FEATURE_FORMAT_INTERLACED;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META")]
public const string CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META")]
public const string CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_META")]
public const string CAPS_FEATURE_META_GST_VIDEO_META;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION")]
public const string CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT2020")]
public const string COLORIMETRY_BT2020;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT2020_10")]
public const string COLORIMETRY_BT2020_10;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT2100_HLG")]
public const string COLORIMETRY_BT2100_HLG;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT2100_PQ")]
public const string COLORIMETRY_BT2100_PQ;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT601")]
public const string COLORIMETRY_BT601;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT709")]
public const string COLORIMETRY_BT709;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_SMPTE240M")]
public const string COLORIMETRY_SMPTE240M;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_SRGB")]
public const string COLORIMETRY_SRGB;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_A")]
public const int COMP_A;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_B")]
public const int COMP_B;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_G")]
public const int COMP_G;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_INDEX")]
public const int COMP_INDEX;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_PALETTE")]
public const int COMP_PALETTE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_R")]
public const int COMP_R;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_U")]
public const int COMP_U;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_V")]
public const int COMP_V;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_Y")]
public const int COMP_Y;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_ALPHA_MODE")]
public const string CONVERTER_OPT_ALPHA_MODE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE")]
public const string CONVERTER_OPT_ALPHA_VALUE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_ASYNC_TASKS")]
[Version (since = "1.20")]
public const string CONVERTER_OPT_ASYNC_TASKS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_BORDER_ARGB")]
public const string CONVERTER_OPT_BORDER_ARGB;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_CHROMA_MODE")]
public const string CONVERTER_OPT_CHROMA_MODE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD")]
public const string CONVERTER_OPT_CHROMA_RESAMPLER_METHOD;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT")]
public const string CONVERTER_OPT_DEST_HEIGHT;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_WIDTH")]
public const string CONVERTER_OPT_DEST_WIDTH;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_X")]
public const string CONVERTER_OPT_DEST_X;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_Y")]
public const string CONVERTER_OPT_DEST_Y;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DITHER_METHOD")]
public const string CONVERTER_OPT_DITHER_METHOD;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION")]
public const string CONVERTER_OPT_DITHER_QUANTIZATION;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_FILL_BORDER")]
public const string CONVERTER_OPT_FILL_BORDER;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_GAMMA_MODE")]
public const string CONVERTER_OPT_GAMMA_MODE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_MATRIX_MODE")]
public const string CONVERTER_OPT_MATRIX_MODE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE")]
public const string CONVERTER_OPT_PRIMARIES_MODE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD")]
public const string CONVERTER_OPT_RESAMPLER_METHOD;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS")]
public const string CONVERTER_OPT_RESAMPLER_TAPS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT")]
public const string CONVERTER_OPT_SRC_HEIGHT;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_WIDTH")]
public const string CONVERTER_OPT_SRC_WIDTH;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_X")]
public const string CONVERTER_OPT_SRC_X;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_Y")]
public const string CONVERTER_OPT_SRC_Y;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_THREADS")]
public const string CONVERTER_OPT_THREADS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_MAX_ERRORS")]
public const int DECODER_MAX_ERRORS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_SINK_NAME")]
public const string DECODER_SINK_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_SRC_NAME")]
public const string DECODER_SRC_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_ENCODER_SINK_NAME")]
public const string ENCODER_SINK_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_ENCODER_SRC_NAME")]
public const string ENCODER_SRC_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_FORMATS_ALL")]
public const string FORMATS_ALL;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_FPS_RANGE")]
public const string FPS_RANGE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_MAX_COMPONENTS")]
public const int MAX_COMPONENTS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_MAX_PLANES")]
public const int MAX_PLANES;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_COLORSPACE_STR")]
[Version (since = "1.2")]
public const string META_TAG_VIDEO_COLORSPACE_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_ORIENTATION_STR")]
[Version (since = "1.2")]
public const string META_TAG_VIDEO_ORIENTATION_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_SIZE_STR")]
[Version (since = "1.2")]
public const string META_TAG_VIDEO_SIZE_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_STR")]
[Version (since = "1.2")]
public const string META_TAG_VIDEO_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_CUBIC_B")]
public const string RESAMPLER_OPT_CUBIC_B;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_CUBIC_C")]
public const string RESAMPLER_OPT_CUBIC_C;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_ENVELOPE")]
public const string RESAMPLER_OPT_ENVELOPE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_MAX_TAPS")]
public const string RESAMPLER_OPT_MAX_TAPS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_SHARPEN")]
public const string RESAMPLER_OPT_SHARPEN;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_SHARPNESS")]
public const string RESAMPLER_OPT_SHARPNESS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_SCALER_OPT_DITHER_METHOD")]
public const string SCALER_OPT_DITHER_METHOD;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_SIZE_RANGE")]
public const string SIZE_RANGE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_TYPE_MASK")]
public const int TILE_TYPE_MASK;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_TYPE_SHIFT")]
public const int TILE_TYPE_SHIFT;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_X_TILES_MASK")]
public const int TILE_X_TILES_MASK;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_Y_TILES_SHIFT")]
public const int TILE_Y_TILES_SHIFT;
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type afd_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoAFDMeta.get_info")]
public static unowned Gst.MetaInfo? afd_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type affine_transformation_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoAffineTransformationMeta.get_info")]
public static unowned Gst.MetaInfo? affine_transformation_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type bar_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoBarMeta.get_info")]
public static unowned Gst.MetaInfo? bar_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static bool blend (Gst.Video.Frame dest, Gst.Video.Frame src, int x, int y, float global_alpha);
[CCode (cheader_filename = "gst/video/video.h")]
public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, out unowned Gst.Video.Info dest, out Gst.Buffer dest_buffer);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_afd_meta")]
[Version (since = "1.18")]
public static unowned Gst.Video.AFDMeta? buffer_add_video_afd_meta (Gst.Buffer buffer, uint8 field, Gst.Video.AFDSpec spec, Gst.Video.AFDValue afd);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_affine_transformation_meta")]
[Version (since = "1.8")]
public static unowned Gst.Video.AffineTransformationMeta? buffer_add_video_affine_transformation_meta (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_bar_meta")]
[Version (since = "1.18")]
public static unowned Gst.Video.BarMeta? buffer_add_video_bar_meta (Gst.Buffer buffer, uint8 field, bool is_letterbox, uint bar_data1, uint bar_data2);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_caption_meta")]
[Version (since = "1.16")]
public static unowned Gst.Video.CaptionMeta? buffer_add_video_caption_meta (Gst.Buffer buffer, Gst.Video.CaptionType caption_type, [CCode (array_length_cname = "size", array_length_pos = 3.1, array_length_type = "gsize")] uint8[] data);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_codec_alpha_meta")]
[Version (since = "1.20")]
public static unowned Gst.Video.CodecAlphaMeta? buffer_add_video_codec_alpha_meta (Gst.Buffer buffer, owned Gst.Buffer alpha_buffer);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_gl_texture_upload_meta")]
public static unowned Gst.Video.GLTextureUploadMeta? buffer_add_video_gl_texture_upload_meta (Gst.Buffer buffer, Gst.Video.GLTextureOrientation texture_orientation, uint n_textures, Gst.Video.GLTextureType texture_type, [CCode (delegate_target_pos = 5.5)] Gst.Video.GLTextureUpload upload, GLib.BoxedCopyFunc user_data_copy, GLib.BoxedFreeFunc user_data_free);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_meta")]
public static unowned Gst.Video.Meta? buffer_add_video_meta (Gst.Buffer buffer, Gst.Video.FrameFlags flags, Gst.Video.Format format, uint width, uint height);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_meta_full")]
public static unowned Gst.Video.Meta? buffer_add_video_meta_full (Gst.Buffer buffer, Gst.Video.FrameFlags flags, Gst.Video.Format format, uint width, uint height, uint n_planes, [CCode (array_length = false)] size_t offset[4], [CCode (array_length = false)] int stride[4]);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_overlay_composition_meta")]
public static unowned Gst.Video.OverlayCompositionMeta? buffer_add_video_overlay_composition_meta (Gst.Buffer buf, Gst.Video.OverlayComposition? comp);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_region_of_interest_meta")]
public static unowned Gst.Video.RegionOfInterestMeta? buffer_add_video_region_of_interest_meta (Gst.Buffer buffer, string roi_type, uint x, uint y, uint w, uint h);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_region_of_interest_meta_id")]
public static unowned Gst.Video.RegionOfInterestMeta? buffer_add_video_region_of_interest_meta_id (Gst.Buffer buffer, GLib.Quark roi_type, uint x, uint y, uint w, uint h);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_sei_user_data_unregistered_meta")]
[Version (since = "1.22")]
public static unowned Gst.Video.SEIUserDataUnregisteredMeta? buffer_add_video_sei_user_data_unregistered_meta (Gst.Buffer buffer, uint8 uuid, uint8 data, size_t size);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_time_code_meta")]
[Version (since = "1.10")]
public static unowned Gst.Video.TimeCodeMeta? buffer_add_video_time_code_meta (Gst.Buffer buffer, Gst.Video.TimeCode tc);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_time_code_meta_full")]
[Version (since = "1.10")]
public static unowned Gst.Video.TimeCodeMeta? buffer_add_video_time_code_meta_full (Gst.Buffer buffer, uint fps_n, uint fps_d, GLib.DateTime latest_daily_jam, Gst.Video.TimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint field_count);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_get_video_meta")]
public static unowned Gst.Video.Meta? buffer_get_video_meta (Gst.Buffer buffer);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_get_video_meta_id")]
public static unowned Gst.Video.Meta? buffer_get_video_meta_id (Gst.Buffer buffer, int id);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_get_video_region_of_interest_meta_id")]
public static unowned Gst.Video.RegionOfInterestMeta? buffer_get_video_region_of_interest_meta_id (Gst.Buffer buffer, int id);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_get_video_alignment")]
public static bool buffer_pool_config_get_video_alignment (Gst.Structure config, Gst.Video.Alignment align);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_set_video_alignment")]
public static void buffer_pool_config_set_video_alignment (Gst.Structure config, Gst.Video.Alignment align);
[CCode (cheader_filename = "gst/video/video.h")]
public static bool calculate_display_ratio (out uint dar_n, out uint dar_d, uint video_width, uint video_height, uint video_par_n, uint video_par_d, uint display_par_n, uint display_par_d);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type caption_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoCaptionMeta.get_info")]
public static unowned Gst.MetaInfo? caption_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoCaptionType.from_caps", since = "1.16")]
public static Gst.Video.CaptionType caption_type_from_caps (Gst.Caps caps);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoCaptionType.to_caps", since = "1.16")]
public static Gst.Caps caption_type_to_caps (Gst.Video.CaptionType type);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.20")]
public static void center_rect (Gst.Video.Rectangle src, Gst.Video.Rectangle dst, out Gst.Video.Rectangle result, bool scaling);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (deprecated = true, deprecated_since = "1.20")]
public static Gst.Video.ChromaSite chroma_from_string (string s);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoChromaSite.from_string", since = "1.20")]
public static Gst.Video.ChromaSite chroma_site_from_string (string s);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoChromaSite.to_string", since = "1.20")]
public static string? chroma_site_to_string (Gst.Video.ChromaSite site);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (deprecated = true, deprecated_since = "1.20")]
public static unowned string chroma_to_string (Gst.Video.ChromaSite site);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.20")]
public static GLib.Type codec_alpha_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoCodecAlphaMeta.get_info", since = "1.20")]
public static unowned Gst.MetaInfo? codec_alpha_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorMatrix.from_iso", since = "1.18")]
public static Gst.Video.ColorMatrix color_matrix_from_iso (uint value);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorMatrix.get_Kr_Kb", since = "1.6")]
public static bool color_matrix_get_Kr_Kb (Gst.Video.ColorMatrix matrix, out double Kr, out double Kb);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorMatrix.to_iso", since = "1.18")]
public static uint color_matrix_to_iso (Gst.Video.ColorMatrix matrix);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorPrimaries.from_iso", since = "1.18")]
public static Gst.Video.ColorPrimaries color_primaries_from_iso (uint value);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorPrimaries.get_info", since = "1.6")]
public static unowned Gst.Video.ColorPrimariesInfo? color_primaries_get_info (Gst.Video.ColorPrimaries primaries);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorPrimaries.is_equivalent", since = "1.22")]
public static bool color_primaries_is_equivalent (Gst.Video.ColorPrimaries primaries, Gst.Video.ColorPrimaries other);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorPrimaries.to_iso", since = "1.18")]
public static uint color_primaries_to_iso (Gst.Video.ColorPrimaries primaries);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoColorRange.offsets")]
public static void color_range_offsets (Gst.Video.ColorRange range, Gst.Video.FormatInfo info, [CCode (array_length = false)] out unowned int offset[4], [CCode (array_length = false)] out unowned int scale[4]);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (deprecated = true, deprecated_since = "1.20", since = "1.6")]
public static double color_transfer_decode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (deprecated = true, deprecated_since = "1.20", since = "1.6")]
public static double color_transfer_encode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Sample convert_sample (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout) throws GLib.Error;
[CCode (cheader_filename = "gst/video/video.h")]
public static void convert_sample_async (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout, owned Gst.Video.ConvertSampleCallback callback);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type crop_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoCropMeta.get_info")]
public static unowned Gst.MetaInfo? crop_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static bool event_is_force_key_unit (Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Event event_new_downstream_force_key_unit (Gst.ClockTime timestamp, Gst.ClockTime stream_time, Gst.ClockTime running_time, bool all_headers, uint count);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Event event_new_still_frame (bool in_still);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Event event_new_upstream_force_key_unit (Gst.ClockTime running_time, bool all_headers, uint count);
[CCode (cheader_filename = "gst/video/video.h")]
public static bool event_parse_downstream_force_key_unit (Gst.Event event, out Gst.ClockTime timestamp, out Gst.ClockTime stream_time, out Gst.ClockTime running_time, out bool all_headers, out uint count);
[CCode (cheader_filename = "gst/video/video.h")]
public static bool event_parse_still_frame (Gst.Event event, out bool in_still);
[CCode (cheader_filename = "gst/video/video.h")]
public static bool event_parse_upstream_force_key_unit (Gst.Event event, out Gst.ClockTime running_time, out bool all_headers, out uint count);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFieldOrder.from_string", since = "1.12")]
public static Gst.Video.FieldOrder field_order_from_string (string order);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFieldOrder.to_string", since = "1.12")]
public static unowned string field_order_to_string (Gst.Video.FieldOrder order);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFormat.from_fourcc")]
public static Gst.Video.Format format_from_fourcc (uint32 fourcc);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFormat.from_masks")]
public static Gst.Video.Format format_from_masks (int depth, int bpp, int endianness, uint red_mask, uint green_mask, uint blue_mask, uint alpha_mask);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFormat.from_string")]
public static Gst.Video.Format format_from_string (string format);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFormat.get_info")]
public static unowned Gst.Video.FormatInfo? format_get_info (Gst.Video.Format format);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFormat.get_palette", since = "1.2")]
public static void* format_get_palette (Gst.Video.Format format, out size_t size);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFormat.to_fourcc")]
public static uint32 format_to_fourcc (Gst.Video.Format format);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFormat.to_string")]
public static unowned string format_to_string (Gst.Video.Format format);
[CCode (array_length_pos = 0.1, array_length_type = "guint", cheader_filename = "gst/video/video.h")]
[Version (since = "1.18")]
public static unowned Gst.Video.Format[] formats_raw ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFrame.map")]
public static bool frame_map (out Gst.Video.Frame frame, Gst.Video.Info info, Gst.Buffer buffer, Gst.MapFlags flags);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoFrame.map_id")]
public static bool frame_map_id (out Gst.Video.Frame frame, Gst.Video.Info info, Gst.Buffer buffer, int id, Gst.MapFlags flags);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type gl_texture_upload_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoGLTextureUploadMeta.get_info")]
public static unowned Gst.MetaInfo? gl_texture_upload_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static bool guess_framerate (Gst.ClockTime duration, out int dest_n, out int dest_d);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoInfo.from_caps")]
public static bool info_from_caps (out unowned Gst.Video.Info info, Gst.Caps caps);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoInfo.init")]
public static void info_init (out unowned Gst.Video.Info info);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoInterlaceMode.from_string", since = "1.6")]
public static Gst.Video.InterlaceMode interlace_mode_from_string (string mode);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoInterlaceMode.to_string", since = "1.6")]
public static unowned string interlace_mode_to_string (Gst.Video.InterlaceMode mode);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.22")]
public static bool is_common_aspect_ratio (int width, int height, int par_n, int par_d);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_is_video_overlay_prepare_window_handle_message")]
public static bool is_video_overlay_prepare_window_handle_message (Gst.Message msg);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.18")]
public static Gst.Caps make_raw_caps ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "guint")] Gst.Video.Format[]? formats);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.18")]
public static Gst.Caps make_raw_caps_with_features ([CCode (array_length_cname = "len", array_length_pos = 1.5, array_length_type = "guint")] Gst.Video.Format[]? formats, owned Gst.CapsFeatures? features);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoMasteringDisplayInfo.from_string", since = "1.18")]
public static bool mastering_display_info_from_string (out Gst.Video.MasteringDisplayInfo minfo, string mastering);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoMeta.get_info")]
public static unowned Gst.MetaInfo? meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoMetaTransform.scale_get_quark")]
public static GLib.Quark meta_transform_scale_get_quark ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_doubled_height_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_doubled_size_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_doubled_width_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_mono_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static unowned GLib.Value? multiview_get_unpacked_modes ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static bool multiview_guess_half_aspect (Gst.Video.MultiviewMode mv_mode, uint width, uint height, uint par_n, uint par_d);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoMultiviewMode.from_caps_string", since = "1.6")]
public static Gst.Video.MultiviewMode multiview_mode_from_caps_string (string caps_mview_mode);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoMultiviewMode.to_caps_string", since = "1.6")]
public static unowned string multiview_mode_to_caps_string (Gst.Video.MultiviewMode mview_mode);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static void multiview_video_info_change_mode (Gst.Video.Info info, Gst.Video.MultiviewMode out_mview_mode, Gst.Video.MultiviewFlags out_mview_flags);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_get_coordinates")]
[Version (replacement = "Navigation.event_get_coordinates", since = "1.22")]
public static bool navigation_event_get_coordinates (Gst.Event event, out double x, out double y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_get_type")]
[Version (replacement = "Navigation.event_get_type")]
public static Gst.Video.NavigationEventType navigation_event_get_type (Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_command")]
[Version (replacement = "Navigation.event_new_command", since = "1.22")]
public static Gst.Event navigation_event_new_command (Gst.Video.NavigationCommand command);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_key_press")]
[Version (replacement = "Navigation.event_new_key_press", since = "1.22")]
public static Gst.Event navigation_event_new_key_press (string key, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_key_release")]
[Version (replacement = "Navigation.event_new_key_release", since = "1.22")]
public static Gst.Event navigation_event_new_key_release (string key, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_mouse_button_press")]
[Version (replacement = "Navigation.event_new_mouse_button_press", since = "1.22")]
public static Gst.Event navigation_event_new_mouse_button_press (int button, double x, double y, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_mouse_button_release")]
[Version (replacement = "Navigation.event_new_mouse_button_release", since = "1.22")]
public static Gst.Event navigation_event_new_mouse_button_release (int button, double x, double y, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_mouse_move")]
[Version (replacement = "Navigation.event_new_mouse_move", since = "1.22")]
public static Gst.Event navigation_event_new_mouse_move (double x, double y, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_mouse_scroll")]
[Version (replacement = "Navigation.event_new_mouse_scroll", since = "1.22")]
public static Gst.Event navigation_event_new_mouse_scroll (double x, double y, double delta_x, double delta_y, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_touch_cancel")]
[Version (replacement = "Navigation.event_new_touch_cancel", since = "1.22")]
public static Gst.Event navigation_event_new_touch_cancel (Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_touch_down")]
[Version (replacement = "Navigation.event_new_touch_down", since = "1.22")]
public static Gst.Event navigation_event_new_touch_down (uint identifier, double x, double y, double pressure, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_touch_frame")]
[Version (replacement = "Navigation.event_new_touch_frame", since = "1.22")]
public static Gst.Event navigation_event_new_touch_frame (Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_touch_motion")]
[Version (replacement = "Navigation.event_new_touch_motion", since = "1.22")]
public static Gst.Event navigation_event_new_touch_motion (uint identifier, double x, double y, double pressure, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_new_touch_up")]
[Version (replacement = "Navigation.event_new_touch_up", since = "1.22")]
public static Gst.Event navigation_event_new_touch_up (uint identifier, double x, double y, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_command")]
[Version (replacement = "Navigation.event_parse_command")]
public static bool navigation_event_parse_command (Gst.Event event, out Gst.Video.NavigationCommand command);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_key_event")]
[Version (replacement = "Navigation.event_parse_key_event")]
public static bool navigation_event_parse_key_event (Gst.Event event, out unowned string key);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_modifier_state")]
[Version (replacement = "Navigation.event_parse_modifier_state", since = "1.22")]
public static bool navigation_event_parse_modifier_state (Gst.Event event, Gst.Video.NavigationModifierType state);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_button_event")]
[Version (replacement = "Navigation.event_parse_mouse_button_event")]
public static bool navigation_event_parse_mouse_button_event (Gst.Event event, out int button, out double x, out double y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_move_event")]
[Version (replacement = "Navigation.event_parse_mouse_move_event")]
public static bool navigation_event_parse_mouse_move_event (Gst.Event event, out double x, out double y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_scroll_event")]
[Version (replacement = "Navigation.event_parse_mouse_scroll_event", since = "1.18")]
public static bool navigation_event_parse_mouse_scroll_event (Gst.Event event, out double x, out double y, out double delta_x, out double delta_y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_touch_event")]
[Version (replacement = "Navigation.event_parse_touch_event", since = "1.22")]
public static bool navigation_event_parse_touch_event (Gst.Event event, out uint identifier, out double x, out double y, out double pressure);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_touch_up_event")]
[Version (replacement = "Navigation.event_parse_touch_up_event", since = "1.22")]
public static bool navigation_event_parse_touch_up_event (Gst.Event event, out uint identifier, out double x, out double y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_set_coordinates")]
[Version (replacement = "Navigation.event_set_coordinates", since = "1.22")]
public static bool navigation_event_set_coordinates (Gst.Event event, double x, double y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_get_type")]
[Version (replacement = "Navigation.message_get_type")]
public static Gst.Video.NavigationMessageType navigation_message_get_type (Gst.Message message);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_angles_changed")]
[Version (replacement = "Navigation.message_new_angles_changed")]
public static Gst.Message navigation_message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_commands_changed")]
[Version (replacement = "Navigation.message_new_commands_changed")]
public static Gst.Message navigation_message_new_commands_changed (Gst.Object src);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_event")]
[Version (replacement = "Navigation.message_new_event", since = "1.6")]
public static Gst.Message navigation_message_new_event (Gst.Object src, Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_mouse_over")]
[Version (replacement = "Navigation.message_new_mouse_over")]
public static Gst.Message navigation_message_new_mouse_over (Gst.Object src, bool active);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_angles_changed")]
[Version (replacement = "Navigation.message_parse_angles_changed")]
public static bool navigation_message_parse_angles_changed (Gst.Message message, out uint cur_angle, out uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_event")]
[Version (replacement = "Navigation.message_parse_event", since = "1.6")]
public static bool navigation_message_parse_event (Gst.Message message, out Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_mouse_over")]
[Version (replacement = "Navigation.message_parse_mouse_over")]
public static bool navigation_message_parse_mouse_over (Gst.Message message, out bool active);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_get_type")]
[Version (replacement = "Navigation.query_get_type")]
public static Gst.Video.NavigationQueryType navigation_query_get_type (Gst.Query query);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_new_angles")]
[Version (replacement = "Navigation.query_new_angles")]
public static Gst.Query navigation_query_new_angles ();
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_new_commands")]
[Version (replacement = "Navigation.query_new_commands")]
public static Gst.Query navigation_query_new_commands ();
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_angles")]
[Version (replacement = "Navigation.query_parse_angles")]
public static bool navigation_query_parse_angles (Gst.Query query, out uint cur_angle, out uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_commands_length")]
[Version (replacement = "Navigation.query_parse_commands_length")]
public static bool navigation_query_parse_commands_length (Gst.Query query, out uint n_cmds);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_commands_nth")]
[Version (replacement = "Navigation.query_parse_commands_nth")]
public static bool navigation_query_parse_commands_nth (Gst.Query query, uint nth, out Gst.Video.NavigationCommand cmd);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_set_angles")]
[Version (replacement = "Navigation.query_set_angles")]
public static void navigation_query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_set_commandsv")]
[Version (replacement = "Navigation.query_set_commandsv")]
public static void navigation_query_set_commandsv (Gst.Query query, [CCode (array_length_cname = "n_cmds", array_length_pos = 1.5)] Gst.Video.NavigationCommand[] cmds);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoOrientation.from_tag", since = "1.20")]
public static bool orientation_from_tag (Gst.TagList taglist, out Gst.Video.OrientationMethod method);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type overlay_composition_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoOverlayCompositionMeta.get_info")]
public static unowned Gst.MetaInfo? overlay_composition_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoOverlay.install_properties", since = "1.14")]
public static void overlay_install_properties (GLib.ObjectClass oclass, int last_prop_id);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoOverlay.set_property", since = "1.14")]
public static bool overlay_set_property (GLib.Object object, int last_prop_id, uint property_id, GLib.Value value);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type region_of_interest_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoRegionOfInterestMeta.get_info")]
public static unowned Gst.MetaInfo? region_of_interest_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.22")]
public static GLib.Type sei_user_data_unregistered_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoSEIUserDataUnregisteredMeta.get_info", since = "1.22")]
public static unowned Gst.MetaInfo? sei_user_data_unregistered_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.22")]
public static bool sei_user_data_unregistered_parse_precision_time_stamp (Gst.Video.SEIUserDataUnregisteredMeta user_data, out uint8 status, out uint64 precision_time_stamp);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.4")]
public static uint tile_get_index (Gst.Video.TileMode mode, int x, int y, int x_tiles, int y_tiles);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type time_code_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoTimeCodeMeta.get_info")]
public static unowned Gst.MetaInfo? time_code_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoTransferFunction.decode", since = "1.20")]
public static double transfer_function_decode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoTransferFunction.encode", since = "1.20")]
public static double transfer_function_encode (Gst.Video.TransferFunction func, double val);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoTransferFunction.from_iso", since = "1.18")]
public static Gst.Video.TransferFunction transfer_function_from_iso (uint value);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoTransferFunction.is_equivalent", since = "1.18")]
public static bool transfer_function_is_equivalent (Gst.Video.TransferFunction from_func, uint from_bpp, Gst.Video.TransferFunction to_func, uint to_bpp);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (replacement = "VideoTransferFunction.to_iso", since = "1.18")]
public static uint transfer_function_to_iso (Gst.Video.TransferFunction func);
}
}
|