This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
/
Enumerations.cs
2295 lines (2043 loc) · 136 KB
/
Enumerations.cs
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 (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//------------------------------------------------------------------------------
// <auto-generated>
// Types declaration for SharpDX.MediaFoundation.DirectX namespace.
// This code was generated by a tool.
// Date : 6/17/2016 5:56:05 PM
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace SharpDX.MediaFoundation.DirectX {
#pragma warning disable 419
#pragma warning disable 1587
#pragma warning disable 1574
/// <summary>
/// <p>Specifies how the output alpha values are calculated for Microsoft DirectX Video Acceleration High Definition (DXVA-HD) blit operations.</p>
/// </summary>
/// <remarks>
/// <p>The <strong>Mode</strong> member of the <strong><see cref="SharpDX.MediaFoundation.DirectX.BlitStateAlphaFillData"/></strong> structure has this enumeration type. That member specifies the alpha-fill mode for the input stream identified by the <strong>StreamNumber</strong> member of the same structure. To set the alpha-fill mode, call <strong><see cref="SharpDX.MediaFoundation.DirectX.HDVideoProcessor.SetVideoProcessBltState"/></strong>.</p><p>To find out which modes the device supports, call the <strong><see cref="SharpDX.MediaFoundation.DirectX.HDDevice.GetVideoProcessorDeviceCaps"/></strong> method. If the device sets the <strong><see cref="SharpDX.MediaFoundation.DirectX.FeatureCaps.AlphaFill"/></strong> flag in the <strong>FeatureCaps</strong> member of the <strong><see cref="SharpDX.MediaFoundation.DirectX.Vpdevcaps"/></strong> structure, the DXVA-HD device supports any of the modes listed here. Otherwise, the alpha-fill mode must be <strong><see cref="SharpDX.MediaFoundation.DirectX.AlphaFillMode.Opaque"/></strong>.</p>
/// </remarks>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ALPHA_FILL_MODE']/*"/>
/// <msdn-id>dd318388</msdn-id>
/// <unmanaged>DXVAHD_ALPHA_FILL_MODE</unmanaged>
/// <unmanaged-short>DXVAHD_ALPHA_FILL_MODE</unmanaged-short>
public enum AlphaFillMode : int {
/// <summary>
/// <dd> <p>Alpha values inside the target rectangle are set to opaque.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ALPHA_FILL_MODE_OPAQUE']/*"/>
/// <msdn-id>dd318388</msdn-id>
/// <unmanaged>DXVAHD_ALPHA_FILL_MODE_OPAQUE</unmanaged>
/// <unmanaged-short>DXVAHD_ALPHA_FILL_MODE_OPAQUE</unmanaged-short>
Opaque = unchecked((int)0),
/// <summary>
/// <dd> <p>Alpha values inside the target rectangle are set to the alpha value specified in the background color. See <strong><see cref="SharpDX.MediaFoundation.DirectX.BlitState.BackgroundColor"/></strong>.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ALPHA_FILL_MODE_BACKGROUND']/*"/>
/// <msdn-id>dd318388</msdn-id>
/// <unmanaged>DXVAHD_ALPHA_FILL_MODE_BACKGROUND</unmanaged>
/// <unmanaged-short>DXVAHD_ALPHA_FILL_MODE_BACKGROUND</unmanaged-short>
Background = unchecked((int)1),
/// <summary>
/// <dd> <p>Existing alpha values remain unchanged in the output surface.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ALPHA_FILL_MODE_DESTINATION']/*"/>
/// <msdn-id>dd318388</msdn-id>
/// <unmanaged>DXVAHD_ALPHA_FILL_MODE_DESTINATION</unmanaged>
/// <unmanaged-short>DXVAHD_ALPHA_FILL_MODE_DESTINATION</unmanaged-short>
Destination = unchecked((int)2),
/// <summary>
/// <dd> <p>Alpha values from the input stream are scaled and copied to the corresponding destination rectangle for that stream. If the input stream does not have alpha data, the DXVA-HD device sets the alpha values in the target rectangle to an opaque value. If the input stream is disabled or the source rectangle is empty, the alpha values in the target rectangle are not modified.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ALPHA_FILL_MODE_SOURCE_STREAM']/*"/>
/// <msdn-id>dd318388</msdn-id>
/// <unmanaged>DXVAHD_ALPHA_FILL_MODE_SOURCE_STREAM</unmanaged>
/// <unmanaged-short>DXVAHD_ALPHA_FILL_MODE_SOURCE_STREAM</unmanaged-short>
SourceStream = unchecked((int)3),
}
/// <summary>
/// <p>Specifies state parameters for blit operations when using Microsoft DirectX Video Acceleration High Definition (DXVA-HD).</p><p>To set a state parameter, call the <strong><see cref="SharpDX.MediaFoundation.DirectX.HDVideoProcessor.SetVideoProcessBltState"/></strong> method. This method takes a <strong><see cref="SharpDX.MediaFoundation.DirectX.BlitState"/></strong> value and a byte array as input. The byte array contains state data, the structure of which is defined by the <strong><see cref="SharpDX.MediaFoundation.DirectX.BlitState"/></strong> value.</p>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_BLT_STATE']/*"/>
/// <msdn-id>dd318389</msdn-id>
/// <unmanaged>DXVAHD_BLT_STATE</unmanaged>
/// <unmanaged-short>DXVAHD_BLT_STATE</unmanaged-short>
public enum BlitState : int {
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_BLT_STATE_TARGET_RECT']/*"/>
/// <msdn-id>dd318389</msdn-id>
/// <unmanaged>DXVAHD_BLT_STATE_TARGET_RECT</unmanaged>
/// <unmanaged-short>DXVAHD_BLT_STATE_TARGET_RECT</unmanaged-short>
TargetRectangle = unchecked((int)0),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_BLT_STATE_BACKGROUND_COLOR']/*"/>
/// <msdn-id>dd318389</msdn-id>
/// <unmanaged>DXVAHD_BLT_STATE_BACKGROUND_COLOR</unmanaged>
/// <unmanaged-short>DXVAHD_BLT_STATE_BACKGROUND_COLOR</unmanaged-short>
BackgroundColor = unchecked((int)1),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE']/*"/>
/// <msdn-id>dd318389</msdn-id>
/// <unmanaged>DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE</unmanaged>
/// <unmanaged-short>DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE</unmanaged-short>
OutputColorSpace = unchecked((int)2),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_BLT_STATE_ALPHA_FILL']/*"/>
/// <msdn-id>dd318389</msdn-id>
/// <unmanaged>DXVAHD_BLT_STATE_ALPHA_FILL</unmanaged>
/// <unmanaged-short>DXVAHD_BLT_STATE_ALPHA_FILL</unmanaged-short>
AlphaFill = unchecked((int)3),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_BLT_STATE_CONSTRICTION']/*"/>
/// <msdn-id>dd318389</msdn-id>
/// <unmanaged>DXVAHD_BLT_STATE_CONSTRICTION</unmanaged>
/// <unmanaged-short>DXVAHD_BLT_STATE_CONSTRICTION</unmanaged-short>
Constriction = unchecked((int)4),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_BLT_STATE_PRIVATE']/*"/>
/// <msdn-id>dd318389</msdn-id>
/// <unmanaged>DXVAHD_BLT_STATE_PRIVATE</unmanaged>
/// <unmanaged-short>DXVAHD_BLT_STATE_PRIVATE</unmanaged-short>
Private = unchecked((int)1000),
}
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='__MIDL___MIDL_itf_dxva2api_0000_0000_0012']/*"/>
/// <unmanaged>__MIDL___MIDL_itf_dxva2api_0000_0000_0012</unmanaged>
/// <unmanaged-short>__MIDL___MIDL_itf_dxva2api_0000_0000_0012</unmanaged-short>
public enum CompressedBufferType : int {
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_PictureParametersBufferType']/*"/>
/// <unmanaged>DXVA2_PictureParametersBufferType</unmanaged>
/// <unmanaged-short>DXVA2_PictureParametersBufferType</unmanaged-short>
PictureParameters = unchecked((int)0),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_MacroBlockControlBufferType']/*"/>
/// <unmanaged>DXVA2_MacroBlockControlBufferType</unmanaged>
/// <unmanaged-short>DXVA2_MacroBlockControlBufferType</unmanaged-short>
MacroBlockControl = unchecked((int)1),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_ResidualDifferenceBufferType']/*"/>
/// <unmanaged>DXVA2_ResidualDifferenceBufferType</unmanaged>
/// <unmanaged-short>DXVA2_ResidualDifferenceBufferType</unmanaged-short>
ResidualDifference = unchecked((int)2),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeblockingControlBufferType']/*"/>
/// <unmanaged>DXVA2_DeblockingControlBufferType</unmanaged>
/// <unmanaged-short>DXVA2_DeblockingControlBufferType</unmanaged-short>
DeblockingControl = unchecked((int)3),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_InverseQuantizationMatrixBufferType']/*"/>
/// <unmanaged>DXVA2_InverseQuantizationMatrixBufferType</unmanaged>
/// <unmanaged-short>DXVA2_InverseQuantizationMatrixBufferType</unmanaged-short>
InverseQuantizationMatrix = unchecked((int)4),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_SliceControlBufferType']/*"/>
/// <unmanaged>DXVA2_SliceControlBufferType</unmanaged>
/// <unmanaged-short>DXVA2_SliceControlBufferType</unmanaged-short>
SliceControl = unchecked((int)5),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_BitStreamDateBufferType']/*"/>
/// <unmanaged>DXVA2_BitStreamDateBufferType</unmanaged>
/// <unmanaged-short>DXVA2_BitStreamDateBufferType</unmanaged-short>
BitStreamDate = unchecked((int)6),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_MotionVectorBuffer']/*"/>
/// <unmanaged>DXVA2_MotionVectorBuffer</unmanaged>
/// <unmanaged-short>DXVA2_MotionVectorBuffer</unmanaged-short>
Dxva2MotionVectorBuffer = unchecked((int)7),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_FilmGrainBuffer']/*"/>
/// <unmanaged>DXVA2_FilmGrainBuffer</unmanaged>
/// <unmanaged-short>DXVA2_FilmGrainBuffer</unmanaged-short>
Dxva2FilmGrainBuffer = unchecked((int)8),
}
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='__MIDL___MIDL_itf_dxva2api_0000_0000_0003']/*"/>
/// <unmanaged>__MIDL___MIDL_itf_dxva2api_0000_0000_0003</unmanaged>
/// <unmanaged-short>__MIDL___MIDL_itf_dxva2api_0000_0000_0003</unmanaged-short>
public enum DeinterlaceTechnology : int {
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_Unknown']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_Unknown</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_Unknown</unmanaged-short>
Unknown = unchecked((int)0),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_BOBLineReplicate']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_BOBLineReplicate</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_BOBLineReplicate</unmanaged-short>
BOBLineReplicate = unchecked((int)1),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_BOBVerticalStretch']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_BOBVerticalStretch</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_BOBVerticalStretch</unmanaged-short>
BOBVerticalStretch = unchecked((int)2),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_BOBVerticalStretch4Tap']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_BOBVerticalStretch4Tap</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_BOBVerticalStretch4Tap</unmanaged-short>
BOBVerticalStretch4Tap = unchecked((int)4),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_MedianFiltering']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_MedianFiltering</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_MedianFiltering</unmanaged-short>
MedianFiltering = unchecked((int)8),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_EdgeFiltering']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_EdgeFiltering</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_EdgeFiltering</unmanaged-short>
EdgeFiltering = unchecked((int)16),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_FieldAdaptive']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_FieldAdaptive</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_FieldAdaptive</unmanaged-short>
FieldAdaptive = unchecked((int)32),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_PixelAdaptive']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_PixelAdaptive</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_PixelAdaptive</unmanaged-short>
PixelAdaptive = unchecked((int)64),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_MotionVectorSteered']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_MotionVectorSteered</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_MotionVectorSteered</unmanaged-short>
MotionVectorSteered = unchecked((int)128),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DeinterlaceTech_InverseTelecine']/*"/>
/// <unmanaged>DXVA2_DeinterlaceTech_InverseTelecine</unmanaged>
/// <unmanaged-short>DXVA2_DeinterlaceTech_InverseTelecine</unmanaged-short>
InverseTelecine = unchecked((int)256),
}
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='__MIDL___MIDL_itf_dxva2api_0000_0000_0006']/*"/>
/// <unmanaged>__MIDL___MIDL_itf_dxva2api_0000_0000_0006</unmanaged>
/// <unmanaged-short>__MIDL___MIDL_itf_dxva2api_0000_0000_0006</unmanaged-short>
public enum DetailFilterTechnology : int {
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterTech_Unsupported']/*"/>
/// <unmanaged>DXVA2_DetailFilterTech_Unsupported</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterTech_Unsupported</unmanaged-short>
DetailTechUnsupported = unchecked((int)0),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterTech_Unknown']/*"/>
/// <unmanaged>DXVA2_DetailFilterTech_Unknown</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterTech_Unknown</unmanaged-short>
DetailTechUnknown = unchecked((int)1),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterTech_Edge']/*"/>
/// <unmanaged>DXVA2_DetailFilterTech_Edge</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterTech_Edge</unmanaged-short>
DetailTechEdge = unchecked((int)2),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterTech_Sharpening']/*"/>
/// <unmanaged>DXVA2_DetailFilterTech_Sharpening</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterTech_Sharpening</unmanaged-short>
DetailTechSharpening = unchecked((int)4),
}
/// <summary>
/// <p>Defines video processing capabilities for a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.</p>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_CAPS']/*"/>
/// <msdn-id>dd318415</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_CAPS</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_CAPS</unmanaged-short>
public enum DeviceCaps : int {
/// <summary>
/// <dd> <p>The device can blend video content in linear color space. Most video content is gamma corrected, resulting in nonlinear values. If the DXVA-HD device sets this flag, it means the device converts colors to linear space before blending, which produces better results.
/// </p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_CAPS_LINEAR_SPACE']/*"/>
/// <msdn-id>dd318415</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_CAPS_LINEAR_SPACE</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_CAPS_LINEAR_SPACE</unmanaged-short>
LinearSpace = unchecked((int)1),
/// <summary>
/// <dd> <p>The device supports the xvYCC color space for YCbCr data.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_CAPS_xvYCC']/*"/>
/// <msdn-id>dd318415</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_CAPS_xvYCC</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_CAPS_xvYCC</unmanaged-short>
XvYCC = unchecked((int)2),
/// <summary>
/// <dd> <p>The device can perform range conversion when the input and output are both RGB but use different color ranges (0-255 or 16-235, for 8-bit RGB).</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_CAPS_RGB_RANGE_CONVERSION']/*"/>
/// <msdn-id>dd318415</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_CAPS_RGB_RANGE_CONVERSION</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_CAPS_RGB_RANGE_CONVERSION</unmanaged-short>
RgbRangeConversion = unchecked((int)4),
/// <summary>
/// <dd> <p>The device can apply a matrix conversion to YCbCr values when the input and output are both YCbCr. For example, the driver can convert colors from BT.601 to BT.709.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION']/*"/>
/// <msdn-id>dd318415</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION</unmanaged-short>
YCbCrMatrixConversion = unchecked((int)8),
}
/// <summary>
/// <p>Specifies the type of Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.</p>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_TYPE']/*"/>
/// <msdn-id>dd318417</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_TYPE</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_TYPE</unmanaged-short>
public enum DeviceType : int {
/// <summary>
/// <dd> <p>Hardware device. Video processing is performed in the GPU by the driver.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_TYPE_HARDWARE']/*"/>
/// <msdn-id>dd318417</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_TYPE_HARDWARE</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_TYPE_HARDWARE</unmanaged-short>
Hardware = unchecked((int)0),
/// <summary>
/// <dd> <p>Software device. Video processing is performed in the CPU by a software plug-in.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_TYPE_SOFTWARE']/*"/>
/// <msdn-id>dd318417</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_TYPE_SOFTWARE</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_TYPE_SOFTWARE</unmanaged-short>
Software = unchecked((int)1),
/// <summary>
/// <dd> <p>Reference device. Video processing is performed in the CPU by a software plug-in.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_TYPE_REFERENCE']/*"/>
/// <msdn-id>dd318417</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_TYPE_REFERENCE</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_TYPE_REFERENCE</unmanaged-short>
Reference = unchecked((int)2),
/// <summary>
/// <dd> <p>Other. The device is neither a hardware device nor a software plug-in.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_TYPE_OTHER']/*"/>
/// <msdn-id>dd318417</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_TYPE_OTHER</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_TYPE_OTHER</unmanaged-short>
Other = unchecked((int)3),
}
/// <summary>
/// <p>Specifies the intended use for a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.</p>
/// </summary>
/// <remarks>
/// <p>The graphics driver uses one of these enumeration constants as a hint when it creates the DXVA-HD device.</p>
/// </remarks>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_USAGE']/*"/>
/// <msdn-id>dd318420</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_USAGE</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_USAGE</unmanaged-short>
public enum DeviceUsage : int {
/// <summary>
/// <dd> <p>Normal video playback. The graphics driver should expose a set of capabilities that are appropriate for real-time video playback.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_USAGE_PLAYBACK_NORMAL']/*"/>
/// <msdn-id>dd318420</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_USAGE_PLAYBACK_NORMAL</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_USAGE_PLAYBACK_NORMAL</unmanaged-short>
PlaybackNormal = unchecked((int)0),
/// <summary>
/// <dd> <p>Optimal speed. The graphics driver should expose a minimal set of capabilities that are optimized for performance.</p> <p>Use this setting if you want better performance and can accept some reduction in video quality. For example, you might use this setting in power-saving mode or to play video thumbnails.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_USAGE_OPTIMAL_SPEED']/*"/>
/// <msdn-id>dd318420</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_USAGE_OPTIMAL_SPEED</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_USAGE_OPTIMAL_SPEED</unmanaged-short>
OptimalSpeed = unchecked((int)1),
/// <summary>
/// <dd> <p>Optimal quality. The grahics driver should expose its maximum set of capabilities.</p> <p>Specify this setting to get the best video quality possible. It is appropriate for tasks such as video editing, when quality is more important than speed. It is not appropriate for real-time playback.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_DEVICE_USAGE_OPTIMAL_QUALITY']/*"/>
/// <msdn-id>dd318420</msdn-id>
/// <unmanaged>DXVAHD_DEVICE_USAGE_OPTIMAL_QUALITY</unmanaged>
/// <unmanaged-short>DXVAHD_DEVICE_USAGE_OPTIMAL_QUALITY</unmanaged-short>
OptimalQuality = unchecked((int)2),
}
/// <summary>
/// <p>Defines features that a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device can support.</p>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FEATURE_CAPS']/*"/>
/// <msdn-id>dd318422</msdn-id>
/// <unmanaged>DXVAHD_FEATURE_CAPS</unmanaged>
/// <unmanaged-short>DXVAHD_FEATURE_CAPS</unmanaged-short>
public enum FeatureCaps : int {
/// <summary>
/// <dd> <p>The device can set the alpha values on the video output. See <strong><see cref="SharpDX.MediaFoundation.DirectX.BlitStateAlphaFillData"/></strong>.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FEATURE_CAPS_ALPHA_FILL']/*"/>
/// <msdn-id>dd318422</msdn-id>
/// <unmanaged>DXVAHD_FEATURE_CAPS_ALPHA_FILL</unmanaged>
/// <unmanaged-short>DXVAHD_FEATURE_CAPS_ALPHA_FILL</unmanaged-short>
AlphaFill = unchecked((int)1),
/// <summary>
/// <dd> <p>The device can downsample the video output. See <strong><see cref="SharpDX.MediaFoundation.DirectX.BlitStateConstrictionData"/></strong>.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FEATURE_CAPS_CONSTRICTION']/*"/>
/// <msdn-id>dd318422</msdn-id>
/// <unmanaged>DXVAHD_FEATURE_CAPS_CONSTRICTION</unmanaged>
/// <unmanaged-short>DXVAHD_FEATURE_CAPS_CONSTRICTION</unmanaged-short>
Constriction = unchecked((int)2),
/// <summary>
/// <dd> <p>The device can perform luma keying. See <strong><see cref="SharpDX.MediaFoundation.DirectX.StreamStateLumaKeyData"/></strong>.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FEATURE_CAPS_LUMA_KEY']/*"/>
/// <msdn-id>dd318422</msdn-id>
/// <unmanaged>DXVAHD_FEATURE_CAPS_LUMA_KEY</unmanaged>
/// <unmanaged-short>DXVAHD_FEATURE_CAPS_LUMA_KEY</unmanaged-short>
LumaKey = unchecked((int)4),
/// <summary>
/// <dd> <p>The device can apply alpha values from color palette entries. See <strong><see cref="SharpDX.MediaFoundation.DirectX.StreamStateAlphaData"/></strong>.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FEATURE_CAPS_ALPHA_PALETTE']/*"/>
/// <msdn-id>dd318422</msdn-id>
/// <unmanaged>DXVAHD_FEATURE_CAPS_ALPHA_PALETTE</unmanaged>
/// <unmanaged-short>DXVAHD_FEATURE_CAPS_ALPHA_PALETTE</unmanaged-short>
AlphaPalette = unchecked((int)8),
}
/// <summary>
/// <p>Defines the range of supported values for an image filter.</p>
/// </summary>
/// <remarks>
/// <p>The multiplier enables the filter range to have a fractional step value.</p><p>For example, a hue filter might have an actual range of [-180.0 ... +180.0] with a step size of 0.25. The device would report the following range and multiplier:</p><ul> <li>Minimum: -720</li> <li>Maximum: +720</li> <li>Multiplier: 0.25</li> </ul><p>In this case, a filter value of 2 would be interpreted by the device as 0.50 (or 2 ? 0.25).</p><p>The device should use a multiplier that can be represented exactly as a base-2 fraction.</p>
/// </remarks>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER</unmanaged-short>
public enum Filter : int {
/// <summary>
/// <dd> <p>The minimum value of the filter.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_BRIGHTNESS']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER_BRIGHTNESS</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_BRIGHTNESS</unmanaged-short>
Brightness = unchecked((int)0),
/// <summary>
/// <dd> <p>The maximum value of the filter.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CONTRAST']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CONTRAST</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CONTRAST</unmanaged-short>
Contrast = unchecked((int)1),
/// <summary>
/// <dd> <p>The default value of the filter.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_HUE']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER_HUE</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_HUE</unmanaged-short>
Hue = unchecked((int)2),
/// <summary>
/// <dd> <p>A multiplier. Use the following formula to translate the filter setting into the actual filter value: <em>Actual Value</em> = <em>Set Value</em>???<em>Multiplier</em>.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_SATURATION']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER_SATURATION</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_SATURATION</unmanaged-short>
Saturation = unchecked((int)3),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_NOISE_REDUCTION']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER_NOISE_REDUCTION</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_NOISE_REDUCTION</unmanaged-short>
NoiseReduction = unchecked((int)4),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_EDGE_ENHANCEMENT']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER_EDGE_ENHANCEMENT</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_EDGE_ENHANCEMENT</unmanaged-short>
EdgeEnhancement = unchecked((int)5),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_ANAMORPHIC_SCALING']/*"/>
/// <msdn-id>dd318428</msdn-id>
/// <unmanaged>DXVAHD_FILTER_ANAMORPHIC_SCALING</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_ANAMORPHIC_SCALING</unmanaged-short>
AnamorphicScaling = unchecked((int)6),
}
/// <summary>
/// <p>Defines capabilities related to image adjustment and filtering for a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.</p>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS</unmanaged-short>
public enum FilterCaps : int {
/// <summary>
/// <dd> <p>The device can adjust the brightness level.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS_BRIGHTNESS']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS_BRIGHTNESS</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS_BRIGHTNESS</unmanaged-short>
Brightness = unchecked((int)1),
/// <summary>
/// <dd> <p>The device can adjust the contrast level.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS_CONTRAST']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS_CONTRAST</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS_CONTRAST</unmanaged-short>
Contrast = unchecked((int)2),
/// <summary>
/// <dd> <p>The device can adjust hue.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS_HUE']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS_HUE</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS_HUE</unmanaged-short>
Hue = unchecked((int)4),
/// <summary>
/// <dd> <p>The device can adjust the saturation level.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS_SATURATION']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS_SATURATION</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS_SATURATION</unmanaged-short>
Saturation = unchecked((int)8),
/// <summary>
/// <dd> <p>The device can perform noise reduction.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS_NOISE_REDUCTION']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS_NOISE_REDUCTION</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS_NOISE_REDUCTION</unmanaged-short>
NoiseReduction = unchecked((int)16),
/// <summary>
/// <dd> <p>The device can perform edge enhancement.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS_EDGE_ENHANCEMENT']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS_EDGE_ENHANCEMENT</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS_EDGE_ENHANCEMENT</unmanaged-short>
EdgeEnhancement = unchecked((int)32),
/// <summary>
/// <dd> <p>The device can perform <em>anamorphic scaling</em>. Anamorphic scaling can be used to stretch 4:3 content to a widescreen 16:9 aspect ratio.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FILTER_CAPS_ANAMORPHIC_SCALING']/*"/>
/// <msdn-id>dd318426</msdn-id>
/// <unmanaged>DXVAHD_FILTER_CAPS_ANAMORPHIC_SCALING</unmanaged>
/// <unmanaged-short>DXVAHD_FILTER_CAPS_ANAMORPHIC_SCALING</unmanaged-short>
AnamorphicScaling = unchecked((int)64),
}
/// <summary>
/// <p>Describes how a video stream is interlaced.</p>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FRAME_FORMAT']/*"/>
/// <msdn-id>dd318431</msdn-id>
/// <unmanaged>DXVAHD_FRAME_FORMAT</unmanaged>
/// <unmanaged-short>DXVAHD_FRAME_FORMAT</unmanaged-short>
public enum FrameFormat : int {
/// <summary>
/// <dd> <p>Frames are progressive.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FRAME_FORMAT_PROGRESSIVE']/*"/>
/// <msdn-id>dd318431</msdn-id>
/// <unmanaged>DXVAHD_FRAME_FORMAT_PROGRESSIVE</unmanaged>
/// <unmanaged-short>DXVAHD_FRAME_FORMAT_PROGRESSIVE</unmanaged-short>
Progressive = unchecked((int)0),
/// <summary>
/// <dd> <p>Frames are interlaced. The top field of each frame is displayed first.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST']/*"/>
/// <msdn-id>dd318431</msdn-id>
/// <unmanaged>DXVAHD_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST</unmanaged>
/// <unmanaged-short>DXVAHD_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST</unmanaged-short>
InterlacedTopFieldFirst = unchecked((int)1),
/// <summary>
/// <dd> <p>Frame are interlaced. The bottom field of each frame is displayed first.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST']/*"/>
/// <msdn-id>dd318431</msdn-id>
/// <unmanaged>DXVAHD_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST</unmanaged>
/// <unmanaged-short>DXVAHD_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST</unmanaged-short>
InterlacedBottomFieldFirst = unchecked((int)2),
}
/// <summary>
/// <p>Defines capabilities related to input formats for a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.</p>
/// </summary>
/// <remarks>
/// <p>These flags define video processing capabilities that are usually not needed, and therefore are not required for DXVA-HD devices to support.</p><p>The first three flags relate to RGB support for functions that are normally applied to YCbCr video: deinterlacing, color adjustment, and luma keying. A DXVA-HD device that supports these functions for YCbCr is not required to support them for RGB input. Supporting RGB input for these functions is an additional capability, reflected by these constants. The driver might convert the input to another color space, perform the indicated function, and then convert the result back to RGB.</p><p>Similarly, a device that supports de-interlacing is not required to support deinterlacing of palettized formats. This capability is indicated by the <strong><see cref="SharpDX.MediaFoundation.DirectX.InputFormatCaps.PaletteInterlaced"/></strong> flag.</p>
/// </remarks>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_INPUT_FORMAT_CAPS']/*"/>
/// <msdn-id>dd318433</msdn-id>
/// <unmanaged>DXVAHD_INPUT_FORMAT_CAPS</unmanaged>
/// <unmanaged-short>DXVAHD_INPUT_FORMAT_CAPS</unmanaged-short>
public enum InputFormatCaps : int {
/// <summary>
/// <dd> <p>The device can deinterlace an input stream that contains interlaced RGB video.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_INPUT_FORMAT_CAPS_RGB_INTERLACED']/*"/>
/// <msdn-id>dd318433</msdn-id>
/// <unmanaged>DXVAHD_INPUT_FORMAT_CAPS_RGB_INTERLACED</unmanaged>
/// <unmanaged-short>DXVAHD_INPUT_FORMAT_CAPS_RGB_INTERLACED</unmanaged-short>
RgbInterlaced = unchecked((int)1),
/// <summary>
/// <dd> <p>The device can perform color adjustment on RGB video.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_INPUT_FORMAT_CAPS_RGB_PROCAMP']/*"/>
/// <msdn-id>dd318433</msdn-id>
/// <unmanaged>DXVAHD_INPUT_FORMAT_CAPS_RGB_PROCAMP</unmanaged>
/// <unmanaged-short>DXVAHD_INPUT_FORMAT_CAPS_RGB_PROCAMP</unmanaged-short>
RgbProcamp = unchecked((int)2),
/// <summary>
/// <dd> <p>The device can perform luma keying on RGB video.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_INPUT_FORMAT_CAPS_RGB_LUMA_KEY']/*"/>
/// <msdn-id>dd318433</msdn-id>
/// <unmanaged>DXVAHD_INPUT_FORMAT_CAPS_RGB_LUMA_KEY</unmanaged>
/// <unmanaged-short>DXVAHD_INPUT_FORMAT_CAPS_RGB_LUMA_KEY</unmanaged-short>
RgbLumaKey = unchecked((int)4),
/// <summary>
/// <dd> <p>The device can deinterlace input streams with palettized color formats.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_INPUT_FORMAT_CAPS_PALETTE_INTERLACED']/*"/>
/// <msdn-id>dd318433</msdn-id>
/// <unmanaged>DXVAHD_INPUT_FORMAT_CAPS_PALETTE_INTERLACED</unmanaged>
/// <unmanaged-short>DXVAHD_INPUT_FORMAT_CAPS_PALETTE_INTERLACED</unmanaged-short>
PaletteInterlaced = unchecked((int)8),
}
/// <summary>
/// <p>Specifies the inverse telecine (IVTC) capabilities of a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) video processor.</p>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS</unmanaged-short>
public enum ItelecineCaps : int {
/// <summary>
/// <dd> <p>The video processor can reverse 3:2 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_32']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_32</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_32</unmanaged-short>
Reverse32 = unchecked((int)1),
/// <summary>
/// <dd> <p>The video processor can reverse 2:2 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_22']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_22</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_22</unmanaged-short>
Reverse22 = unchecked((int)2),
/// <summary>
/// <dd> <p>The video processor can reverse 2:2:2:4 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_2224']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_2224</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_2224</unmanaged-short>
Reverse2224 = unchecked((int)4),
/// <summary>
/// <dd> <p>The video processor can reverse 2:3:3:2 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_2332']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_2332</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_2332</unmanaged-short>
Reverse2332 = unchecked((int)8),
/// <summary>
/// <dd> <p>The video processor can reverse 3:2:3:2:2 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_32322']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_32322</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_32322</unmanaged-short>
Reverse32322 = unchecked((int)16),
/// <summary>
/// <dd> <p>The video processor can reverse 5:5 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_55']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_55</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_55</unmanaged-short>
Reverse55 = unchecked((int)32),
/// <summary>
/// <dd> <p>The video processor can reverse 6:4 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_64']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_64</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_64</unmanaged-short>
Reverse64 = unchecked((int)64),
/// <summary>
/// <dd> <p>The video processor can reverse 8:7 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_87']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_87</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_87</unmanaged-short>
Reverse87 = unchecked((int)128),
/// <summary>
/// <dd> <p>The video processor can reverse 2:2:2:2:2:2:2:2:2:2:2:3 pulldown.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_222222222223']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_222222222223</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_222222222223</unmanaged-short>
Reverse222222222223 = unchecked((int)256),
/// <summary>
/// <dd> <p>The video processor can reverse other telecine modes not listed here.</p> </dd>
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVAHD_ITELECINE_CAPS_OTHER']/*"/>
/// <msdn-id>dd318435</msdn-id>
/// <unmanaged>DXVAHD_ITELECINE_CAPS_OTHER</unmanaged>
/// <unmanaged-short>DXVAHD_ITELECINE_CAPS_OTHER</unmanaged-short>
ReverseOTHER = unchecked((int)-2147483648),
}
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='__MIDL___MIDL_itf_dxva2api_0000_0000_0004']/*"/>
/// <unmanaged>__MIDL___MIDL_itf_dxva2api_0000_0000_0004</unmanaged>
/// <unmanaged-short>__MIDL___MIDL_itf_dxva2api_0000_0000_0004</unmanaged-short>
public enum NoiseDetailFilter : int {
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_NoiseFilterLumaLevel']/*"/>
/// <unmanaged>DXVA2_NoiseFilterLumaLevel</unmanaged>
/// <unmanaged-short>DXVA2_NoiseFilterLumaLevel</unmanaged-short>
NoiseLumaLevel = unchecked((int)1),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_NoiseFilterLumaThreshold']/*"/>
/// <unmanaged>DXVA2_NoiseFilterLumaThreshold</unmanaged>
/// <unmanaged-short>DXVA2_NoiseFilterLumaThreshold</unmanaged-short>
NoiseLumaThreshold = unchecked((int)2),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_NoiseFilterLumaRadius']/*"/>
/// <unmanaged>DXVA2_NoiseFilterLumaRadius</unmanaged>
/// <unmanaged-short>DXVA2_NoiseFilterLumaRadius</unmanaged-short>
NoiseLumaRadius = unchecked((int)3),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_NoiseFilterChromaLevel']/*"/>
/// <unmanaged>DXVA2_NoiseFilterChromaLevel</unmanaged>
/// <unmanaged-short>DXVA2_NoiseFilterChromaLevel</unmanaged-short>
NoiseChromaLevel = unchecked((int)4),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_NoiseFilterChromaThreshold']/*"/>
/// <unmanaged>DXVA2_NoiseFilterChromaThreshold</unmanaged>
/// <unmanaged-short>DXVA2_NoiseFilterChromaThreshold</unmanaged-short>
NoiseChromaThreshold = unchecked((int)5),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_NoiseFilterChromaRadius']/*"/>
/// <unmanaged>DXVA2_NoiseFilterChromaRadius</unmanaged>
/// <unmanaged-short>DXVA2_NoiseFilterChromaRadius</unmanaged-short>
NoiseChromaRadius = unchecked((int)6),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterLumaLevel']/*"/>
/// <unmanaged>DXVA2_DetailFilterLumaLevel</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterLumaLevel</unmanaged-short>
DetailLumaLevel = unchecked((int)7),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterLumaThreshold']/*"/>
/// <unmanaged>DXVA2_DetailFilterLumaThreshold</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterLumaThreshold</unmanaged-short>
DetailLumaThreshold = unchecked((int)8),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterLumaRadius']/*"/>
/// <unmanaged>DXVA2_DetailFilterLumaRadius</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterLumaRadius</unmanaged-short>
DetailLumaRadius = unchecked((int)9),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterChromaLevel']/*"/>
/// <unmanaged>DXVA2_DetailFilterChromaLevel</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterChromaLevel</unmanaged-short>
DetailChromaLevel = unchecked((int)10),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterChromaThreshold']/*"/>
/// <unmanaged>DXVA2_DetailFilterChromaThreshold</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterChromaThreshold</unmanaged-short>
DetailChromaThreshold = unchecked((int)11),
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_DetailFilterChromaRadius']/*"/>
/// <unmanaged>DXVA2_DetailFilterChromaRadius</unmanaged>
/// <unmanaged-short>DXVA2_DetailFilterChromaRadius</unmanaged-short>
DetailChromaRadius = unchecked((int)12),
}
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='__MIDL___MIDL_itf_dxva2api_0000_0000_0005']/*"/>
/// <unmanaged>__MIDL___MIDL_itf_dxva2api_0000_0000_0005</unmanaged>
/// <unmanaged-short>__MIDL___MIDL_itf_dxva2api_0000_0000_0005</unmanaged-short>
public enum NoiseFilterTechnology : int {
/// <summary>
/// No documentation.
/// </summary>
/// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='DXVA2_NoiseFilterTech_Unsupported']/*"/>
/// <unmanaged>DXVA2_NoiseFilterTech_Unsupported</unmanaged>
/// <unmanaged-short>DXVA2_NoiseFilterTech_Unsupported</unmanaged-short>
Unsupported = unchecked((int)0),
/// <summary>
/// No documentation.