-
Notifications
You must be signed in to change notification settings - Fork 308
/
vulkan_video.hpp
3716 lines (3185 loc) · 196 KB
/
vulkan_video.hpp
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
// Copyright 2021-2024 The Khronos Group Inc.
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// This header is generated from the Khronos Vulkan XML API Registry.
#ifndef VULKAN_VIDEO_HPP
#define VULKAN_VIDEO_HPP
#include <vk_video/vulkan_video_codec_av1std.h>
#include <vk_video/vulkan_video_codec_av1std_decode.h>
#include <vk_video/vulkan_video_codec_h264std.h>
#include <vk_video/vulkan_video_codec_h264std_decode.h>
#include <vk_video/vulkan_video_codec_h264std_encode.h>
#include <vk_video/vulkan_video_codec_h265std.h>
#include <vk_video/vulkan_video_codec_h265std_decode.h>
#include <vk_video/vulkan_video_codec_h265std_encode.h>
#include <vk_video/vulkan_video_codecs_common.h>
#include <vulkan/vulkan.hpp>
#if !defined( VULKAN_HPP_VIDEO_NAMESPACE )
# define VULKAN_HPP_VIDEO_NAMESPACE video
#endif
namespace VULKAN_HPP_NAMESPACE
{
namespace VULKAN_HPP_VIDEO_NAMESPACE
{
//=============
//=== ENUMs ===
//=============
//=== vulkan_video_codec_h264std ===
enum class H264ChromaFormatIdc
{
eMonochrome = STD_VIDEO_H264_CHROMA_FORMAT_IDC_MONOCHROME,
e420 = STD_VIDEO_H264_CHROMA_FORMAT_IDC_420,
e422 = STD_VIDEO_H264_CHROMA_FORMAT_IDC_422,
e444 = STD_VIDEO_H264_CHROMA_FORMAT_IDC_444,
eInvalid = STD_VIDEO_H264_CHROMA_FORMAT_IDC_INVALID
};
enum class H264ProfileIdc
{
eBaseline = STD_VIDEO_H264_PROFILE_IDC_BASELINE,
eMain = STD_VIDEO_H264_PROFILE_IDC_MAIN,
eHigh = STD_VIDEO_H264_PROFILE_IDC_HIGH,
eHigh444Predictive = STD_VIDEO_H264_PROFILE_IDC_HIGH_444_PREDICTIVE,
eInvalid = STD_VIDEO_H264_PROFILE_IDC_INVALID
};
enum class H264LevelIdc
{
e1_0 = STD_VIDEO_H264_LEVEL_IDC_1_0,
e1_1 = STD_VIDEO_H264_LEVEL_IDC_1_1,
e1_2 = STD_VIDEO_H264_LEVEL_IDC_1_2,
e1_3 = STD_VIDEO_H264_LEVEL_IDC_1_3,
e2_0 = STD_VIDEO_H264_LEVEL_IDC_2_0,
e2_1 = STD_VIDEO_H264_LEVEL_IDC_2_1,
e2_2 = STD_VIDEO_H264_LEVEL_IDC_2_2,
e3_0 = STD_VIDEO_H264_LEVEL_IDC_3_0,
e3_1 = STD_VIDEO_H264_LEVEL_IDC_3_1,
e3_2 = STD_VIDEO_H264_LEVEL_IDC_3_2,
e4_0 = STD_VIDEO_H264_LEVEL_IDC_4_0,
e4_1 = STD_VIDEO_H264_LEVEL_IDC_4_1,
e4_2 = STD_VIDEO_H264_LEVEL_IDC_4_2,
e5_0 = STD_VIDEO_H264_LEVEL_IDC_5_0,
e5_1 = STD_VIDEO_H264_LEVEL_IDC_5_1,
e5_2 = STD_VIDEO_H264_LEVEL_IDC_5_2,
e6_0 = STD_VIDEO_H264_LEVEL_IDC_6_0,
e6_1 = STD_VIDEO_H264_LEVEL_IDC_6_1,
e6_2 = STD_VIDEO_H264_LEVEL_IDC_6_2,
eInvalid = STD_VIDEO_H264_LEVEL_IDC_INVALID
};
enum class H264PocType
{
e0 = STD_VIDEO_H264_POC_TYPE_0,
e1 = STD_VIDEO_H264_POC_TYPE_1,
e2 = STD_VIDEO_H264_POC_TYPE_2,
eInvalid = STD_VIDEO_H264_POC_TYPE_INVALID
};
enum class H264AspectRatioIdc
{
eUnspecified = STD_VIDEO_H264_ASPECT_RATIO_IDC_UNSPECIFIED,
eSquare = STD_VIDEO_H264_ASPECT_RATIO_IDC_SQUARE,
e12_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_12_11,
e10_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_10_11,
e16_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_16_11,
e40_33 = STD_VIDEO_H264_ASPECT_RATIO_IDC_40_33,
e24_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_24_11,
e20_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_20_11,
e32_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_32_11,
e80_33 = STD_VIDEO_H264_ASPECT_RATIO_IDC_80_33,
e18_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_18_11,
e15_11 = STD_VIDEO_H264_ASPECT_RATIO_IDC_15_11,
e64_33 = STD_VIDEO_H264_ASPECT_RATIO_IDC_64_33,
e160_99 = STD_VIDEO_H264_ASPECT_RATIO_IDC_160_99,
e4_3 = STD_VIDEO_H264_ASPECT_RATIO_IDC_4_3,
e3_2 = STD_VIDEO_H264_ASPECT_RATIO_IDC_3_2,
e2_1 = STD_VIDEO_H264_ASPECT_RATIO_IDC_2_1,
eExtendedSar = STD_VIDEO_H264_ASPECT_RATIO_IDC_EXTENDED_SAR,
eInvalid = STD_VIDEO_H264_ASPECT_RATIO_IDC_INVALID
};
enum class H264WeightedBipredIdc
{
eDefault = STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_DEFAULT,
eExplicit = STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_EXPLICIT,
eImplicit = STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_IMPLICIT,
eInvalid = STD_VIDEO_H264_WEIGHTED_BIPRED_IDC_INVALID
};
enum class H264ModificationOfPicNumsIdc
{
eShortTermSubtract = STD_VIDEO_H264_MODIFICATION_OF_PIC_NUMS_IDC_SHORT_TERM_SUBTRACT,
eShortTermAdd = STD_VIDEO_H264_MODIFICATION_OF_PIC_NUMS_IDC_SHORT_TERM_ADD,
eLongTerm = STD_VIDEO_H264_MODIFICATION_OF_PIC_NUMS_IDC_LONG_TERM,
eEnd = STD_VIDEO_H264_MODIFICATION_OF_PIC_NUMS_IDC_END,
eInvalid = STD_VIDEO_H264_MODIFICATION_OF_PIC_NUMS_IDC_INVALID
};
enum class H264MemMgmtControlOp
{
eEnd = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_END,
eUnmarkShortTerm = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_SHORT_TERM,
eUnmarkLongTerm = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_LONG_TERM,
eMarkLongTerm = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_MARK_LONG_TERM,
eSetMaxLongTermIndex = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_SET_MAX_LONG_TERM_INDEX,
eUnmarkAll = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_UNMARK_ALL,
eMarkCurrentAsLongTerm = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_MARK_CURRENT_AS_LONG_TERM,
eInvalid = STD_VIDEO_H264_MEM_MGMT_CONTROL_OP_INVALID
};
enum class H264CabacInitIdc
{
e0 = STD_VIDEO_H264_CABAC_INIT_IDC_0,
e1 = STD_VIDEO_H264_CABAC_INIT_IDC_1,
e2 = STD_VIDEO_H264_CABAC_INIT_IDC_2,
eInvalid = STD_VIDEO_H264_CABAC_INIT_IDC_INVALID
};
enum class H264DisableDeblockingFilterIdc
{
eDisabled = STD_VIDEO_H264_DISABLE_DEBLOCKING_FILTER_IDC_DISABLED,
eEnabled = STD_VIDEO_H264_DISABLE_DEBLOCKING_FILTER_IDC_ENABLED,
ePartial = STD_VIDEO_H264_DISABLE_DEBLOCKING_FILTER_IDC_PARTIAL,
eInvalid = STD_VIDEO_H264_DISABLE_DEBLOCKING_FILTER_IDC_INVALID
};
enum class H264SliceType
{
eP = STD_VIDEO_H264_SLICE_TYPE_P,
eB = STD_VIDEO_H264_SLICE_TYPE_B,
eI = STD_VIDEO_H264_SLICE_TYPE_I,
eInvalid = STD_VIDEO_H264_SLICE_TYPE_INVALID
};
enum class H264PictureType
{
eP = STD_VIDEO_H264_PICTURE_TYPE_P,
eB = STD_VIDEO_H264_PICTURE_TYPE_B,
eI = STD_VIDEO_H264_PICTURE_TYPE_I,
eIdr = STD_VIDEO_H264_PICTURE_TYPE_IDR,
eInvalid = STD_VIDEO_H264_PICTURE_TYPE_INVALID
};
enum class H264NonVclNaluType
{
eSps = STD_VIDEO_H264_NON_VCL_NALU_TYPE_SPS,
ePps = STD_VIDEO_H264_NON_VCL_NALU_TYPE_PPS,
eAud = STD_VIDEO_H264_NON_VCL_NALU_TYPE_AUD,
ePrefix = STD_VIDEO_H264_NON_VCL_NALU_TYPE_PREFIX,
eEndOfSequence = STD_VIDEO_H264_NON_VCL_NALU_TYPE_END_OF_SEQUENCE,
eEndOfStream = STD_VIDEO_H264_NON_VCL_NALU_TYPE_END_OF_STREAM,
ePrecoded = STD_VIDEO_H264_NON_VCL_NALU_TYPE_PRECODED,
eInvalid = STD_VIDEO_H264_NON_VCL_NALU_TYPE_INVALID
};
//=== vulkan_video_codec_h264std_decode ===
enum class DecodeH264FieldOrderCount
{
eTop = STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_TOP,
eBottom = STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_BOTTOM,
eInvalid = STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_INVALID
};
//=== vulkan_video_codec_h265std ===
enum class H265ChromaFormatIdc
{
eMonochrome = STD_VIDEO_H265_CHROMA_FORMAT_IDC_MONOCHROME,
e420 = STD_VIDEO_H265_CHROMA_FORMAT_IDC_420,
e422 = STD_VIDEO_H265_CHROMA_FORMAT_IDC_422,
e444 = STD_VIDEO_H265_CHROMA_FORMAT_IDC_444,
eInvalid = STD_VIDEO_H265_CHROMA_FORMAT_IDC_INVALID
};
enum class H265ProfileIdc
{
eMain = STD_VIDEO_H265_PROFILE_IDC_MAIN,
eMain10 = STD_VIDEO_H265_PROFILE_IDC_MAIN_10,
eMainStillPicture = STD_VIDEO_H265_PROFILE_IDC_MAIN_STILL_PICTURE,
eFormatRangeExtensions = STD_VIDEO_H265_PROFILE_IDC_FORMAT_RANGE_EXTENSIONS,
eSccExtensions = STD_VIDEO_H265_PROFILE_IDC_SCC_EXTENSIONS,
eInvalid = STD_VIDEO_H265_PROFILE_IDC_INVALID
};
enum class H265LevelIdc
{
e1_0 = STD_VIDEO_H265_LEVEL_IDC_1_0,
e2_0 = STD_VIDEO_H265_LEVEL_IDC_2_0,
e2_1 = STD_VIDEO_H265_LEVEL_IDC_2_1,
e3_0 = STD_VIDEO_H265_LEVEL_IDC_3_0,
e3_1 = STD_VIDEO_H265_LEVEL_IDC_3_1,
e4_0 = STD_VIDEO_H265_LEVEL_IDC_4_0,
e4_1 = STD_VIDEO_H265_LEVEL_IDC_4_1,
e5_0 = STD_VIDEO_H265_LEVEL_IDC_5_0,
e5_1 = STD_VIDEO_H265_LEVEL_IDC_5_1,
e5_2 = STD_VIDEO_H265_LEVEL_IDC_5_2,
e6_0 = STD_VIDEO_H265_LEVEL_IDC_6_0,
e6_1 = STD_VIDEO_H265_LEVEL_IDC_6_1,
e6_2 = STD_VIDEO_H265_LEVEL_IDC_6_2,
eInvalid = STD_VIDEO_H265_LEVEL_IDC_INVALID
};
enum class H265SliceType
{
eB = STD_VIDEO_H265_SLICE_TYPE_B,
eP = STD_VIDEO_H265_SLICE_TYPE_P,
eI = STD_VIDEO_H265_SLICE_TYPE_I,
eInvalid = STD_VIDEO_H265_SLICE_TYPE_INVALID
};
enum class H265PictureType
{
eP = STD_VIDEO_H265_PICTURE_TYPE_P,
eB = STD_VIDEO_H265_PICTURE_TYPE_B,
eI = STD_VIDEO_H265_PICTURE_TYPE_I,
eIdr = STD_VIDEO_H265_PICTURE_TYPE_IDR,
eInvalid = STD_VIDEO_H265_PICTURE_TYPE_INVALID
};
enum class H265AspectRatioIdc
{
eUnspecified = STD_VIDEO_H265_ASPECT_RATIO_IDC_UNSPECIFIED,
eSquare = STD_VIDEO_H265_ASPECT_RATIO_IDC_SQUARE,
e12_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_12_11,
e10_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_10_11,
e16_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_16_11,
e40_33 = STD_VIDEO_H265_ASPECT_RATIO_IDC_40_33,
e24_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_24_11,
e20_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_20_11,
e32_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_32_11,
e80_33 = STD_VIDEO_H265_ASPECT_RATIO_IDC_80_33,
e18_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_18_11,
e15_11 = STD_VIDEO_H265_ASPECT_RATIO_IDC_15_11,
e64_33 = STD_VIDEO_H265_ASPECT_RATIO_IDC_64_33,
e160_99 = STD_VIDEO_H265_ASPECT_RATIO_IDC_160_99,
e4_3 = STD_VIDEO_H265_ASPECT_RATIO_IDC_4_3,
e3_2 = STD_VIDEO_H265_ASPECT_RATIO_IDC_3_2,
e2_1 = STD_VIDEO_H265_ASPECT_RATIO_IDC_2_1,
eExtendedSar = STD_VIDEO_H265_ASPECT_RATIO_IDC_EXTENDED_SAR,
eInvalid = STD_VIDEO_H265_ASPECT_RATIO_IDC_INVALID
};
//=== vulkan_video_codec_av1std ===
enum class AV1Profile
{
eMain = STD_VIDEO_AV1_PROFILE_MAIN,
eHigh = STD_VIDEO_AV1_PROFILE_HIGH,
eProfessional = STD_VIDEO_AV1_PROFILE_PROFESSIONAL,
eInvalid = STD_VIDEO_AV1_PROFILE_INVALID
};
enum class AV1Level
{
e2_0 = STD_VIDEO_AV1_LEVEL_2_0,
e2_1 = STD_VIDEO_AV1_LEVEL_2_1,
e2_2 = STD_VIDEO_AV1_LEVEL_2_2,
e2_3 = STD_VIDEO_AV1_LEVEL_2_3,
e3_0 = STD_VIDEO_AV1_LEVEL_3_0,
e3_1 = STD_VIDEO_AV1_LEVEL_3_1,
e3_2 = STD_VIDEO_AV1_LEVEL_3_2,
e3_3 = STD_VIDEO_AV1_LEVEL_3_3,
e4_0 = STD_VIDEO_AV1_LEVEL_4_0,
e4_1 = STD_VIDEO_AV1_LEVEL_4_1,
e4_2 = STD_VIDEO_AV1_LEVEL_4_2,
e4_3 = STD_VIDEO_AV1_LEVEL_4_3,
e5_0 = STD_VIDEO_AV1_LEVEL_5_0,
e5_1 = STD_VIDEO_AV1_LEVEL_5_1,
e5_2 = STD_VIDEO_AV1_LEVEL_5_2,
e5_3 = STD_VIDEO_AV1_LEVEL_5_3,
e6_0 = STD_VIDEO_AV1_LEVEL_6_0,
e6_1 = STD_VIDEO_AV1_LEVEL_6_1,
e6_2 = STD_VIDEO_AV1_LEVEL_6_2,
e6_3 = STD_VIDEO_AV1_LEVEL_6_3,
e7_0 = STD_VIDEO_AV1_LEVEL_7_0,
e7_1 = STD_VIDEO_AV1_LEVEL_7_1,
e7_2 = STD_VIDEO_AV1_LEVEL_7_2,
e7_3 = STD_VIDEO_AV1_LEVEL_7_3,
eInvalid = STD_VIDEO_AV1_LEVEL_INVALID
};
enum class AV1FrameType
{
eKey = STD_VIDEO_AV1_FRAME_TYPE_KEY,
eInter = STD_VIDEO_AV1_FRAME_TYPE_INTER,
eIntraOnly = STD_VIDEO_AV1_FRAME_TYPE_INTRA_ONLY,
eSwitch = STD_VIDEO_AV1_FRAME_TYPE_SWITCH,
eInvalid = STD_VIDEO_AV1_FRAME_TYPE_INVALID
};
enum class AV1ReferenceName
{
eIntraFrame = STD_VIDEO_AV1_REFERENCE_NAME_INTRA_FRAME,
eLastFrame = STD_VIDEO_AV1_REFERENCE_NAME_LAST_FRAME,
eLast2Frame = STD_VIDEO_AV1_REFERENCE_NAME_LAST2_FRAME,
eLast3Frame = STD_VIDEO_AV1_REFERENCE_NAME_LAST3_FRAME,
eGoldenFrame = STD_VIDEO_AV1_REFERENCE_NAME_GOLDEN_FRAME,
eBwdrefFrame = STD_VIDEO_AV1_REFERENCE_NAME_BWDREF_FRAME,
eAltref2Frame = STD_VIDEO_AV1_REFERENCE_NAME_ALTREF2_FRAME,
eAltrefFrame = STD_VIDEO_AV1_REFERENCE_NAME_ALTREF_FRAME,
eInvalid = STD_VIDEO_AV1_REFERENCE_NAME_INVALID
};
enum class AV1InterpolationFilter
{
eEighttap = STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP,
eEighttapSmooth = STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH,
eEighttapSharp = STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP_SHARP,
eBilinear = STD_VIDEO_AV1_INTERPOLATION_FILTER_BILINEAR,
eSwitchable = STD_VIDEO_AV1_INTERPOLATION_FILTER_SWITCHABLE,
eInvalid = STD_VIDEO_AV1_INTERPOLATION_FILTER_INVALID
};
enum class AV1TxMode
{
eOnly4X4 = STD_VIDEO_AV1_TX_MODE_ONLY_4X4,
eLargest = STD_VIDEO_AV1_TX_MODE_LARGEST,
eSelect = STD_VIDEO_AV1_TX_MODE_SELECT,
eInvalid = STD_VIDEO_AV1_TX_MODE_INVALID
};
enum class AV1FrameRestorationType
{
eNone = STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_NONE,
eWiener = STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_WIENER,
eSgrproj = STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_SGRPROJ,
eSwitchable = STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_SWITCHABLE,
eInvalid = STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_INVALID
};
enum class AV1ColorPrimaries
{
eBt709 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_709,
eBtUnspecified = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED,
eBt470M = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_M,
eBt470BG = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_B_G,
eBt601 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_601,
eSmpte240 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_240,
eGenericFilm = STD_VIDEO_AV1_COLOR_PRIMARIES_GENERIC_FILM,
eBt2020 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_2020,
eXyz = STD_VIDEO_AV1_COLOR_PRIMARIES_XYZ,
eSmpte431 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_431,
eSmpte432 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432,
eEbu3213 = STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213,
eInvalid = STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID
};
enum class AV1TransferCharacteristics
{
eReserved0 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_RESERVED_0,
eBt709 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_709,
eUnspecified = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_UNSPECIFIED,
eReserved3 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_RESERVED_3,
eBt470M = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_470_M,
eBt470BG = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_470_B_G,
eBt601 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_601,
eSmpte240 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_240,
eLinear = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LINEAR,
eLog100 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LOG_100,
eLog100Sqrt10 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LOG_100_SQRT10,
eIec61966 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_IEC_61966,
eBt1361 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_1361,
eSrgb = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SRGB,
eBt2020_10Bit = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_2020_10_BIT,
eBt2020_12Bit = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_2020_12_BIT,
eSmpte2084 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_2084,
eSmpte428 = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_428,
eHlg = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_HLG,
eInvalid = STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_INVALID
};
enum class AV1MatrixCoefficients
{
eIdentity = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_IDENTITY,
eBt709 = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_709,
eUnspecified = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_UNSPECIFIED,
eReserved3 = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_RESERVED_3,
eFcc = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_FCC,
eBt470BG = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_470_B_G,
eBt601 = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_601,
eSmpte240 = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_240,
eSmpteYcgco = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_YCGCO,
eBt2020Ncl = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_NCL,
eBt2020Cl = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_CL,
eSmpte2085 = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_2085,
eChromatNcl = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_NCL,
eChromatCl = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_CL,
eIctcp = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_ICTCP,
eInvalid = STD_VIDEO_AV1_MATRIX_COEFFICIENTS_INVALID
};
enum class AV1ChromaSamplePosition
{
eUnknown = STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_UNKNOWN,
eVertical = STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_VERTICAL,
eColocated = STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_COLOCATED,
eReserved = STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_RESERVED,
eInvalid = STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_INVALID
};
//===============
//=== STRUCTS ===
//===============
//=== vulkan_video_codec_h264std ===
struct H264SpsVuiFlags
{
using NativeType = StdVideoH264SpsVuiFlags;
operator StdVideoH264SpsVuiFlags const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264SpsVuiFlags *>( this );
}
operator StdVideoH264SpsVuiFlags &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264SpsVuiFlags *>( this );
}
bool operator==( H264SpsVuiFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( aspect_ratio_info_present_flag == rhs.aspect_ratio_info_present_flag ) && ( overscan_info_present_flag == rhs.overscan_info_present_flag ) &&
( overscan_appropriate_flag == rhs.overscan_appropriate_flag ) && ( video_signal_type_present_flag == rhs.video_signal_type_present_flag ) &&
( video_full_range_flag == rhs.video_full_range_flag ) && ( color_description_present_flag == rhs.color_description_present_flag ) &&
( chroma_loc_info_present_flag == rhs.chroma_loc_info_present_flag ) && ( timing_info_present_flag == rhs.timing_info_present_flag ) &&
( fixed_frame_rate_flag == rhs.fixed_frame_rate_flag ) && ( bitstream_restriction_flag == rhs.bitstream_restriction_flag ) &&
( nal_hrd_parameters_present_flag == rhs.nal_hrd_parameters_present_flag ) &&
( vcl_hrd_parameters_present_flag == rhs.vcl_hrd_parameters_present_flag );
}
bool operator!=( H264SpsVuiFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint32_t aspect_ratio_info_present_flag : 1;
uint32_t overscan_info_present_flag : 1;
uint32_t overscan_appropriate_flag : 1;
uint32_t video_signal_type_present_flag : 1;
uint32_t video_full_range_flag : 1;
uint32_t color_description_present_flag : 1;
uint32_t chroma_loc_info_present_flag : 1;
uint32_t timing_info_present_flag : 1;
uint32_t fixed_frame_rate_flag : 1;
uint32_t bitstream_restriction_flag : 1;
uint32_t nal_hrd_parameters_present_flag : 1;
uint32_t vcl_hrd_parameters_present_flag : 1;
};
struct H264HrdParameters
{
using NativeType = StdVideoH264HrdParameters;
operator StdVideoH264HrdParameters const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264HrdParameters *>( this );
}
operator StdVideoH264HrdParameters &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264HrdParameters *>( this );
}
bool operator==( H264HrdParameters const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( cpb_cnt_minus1 == rhs.cpb_cnt_minus1 ) && ( bit_rate_scale == rhs.bit_rate_scale ) && ( cpb_size_scale == rhs.cpb_size_scale ) &&
( reserved1 == rhs.reserved1 ) && ( bit_rate_value_minus1 == rhs.bit_rate_value_minus1 ) &&
( cpb_size_value_minus1 == rhs.cpb_size_value_minus1 ) && ( cbr_flag == rhs.cbr_flag ) &&
( initial_cpb_removal_delay_length_minus1 == rhs.initial_cpb_removal_delay_length_minus1 ) &&
( cpb_removal_delay_length_minus1 == rhs.cpb_removal_delay_length_minus1 ) &&
( dpb_output_delay_length_minus1 == rhs.dpb_output_delay_length_minus1 ) && ( time_offset_length == rhs.time_offset_length );
}
bool operator!=( H264HrdParameters const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint8_t cpb_cnt_minus1 = {};
uint8_t bit_rate_scale = {};
uint8_t cpb_size_scale = {};
uint8_t reserved1 = {};
VULKAN_HPP_NAMESPACE::ArrayWrapper1D<uint32_t, STD_VIDEO_H264_CPB_CNT_LIST_SIZE> bit_rate_value_minus1 = {};
VULKAN_HPP_NAMESPACE::ArrayWrapper1D<uint32_t, STD_VIDEO_H264_CPB_CNT_LIST_SIZE> cpb_size_value_minus1 = {};
VULKAN_HPP_NAMESPACE::ArrayWrapper1D<uint8_t, STD_VIDEO_H264_CPB_CNT_LIST_SIZE> cbr_flag = {};
uint32_t initial_cpb_removal_delay_length_minus1 = {};
uint32_t cpb_removal_delay_length_minus1 = {};
uint32_t dpb_output_delay_length_minus1 = {};
uint32_t time_offset_length = {};
};
struct H264SequenceParameterSetVui
{
using NativeType = StdVideoH264SequenceParameterSetVui;
operator StdVideoH264SequenceParameterSetVui const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264SequenceParameterSetVui *>( this );
}
operator StdVideoH264SequenceParameterSetVui &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264SequenceParameterSetVui *>( this );
}
bool operator==( H264SequenceParameterSetVui const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( flags == rhs.flags ) && ( aspect_ratio_idc == rhs.aspect_ratio_idc ) && ( sar_width == rhs.sar_width ) && ( sar_height == rhs.sar_height ) &&
( video_format == rhs.video_format ) && ( colour_primaries == rhs.colour_primaries ) &&
( transfer_characteristics == rhs.transfer_characteristics ) && ( matrix_coefficients == rhs.matrix_coefficients ) &&
( num_units_in_tick == rhs.num_units_in_tick ) && ( time_scale == rhs.time_scale ) && ( max_num_reorder_frames == rhs.max_num_reorder_frames ) &&
( max_dec_frame_buffering == rhs.max_dec_frame_buffering ) && ( chroma_sample_loc_type_top_field == rhs.chroma_sample_loc_type_top_field ) &&
( chroma_sample_loc_type_bottom_field == rhs.chroma_sample_loc_type_bottom_field ) && ( reserved1 == rhs.reserved1 ) &&
( pHrdParameters == rhs.pHrdParameters );
}
bool operator!=( H264SequenceParameterSetVui const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264SpsVuiFlags flags = {};
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264AspectRatioIdc aspect_ratio_idc =
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264AspectRatioIdc::eUnspecified;
uint16_t sar_width = {};
uint16_t sar_height = {};
uint8_t video_format = {};
uint8_t colour_primaries = {};
uint8_t transfer_characteristics = {};
uint8_t matrix_coefficients = {};
uint32_t num_units_in_tick = {};
uint32_t time_scale = {};
uint8_t max_num_reorder_frames = {};
uint8_t max_dec_frame_buffering = {};
uint8_t chroma_sample_loc_type_top_field = {};
uint8_t chroma_sample_loc_type_bottom_field = {};
uint32_t reserved1 = {};
const VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264HrdParameters * pHrdParameters = {};
};
struct H264SpsFlags
{
using NativeType = StdVideoH264SpsFlags;
operator StdVideoH264SpsFlags const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264SpsFlags *>( this );
}
operator StdVideoH264SpsFlags &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264SpsFlags *>( this );
}
bool operator==( H264SpsFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( constraint_set0_flag == rhs.constraint_set0_flag ) && ( constraint_set1_flag == rhs.constraint_set1_flag ) &&
( constraint_set2_flag == rhs.constraint_set2_flag ) && ( constraint_set3_flag == rhs.constraint_set3_flag ) &&
( constraint_set4_flag == rhs.constraint_set4_flag ) && ( constraint_set5_flag == rhs.constraint_set5_flag ) &&
( direct_8x8_inference_flag == rhs.direct_8x8_inference_flag ) && ( mb_adaptive_frame_field_flag == rhs.mb_adaptive_frame_field_flag ) &&
( frame_mbs_only_flag == rhs.frame_mbs_only_flag ) && ( delta_pic_order_always_zero_flag == rhs.delta_pic_order_always_zero_flag ) &&
( separate_colour_plane_flag == rhs.separate_colour_plane_flag ) &&
( gaps_in_frame_num_value_allowed_flag == rhs.gaps_in_frame_num_value_allowed_flag ) &&
( qpprime_y_zero_transform_bypass_flag == rhs.qpprime_y_zero_transform_bypass_flag ) && ( frame_cropping_flag == rhs.frame_cropping_flag ) &&
( seq_scaling_matrix_present_flag == rhs.seq_scaling_matrix_present_flag ) && ( vui_parameters_present_flag == rhs.vui_parameters_present_flag );
}
bool operator!=( H264SpsFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint32_t constraint_set0_flag : 1;
uint32_t constraint_set1_flag : 1;
uint32_t constraint_set2_flag : 1;
uint32_t constraint_set3_flag : 1;
uint32_t constraint_set4_flag : 1;
uint32_t constraint_set5_flag : 1;
uint32_t direct_8x8_inference_flag : 1;
uint32_t mb_adaptive_frame_field_flag : 1;
uint32_t frame_mbs_only_flag : 1;
uint32_t delta_pic_order_always_zero_flag : 1;
uint32_t separate_colour_plane_flag : 1;
uint32_t gaps_in_frame_num_value_allowed_flag : 1;
uint32_t qpprime_y_zero_transform_bypass_flag : 1;
uint32_t frame_cropping_flag : 1;
uint32_t seq_scaling_matrix_present_flag : 1;
uint32_t vui_parameters_present_flag : 1;
};
struct H264ScalingLists
{
using NativeType = StdVideoH264ScalingLists;
operator StdVideoH264ScalingLists const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264ScalingLists *>( this );
}
operator StdVideoH264ScalingLists &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264ScalingLists *>( this );
}
bool operator==( H264ScalingLists const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( scaling_list_present_mask == rhs.scaling_list_present_mask ) && ( use_default_scaling_matrix_mask == rhs.use_default_scaling_matrix_mask ) &&
( ScalingList4x4 == rhs.ScalingList4x4 ) && ( ScalingList8x8 == rhs.ScalingList8x8 );
}
bool operator!=( H264ScalingLists const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint16_t scaling_list_present_mask = {};
uint16_t use_default_scaling_matrix_mask = {};
VULKAN_HPP_NAMESPACE::ArrayWrapper2D<uint8_t, STD_VIDEO_H264_SCALING_LIST_4X4_NUM_LISTS, STD_VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS>
ScalingList4x4 = {};
VULKAN_HPP_NAMESPACE::ArrayWrapper2D<uint8_t, STD_VIDEO_H264_SCALING_LIST_8X8_NUM_LISTS, STD_VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS>
ScalingList8x8 = {};
};
struct H264SequenceParameterSet
{
using NativeType = StdVideoH264SequenceParameterSet;
operator StdVideoH264SequenceParameterSet const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264SequenceParameterSet *>( this );
}
operator StdVideoH264SequenceParameterSet &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264SequenceParameterSet *>( this );
}
bool operator==( H264SequenceParameterSet const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( flags == rhs.flags ) && ( profile_idc == rhs.profile_idc ) && ( level_idc == rhs.level_idc ) &&
( chroma_format_idc == rhs.chroma_format_idc ) && ( seq_parameter_set_id == rhs.seq_parameter_set_id ) &&
( bit_depth_luma_minus8 == rhs.bit_depth_luma_minus8 ) && ( bit_depth_chroma_minus8 == rhs.bit_depth_chroma_minus8 ) &&
( log2_max_frame_num_minus4 == rhs.log2_max_frame_num_minus4 ) && ( pic_order_cnt_type == rhs.pic_order_cnt_type ) &&
( offset_for_non_ref_pic == rhs.offset_for_non_ref_pic ) && ( offset_for_top_to_bottom_field == rhs.offset_for_top_to_bottom_field ) &&
( log2_max_pic_order_cnt_lsb_minus4 == rhs.log2_max_pic_order_cnt_lsb_minus4 ) &&
( num_ref_frames_in_pic_order_cnt_cycle == rhs.num_ref_frames_in_pic_order_cnt_cycle ) && ( max_num_ref_frames == rhs.max_num_ref_frames ) &&
( reserved1 == rhs.reserved1 ) && ( pic_width_in_mbs_minus1 == rhs.pic_width_in_mbs_minus1 ) &&
( pic_height_in_map_units_minus1 == rhs.pic_height_in_map_units_minus1 ) && ( frame_crop_left_offset == rhs.frame_crop_left_offset ) &&
( frame_crop_right_offset == rhs.frame_crop_right_offset ) && ( frame_crop_top_offset == rhs.frame_crop_top_offset ) &&
( frame_crop_bottom_offset == rhs.frame_crop_bottom_offset ) && ( reserved2 == rhs.reserved2 ) &&
( pOffsetForRefFrame == rhs.pOffsetForRefFrame ) && ( pScalingLists == rhs.pScalingLists ) &&
( pSequenceParameterSetVui == rhs.pSequenceParameterSetVui );
}
bool operator!=( H264SequenceParameterSet const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264SpsFlags flags = {};
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264ProfileIdc profile_idc =
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264ProfileIdc::eBaseline;
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264LevelIdc level_idc = VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264LevelIdc::e1_0;
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264ChromaFormatIdc chroma_format_idc =
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264ChromaFormatIdc::eMonochrome;
uint8_t seq_parameter_set_id = {};
uint8_t bit_depth_luma_minus8 = {};
uint8_t bit_depth_chroma_minus8 = {};
uint8_t log2_max_frame_num_minus4 = {};
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264PocType pic_order_cnt_type = VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264PocType::e0;
int32_t offset_for_non_ref_pic = {};
int32_t offset_for_top_to_bottom_field = {};
uint8_t log2_max_pic_order_cnt_lsb_minus4 = {};
uint8_t num_ref_frames_in_pic_order_cnt_cycle = {};
uint8_t max_num_ref_frames = {};
uint8_t reserved1 = {};
uint32_t pic_width_in_mbs_minus1 = {};
uint32_t pic_height_in_map_units_minus1 = {};
uint32_t frame_crop_left_offset = {};
uint32_t frame_crop_right_offset = {};
uint32_t frame_crop_top_offset = {};
uint32_t frame_crop_bottom_offset = {};
uint32_t reserved2 = {};
const int32_t * pOffsetForRefFrame = {};
const VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264ScalingLists * pScalingLists = {};
const VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264SequenceParameterSetVui * pSequenceParameterSetVui = {};
};
struct H264PpsFlags
{
using NativeType = StdVideoH264PpsFlags;
operator StdVideoH264PpsFlags const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264PpsFlags *>( this );
}
operator StdVideoH264PpsFlags &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264PpsFlags *>( this );
}
bool operator==( H264PpsFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( transform_8x8_mode_flag == rhs.transform_8x8_mode_flag ) && ( redundant_pic_cnt_present_flag == rhs.redundant_pic_cnt_present_flag ) &&
( constrained_intra_pred_flag == rhs.constrained_intra_pred_flag ) &&
( deblocking_filter_control_present_flag == rhs.deblocking_filter_control_present_flag ) && ( weighted_pred_flag == rhs.weighted_pred_flag ) &&
( bottom_field_pic_order_in_frame_present_flag == rhs.bottom_field_pic_order_in_frame_present_flag ) &&
( entropy_coding_mode_flag == rhs.entropy_coding_mode_flag ) && ( pic_scaling_matrix_present_flag == rhs.pic_scaling_matrix_present_flag );
}
bool operator!=( H264PpsFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint32_t transform_8x8_mode_flag : 1;
uint32_t redundant_pic_cnt_present_flag : 1;
uint32_t constrained_intra_pred_flag : 1;
uint32_t deblocking_filter_control_present_flag : 1;
uint32_t weighted_pred_flag : 1;
uint32_t bottom_field_pic_order_in_frame_present_flag : 1;
uint32_t entropy_coding_mode_flag : 1;
uint32_t pic_scaling_matrix_present_flag : 1;
};
struct H264PictureParameterSet
{
using NativeType = StdVideoH264PictureParameterSet;
operator StdVideoH264PictureParameterSet const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoH264PictureParameterSet *>( this );
}
operator StdVideoH264PictureParameterSet &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoH264PictureParameterSet *>( this );
}
bool operator==( H264PictureParameterSet const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( flags == rhs.flags ) && ( seq_parameter_set_id == rhs.seq_parameter_set_id ) && ( pic_parameter_set_id == rhs.pic_parameter_set_id ) &&
( num_ref_idx_l0_default_active_minus1 == rhs.num_ref_idx_l0_default_active_minus1 ) &&
( num_ref_idx_l1_default_active_minus1 == rhs.num_ref_idx_l1_default_active_minus1 ) && ( weighted_bipred_idc == rhs.weighted_bipred_idc ) &&
( pic_init_qp_minus26 == rhs.pic_init_qp_minus26 ) && ( pic_init_qs_minus26 == rhs.pic_init_qs_minus26 ) &&
( chroma_qp_index_offset == rhs.chroma_qp_index_offset ) && ( second_chroma_qp_index_offset == rhs.second_chroma_qp_index_offset ) &&
( pScalingLists == rhs.pScalingLists );
}
bool operator!=( H264PictureParameterSet const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264PpsFlags flags = {};
uint8_t seq_parameter_set_id = {};
uint8_t pic_parameter_set_id = {};
uint8_t num_ref_idx_l0_default_active_minus1 = {};
uint8_t num_ref_idx_l1_default_active_minus1 = {};
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264WeightedBipredIdc weighted_bipred_idc =
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264WeightedBipredIdc::eDefault;
int8_t pic_init_qp_minus26 = {};
int8_t pic_init_qs_minus26 = {};
int8_t chroma_qp_index_offset = {};
int8_t second_chroma_qp_index_offset = {};
const VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::H264ScalingLists * pScalingLists = {};
};
//=== vulkan_video_codec_h264std_decode ===
struct DecodeH264PictureInfoFlags
{
using NativeType = StdVideoDecodeH264PictureInfoFlags;
operator StdVideoDecodeH264PictureInfoFlags const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoDecodeH264PictureInfoFlags *>( this );
}
operator StdVideoDecodeH264PictureInfoFlags &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoDecodeH264PictureInfoFlags *>( this );
}
bool operator==( DecodeH264PictureInfoFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( field_pic_flag == rhs.field_pic_flag ) && ( is_intra == rhs.is_intra ) && ( IdrPicFlag == rhs.IdrPicFlag ) &&
( bottom_field_flag == rhs.bottom_field_flag ) && ( is_reference == rhs.is_reference ) &&
( complementary_field_pair == rhs.complementary_field_pair );
}
bool operator!=( DecodeH264PictureInfoFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint32_t field_pic_flag : 1;
uint32_t is_intra : 1;
uint32_t IdrPicFlag : 1;
uint32_t bottom_field_flag : 1;
uint32_t is_reference : 1;
uint32_t complementary_field_pair : 1;
};
struct DecodeH264PictureInfo
{
using NativeType = StdVideoDecodeH264PictureInfo;
operator StdVideoDecodeH264PictureInfo const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoDecodeH264PictureInfo *>( this );
}
operator StdVideoDecodeH264PictureInfo &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoDecodeH264PictureInfo *>( this );
}
bool operator==( DecodeH264PictureInfo const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( flags == rhs.flags ) && ( seq_parameter_set_id == rhs.seq_parameter_set_id ) && ( pic_parameter_set_id == rhs.pic_parameter_set_id ) &&
( reserved1 == rhs.reserved1 ) && ( reserved2 == rhs.reserved2 ) && ( frame_num == rhs.frame_num ) && ( idr_pic_id == rhs.idr_pic_id ) &&
( PicOrderCnt == rhs.PicOrderCnt );
}
bool operator!=( DecodeH264PictureInfo const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::DecodeH264PictureInfoFlags flags = {};
uint8_t seq_parameter_set_id = {};
uint8_t pic_parameter_set_id = {};
uint8_t reserved1 = {};
uint8_t reserved2 = {};
uint16_t frame_num = {};
uint16_t idr_pic_id = {};
VULKAN_HPP_NAMESPACE::ArrayWrapper1D<int32_t, STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE> PicOrderCnt = {};
};
struct DecodeH264ReferenceInfoFlags
{
using NativeType = StdVideoDecodeH264ReferenceInfoFlags;
operator StdVideoDecodeH264ReferenceInfoFlags const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoDecodeH264ReferenceInfoFlags *>( this );
}
operator StdVideoDecodeH264ReferenceInfoFlags &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoDecodeH264ReferenceInfoFlags *>( this );
}
bool operator==( DecodeH264ReferenceInfoFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( top_field_flag == rhs.top_field_flag ) && ( bottom_field_flag == rhs.bottom_field_flag ) &&
( used_for_long_term_reference == rhs.used_for_long_term_reference ) && ( is_non_existing == rhs.is_non_existing );
}
bool operator!=( DecodeH264ReferenceInfoFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint32_t top_field_flag : 1;
uint32_t bottom_field_flag : 1;
uint32_t used_for_long_term_reference : 1;
uint32_t is_non_existing : 1;
};
struct DecodeH264ReferenceInfo
{
using NativeType = StdVideoDecodeH264ReferenceInfo;
operator StdVideoDecodeH264ReferenceInfo const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoDecodeH264ReferenceInfo *>( this );
}
operator StdVideoDecodeH264ReferenceInfo &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoDecodeH264ReferenceInfo *>( this );
}
bool operator==( DecodeH264ReferenceInfo const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( flags == rhs.flags ) && ( FrameNum == rhs.FrameNum ) && ( reserved == rhs.reserved ) && ( PicOrderCnt == rhs.PicOrderCnt );
}
bool operator!=( DecodeH264ReferenceInfo const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
VULKAN_HPP_NAMESPACE::VULKAN_HPP_VIDEO_NAMESPACE::DecodeH264ReferenceInfoFlags flags = {};
uint16_t FrameNum = {};
uint16_t reserved = {};
VULKAN_HPP_NAMESPACE::ArrayWrapper1D<int32_t, STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE> PicOrderCnt = {};
};
//=== vulkan_video_codec_h264std_encode ===
struct EncodeH264WeightTableFlags
{
using NativeType = StdVideoEncodeH264WeightTableFlags;
operator StdVideoEncodeH264WeightTableFlags const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoEncodeH264WeightTableFlags *>( this );
}
operator StdVideoEncodeH264WeightTableFlags &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoEncodeH264WeightTableFlags *>( this );
}
bool operator==( EncodeH264WeightTableFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( luma_weight_l0_flag == rhs.luma_weight_l0_flag ) && ( chroma_weight_l0_flag == rhs.chroma_weight_l0_flag ) &&
( luma_weight_l1_flag == rhs.luma_weight_l1_flag ) && ( chroma_weight_l1_flag == rhs.chroma_weight_l1_flag );
}
bool operator!=( EncodeH264WeightTableFlags const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return !operator==( rhs );
}
public:
uint32_t luma_weight_l0_flag = {};
uint32_t chroma_weight_l0_flag = {};
uint32_t luma_weight_l1_flag = {};
uint32_t chroma_weight_l1_flag = {};
};
struct EncodeH264WeightTable
{
using NativeType = StdVideoEncodeH264WeightTable;
operator StdVideoEncodeH264WeightTable const &() const VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<const StdVideoEncodeH264WeightTable *>( this );
}
operator StdVideoEncodeH264WeightTable &() VULKAN_HPP_NOEXCEPT
{
return *reinterpret_cast<StdVideoEncodeH264WeightTable *>( this );
}
bool operator==( EncodeH264WeightTable const & rhs ) const VULKAN_HPP_NOEXCEPT
{
return ( flags == rhs.flags ) && ( luma_log2_weight_denom == rhs.luma_log2_weight_denom ) &&
( chroma_log2_weight_denom == rhs.chroma_log2_weight_denom ) && ( luma_weight_l0 == rhs.luma_weight_l0 ) &&
( luma_offset_l0 == rhs.luma_offset_l0 ) && ( chroma_weight_l0 == rhs.chroma_weight_l0 ) && ( chroma_offset_l0 == rhs.chroma_offset_l0 ) &&
( luma_weight_l1 == rhs.luma_weight_l1 ) && ( luma_offset_l1 == rhs.luma_offset_l1 ) && ( chroma_weight_l1 == rhs.chroma_weight_l1 ) &&
( chroma_offset_l1 == rhs.chroma_offset_l1 );
}