1 // File generated by idl2d from
2 //   ../DeckLinkAPIConfiguration.idl
3 module decklink4d.bmd.decklinkapiconfiguration;
4 
5 import decklink4d.port;
6 
7 /* -LICENSE-START-
8 ** Copyright (c) 2013 Blackmagic Design
9 **
10 ** Permission is hereby granted, free of charge, to any person or organization
11 ** obtaining a copy of the software and accompanying documentation covered by
12 ** this license (the "Software") to use, reproduce, display, distribute,
13 ** execute, and transmit the Software, and to prepare derivative works of the
14 ** Software, and to permit third-parties to whom the Software is furnished to
15 ** do so, all subject to the following:
16 ** 
17 ** The copyright notices in the Software and this entire statement, including
18 ** the above license grant, this restriction and the following disclaimer,
19 ** must be included in all copies of the Software, in whole or in part, and
20 ** all derivative works of the Software, unless such copies or derivative
21 ** works are solely in the form of machine-executable object code generated by
22 ** a source language processor.
23 ** 
24 ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25 ** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26 ** FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
27 ** SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
28 ** FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
29 ** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
30 ** DEALINGS IN THE SOFTWARE.
31 ** -LICENSE-END-
32 */
33 
34 /* Enum BMDDeckLinkConfigurationID - DeckLink Configuration ID */
35 
36 enum 
37 		/+[v1_enum]+/ /+	_BMDDeckLinkConfigurationID+/
38 {
39 
40     /* Serial port Flags */
41 
42     bmdDeckLinkConfigSwapSerialRxTx                              = /* 'ssrt' */ 0x73737274,
43 
44     /* Video Input/Output Flags */
45 
46     bmdDeckLinkConfigUse1080pNotPsF                              = /* 'fpro' */ 0x6670726F,
47 
48     /* Video Input/Output Integers */
49 
50     bmdDeckLinkConfigHDMI3DPackingFormat                         = /* '3dpf' */ 0x33647066,
51     bmdDeckLinkConfigBypass                                      = /* 'byps' */ 0x62797073,
52     bmdDeckLinkConfigClockTimingAdjustment                       = /* 'ctad' */ 0x63746164,
53 
54     /* Audio Input/Output Flags */
55 
56     bmdDeckLinkConfigAnalogAudioConsumerLevels                   = /* 'aacl' */ 0x6161636C,
57 
58     /* Video output flags */
59 
60     bmdDeckLinkConfigFieldFlickerRemoval                         = /* 'fdfr' */ 0x66646672,
61     bmdDeckLinkConfigHD1080p24ToHD1080i5994Conversion            = /* 'to59' */ 0x746F3539,
62     bmdDeckLinkConfig444SDIVideoOutput                           = /* '444o' */ 0x3434346F,
63     bmdDeckLinkConfig3GBpsVideoOutput                            = /* '3gbs' */ 0x33676273,
64     bmdDeckLinkConfigBlackVideoOutputDuringCapture               = /* 'bvoc' */ 0x62766F63,
65     bmdDeckLinkConfigLowLatencyVideoOutput                       = /* 'llvo' */ 0x6C6C766F,
66 
67     /* Video Output Integers */
68 
69     bmdDeckLinkConfigVideoOutputConnection                       = /* 'vocn' */ 0x766F636E,
70     bmdDeckLinkConfigVideoOutputConversionMode                   = /* 'vocm' */ 0x766F636D,
71     bmdDeckLinkConfigAnalogVideoOutputFlags                      = /* 'avof' */ 0x61766F66,
72     bmdDeckLinkConfigReferenceInputTimingOffset                  = /* 'glot' */ 0x676C6F74,
73     bmdDeckLinkConfigVideoOutputIdleOperation                    = /* 'voio' */ 0x766F696F,
74     bmdDeckLinkConfigDefaultVideoOutputMode                      = /* 'dvom' */ 0x64766F6D,
75     bmdDeckLinkConfigDefaultVideoOutputModeFlags                 = /* 'dvof' */ 0x64766F66,
76 
77     /* Video Output Floats */
78 
79     bmdDeckLinkConfigVideoOutputComponentLumaGain                = /* 'oclg' */ 0x6F636C67,
80     bmdDeckLinkConfigVideoOutputComponentChromaBlueGain          = /* 'occb' */ 0x6F636362,
81     bmdDeckLinkConfigVideoOutputComponentChromaRedGain           = /* 'occr' */ 0x6F636372,
82     bmdDeckLinkConfigVideoOutputCompositeLumaGain                = /* 'oilg' */ 0x6F696C67,
83     bmdDeckLinkConfigVideoOutputCompositeChromaGain              = /* 'oicg' */ 0x6F696367,
84     bmdDeckLinkConfigVideoOutputSVideoLumaGain                   = /* 'oslg' */ 0x6F736C67,
85     bmdDeckLinkConfigVideoOutputSVideoChromaGain                 = /* 'oscg' */ 0x6F736367,
86 
87     /* Video Input Flags */
88 
89     bmdDeckLinkConfigVideoInputScanning                          = /* 'visc' */ 0x76697363,	// Applicable to H264 Pro Recorder only
90     bmdDeckLinkConfigUseDedicatedLTCInput                        = /* 'dltc' */ 0x646C7463,	// Use timecode from LTC input instead of SDI stream
91 
92     /* Video Input Integers */
93 
94     bmdDeckLinkConfigVideoInputConnection                        = /* 'vicn' */ 0x7669636E,
95     bmdDeckLinkConfigAnalogVideoInputFlags                       = /* 'avif' */ 0x61766966,
96     bmdDeckLinkConfigVideoInputConversionMode                    = /* 'vicm' */ 0x7669636D,
97     bmdDeckLinkConfig32PulldownSequenceInitialTimecodeFrame      = /* 'pdif' */ 0x70646966,
98     bmdDeckLinkConfigVANCSourceLine1Mapping                      = /* 'vsl1' */ 0x76736C31,
99     bmdDeckLinkConfigVANCSourceLine2Mapping                      = /* 'vsl2' */ 0x76736C32,
100     bmdDeckLinkConfigVANCSourceLine3Mapping                      = /* 'vsl3' */ 0x76736C33,
101 
102     /* Video Input Floats */
103 
104     bmdDeckLinkConfigVideoInputComponentLumaGain                 = /* 'iclg' */ 0x69636C67,
105     bmdDeckLinkConfigVideoInputComponentChromaBlueGain           = /* 'iccb' */ 0x69636362,
106     bmdDeckLinkConfigVideoInputComponentChromaRedGain            = /* 'iccr' */ 0x69636372,
107     bmdDeckLinkConfigVideoInputCompositeLumaGain                 = /* 'iilg' */ 0x69696C67,
108     bmdDeckLinkConfigVideoInputCompositeChromaGain               = /* 'iicg' */ 0x69696367,
109     bmdDeckLinkConfigVideoInputSVideoLumaGain                    = /* 'islg' */ 0x69736C67,
110     bmdDeckLinkConfigVideoInputSVideoChromaGain                  = /* 'iscg' */ 0x69736367,
111 
112     /* Audio Input Integers */
113 
114     bmdDeckLinkConfigAudioInputConnection                        = /* 'aicn' */ 0x6169636E,
115 
116     /* Audio Input Floats */
117 
118     bmdDeckLinkConfigAnalogAudioInputScaleChannel1               = /* 'ais1' */ 0x61697331,
119     bmdDeckLinkConfigAnalogAudioInputScaleChannel2               = /* 'ais2' */ 0x61697332,
120     bmdDeckLinkConfigAnalogAudioInputScaleChannel3               = /* 'ais3' */ 0x61697333,
121     bmdDeckLinkConfigAnalogAudioInputScaleChannel4               = /* 'ais4' */ 0x61697334,
122     bmdDeckLinkConfigDigitalAudioInputScale                      = /* 'dais' */ 0x64616973,
123 
124     /* Audio Output Integers */
125 
126     bmdDeckLinkConfigAudioOutputAESAnalogSwitch                  = /* 'aoaa' */ 0x616F6161,
127 
128     /* Audio Output Floats */
129 
130     bmdDeckLinkConfigAnalogAudioOutputScaleChannel1              = /* 'aos1' */ 0x616F7331,
131     bmdDeckLinkConfigAnalogAudioOutputScaleChannel2              = /* 'aos2' */ 0x616F7332,
132     bmdDeckLinkConfigAnalogAudioOutputScaleChannel3              = /* 'aos3' */ 0x616F7333,
133     bmdDeckLinkConfigAnalogAudioOutputScaleChannel4              = /* 'aos4' */ 0x616F7334,
134     bmdDeckLinkConfigDigitalAudioOutputScale                     = /* 'daos' */ 0x64616F73
135 }
136 alias int	_BMDDeckLinkConfigurationID;
137 alias int BMDDeckLinkConfigurationID;
138 
139 // Forward Declarations
140 
141 /+ interface IDeckLinkConfiguration; +/
142 
143 /* Interface IDeckLinkConfiguration - DeckLink Configuration interface */
144 
145 const GUID IID_IDeckLinkConfiguration = IDeckLinkConfiguration.iid;
146 
147 interface IDeckLinkConfiguration : IUnknown
148 {
149 extern(System):
150     static const GUID iid = { 0xC679A35B,0x610C,0x4D09,[ 0xB7,0x48,0x1D,0x04,0x78,0x10,0x0F,0xC0 ] };
151     HRESULT SetFlag(in BMDDeckLinkConfigurationID cfgID, in BOOL value);
152     HRESULT GetFlag(in BMDDeckLinkConfigurationID cfgID, 
153 		/+[out]+/ BOOL *value);
154     HRESULT SetInt(in BMDDeckLinkConfigurationID cfgID, in LONGLONG value);
155     HRESULT GetInt(in BMDDeckLinkConfigurationID cfgID, 
156 		/+[out]+/ LONGLONG *value);
157     HRESULT SetFloat(in BMDDeckLinkConfigurationID cfgID, in double value);
158     HRESULT GetFloat(in BMDDeckLinkConfigurationID cfgID, 
159 		/+[out]+/ double *value);
160     HRESULT SetString(in BMDDeckLinkConfigurationID cfgID, in BMDSTR value);
161     HRESULT GetString(in BMDDeckLinkConfigurationID cfgID, 
162 		/+[out]+/ BMDSTR *value);
163     HRESULT WriteConfigurationToPreferences();
164 };