| Index: third_party/decklink/win/include/DeckLinkAPIConfiguration.idl
|
| diff --git a/third_party/decklink/mac/include/DeckLinkAPIConfiguration.h b/third_party/decklink/win/include/DeckLinkAPIConfiguration.idl
|
| similarity index 68%
|
| copy from third_party/decklink/mac/include/DeckLinkAPIConfiguration.h
|
| copy to third_party/decklink/win/include/DeckLinkAPIConfiguration.idl
|
| index 7e8343d458701702d4f86b305fea6028db476103..80b090cce8fbe88b1b5cb67bcb114b58b0f0f0d3 100644
|
| --- a/third_party/decklink/mac/include/DeckLinkAPIConfiguration.h
|
| +++ b/third_party/decklink/win/include/DeckLinkAPIConfiguration.idl
|
| @@ -25,9 +25,6 @@
|
| ** -LICENSE-END-
|
| */
|
|
|
| -#ifndef BMD_DECKLINKAPICONFIGURATION_H
|
| -#define BMD_DECKLINKAPICONFIGURATION_H
|
| -
|
|
|
| #ifndef BMD_CONST
|
| #if defined(_MSC_VER)
|
| @@ -40,142 +37,139 @@
|
| // Type Declarations
|
|
|
|
|
| -// Interface ID Declarations
|
| +// Enumeration Mapping
|
|
|
| -BMD_CONST REFIID IID_IDeckLinkConfiguration = /* C679A35B-610C-4D09-B748-1D0478100FC0 */ {0xC6,0x79,0xA3,0x5B,0x61,0x0C,0x4D,0x09,0xB7,0x48,0x1D,0x04,0x78,0x10,0x0F,0xC0};
|
| +cpp_quote("#if 0")
|
| +cpp_quote("#endif")
|
|
|
| /* Enum BMDDeckLinkConfigurationID - DeckLink Configuration ID */
|
|
|
| -typedef uint32_t BMDDeckLinkConfigurationID;
|
| -enum _BMDDeckLinkConfigurationID {
|
| +typedef [v1_enum] enum _BMDDeckLinkConfigurationID {
|
|
|
| /* Serial port Flags */
|
|
|
| - bmdDeckLinkConfigSwapSerialRxTx = 'ssrt',
|
| + bmdDeckLinkConfigSwapSerialRxTx = /* 'ssrt' */ 0x73737274,
|
|
|
| /* Video Input/Output Flags */
|
|
|
| - bmdDeckLinkConfigUse1080pNotPsF = 'fpro',
|
| + bmdDeckLinkConfigUse1080pNotPsF = /* 'fpro' */ 0x6670726F,
|
|
|
| /* Video Input/Output Integers */
|
|
|
| - bmdDeckLinkConfigHDMI3DPackingFormat = '3dpf',
|
| - bmdDeckLinkConfigBypass = 'byps',
|
| - bmdDeckLinkConfigClockTimingAdjustment = 'ctad',
|
| + bmdDeckLinkConfigHDMI3DPackingFormat = /* '3dpf' */ 0x33647066,
|
| + bmdDeckLinkConfigBypass = /* 'byps' */ 0x62797073,
|
| + bmdDeckLinkConfigClockTimingAdjustment = /* 'ctad' */ 0x63746164,
|
|
|
| /* Audio Input/Output Flags */
|
|
|
| - bmdDeckLinkConfigAnalogAudioConsumerLevels = 'aacl',
|
| + bmdDeckLinkConfigAnalogAudioConsumerLevels = /* 'aacl' */ 0x6161636C,
|
|
|
| /* Video output flags */
|
|
|
| - bmdDeckLinkConfigFieldFlickerRemoval = 'fdfr',
|
| - bmdDeckLinkConfigHD1080p24ToHD1080i5994Conversion = 'to59',
|
| - bmdDeckLinkConfig444SDIVideoOutput = '444o',
|
| - bmdDeckLinkConfig3GBpsVideoOutput = '3gbs',
|
| - bmdDeckLinkConfigBlackVideoOutputDuringCapture = 'bvoc',
|
| - bmdDeckLinkConfigLowLatencyVideoOutput = 'llvo',
|
| + bmdDeckLinkConfigFieldFlickerRemoval = /* 'fdfr' */ 0x66646672,
|
| + bmdDeckLinkConfigHD1080p24ToHD1080i5994Conversion = /* 'to59' */ 0x746F3539,
|
| + bmdDeckLinkConfig444SDIVideoOutput = /* '444o' */ 0x3434346F,
|
| + bmdDeckLinkConfig3GBpsVideoOutput = /* '3gbs' */ 0x33676273,
|
| + bmdDeckLinkConfigBlackVideoOutputDuringCapture = /* 'bvoc' */ 0x62766F63,
|
| + bmdDeckLinkConfigLowLatencyVideoOutput = /* 'llvo' */ 0x6C6C766F,
|
|
|
| /* Video Output Integers */
|
|
|
| - bmdDeckLinkConfigVideoOutputConnection = 'vocn',
|
| - bmdDeckLinkConfigVideoOutputConversionMode = 'vocm',
|
| - bmdDeckLinkConfigAnalogVideoOutputFlags = 'avof',
|
| - bmdDeckLinkConfigReferenceInputTimingOffset = 'glot',
|
| - bmdDeckLinkConfigVideoOutputIdleOperation = 'voio',
|
| - bmdDeckLinkConfigDefaultVideoOutputMode = 'dvom',
|
| - bmdDeckLinkConfigDefaultVideoOutputModeFlags = 'dvof',
|
| + bmdDeckLinkConfigVideoOutputConnection = /* 'vocn' */ 0x766F636E,
|
| + bmdDeckLinkConfigVideoOutputConversionMode = /* 'vocm' */ 0x766F636D,
|
| + bmdDeckLinkConfigAnalogVideoOutputFlags = /* 'avof' */ 0x61766F66,
|
| + bmdDeckLinkConfigReferenceInputTimingOffset = /* 'glot' */ 0x676C6F74,
|
| + bmdDeckLinkConfigVideoOutputIdleOperation = /* 'voio' */ 0x766F696F,
|
| + bmdDeckLinkConfigDefaultVideoOutputMode = /* 'dvom' */ 0x64766F6D,
|
| + bmdDeckLinkConfigDefaultVideoOutputModeFlags = /* 'dvof' */ 0x64766F66,
|
|
|
| /* Video Output Floats */
|
|
|
| - bmdDeckLinkConfigVideoOutputComponentLumaGain = 'oclg',
|
| - bmdDeckLinkConfigVideoOutputComponentChromaBlueGain = 'occb',
|
| - bmdDeckLinkConfigVideoOutputComponentChromaRedGain = 'occr',
|
| - bmdDeckLinkConfigVideoOutputCompositeLumaGain = 'oilg',
|
| - bmdDeckLinkConfigVideoOutputCompositeChromaGain = 'oicg',
|
| - bmdDeckLinkConfigVideoOutputSVideoLumaGain = 'oslg',
|
| - bmdDeckLinkConfigVideoOutputSVideoChromaGain = 'oscg',
|
| + bmdDeckLinkConfigVideoOutputComponentLumaGain = /* 'oclg' */ 0x6F636C67,
|
| + bmdDeckLinkConfigVideoOutputComponentChromaBlueGain = /* 'occb' */ 0x6F636362,
|
| + bmdDeckLinkConfigVideoOutputComponentChromaRedGain = /* 'occr' */ 0x6F636372,
|
| + bmdDeckLinkConfigVideoOutputCompositeLumaGain = /* 'oilg' */ 0x6F696C67,
|
| + bmdDeckLinkConfigVideoOutputCompositeChromaGain = /* 'oicg' */ 0x6F696367,
|
| + bmdDeckLinkConfigVideoOutputSVideoLumaGain = /* 'oslg' */ 0x6F736C67,
|
| + bmdDeckLinkConfigVideoOutputSVideoChromaGain = /* 'oscg' */ 0x6F736367,
|
|
|
| /* Video Input Flags */
|
|
|
| - bmdDeckLinkConfigVideoInputScanning = 'visc', // Applicable to H264 Pro Recorder only
|
| - bmdDeckLinkConfigUseDedicatedLTCInput = 'dltc', // Use timecode from LTC input instead of SDI stream
|
| + bmdDeckLinkConfigVideoInputScanning = /* 'visc' */ 0x76697363, // Applicable to H264 Pro Recorder only
|
| + bmdDeckLinkConfigUseDedicatedLTCInput = /* 'dltc' */ 0x646C7463, // Use timecode from LTC input instead of SDI stream
|
|
|
| /* Video Input Integers */
|
|
|
| - bmdDeckLinkConfigVideoInputConnection = 'vicn',
|
| - bmdDeckLinkConfigAnalogVideoInputFlags = 'avif',
|
| - bmdDeckLinkConfigVideoInputConversionMode = 'vicm',
|
| - bmdDeckLinkConfig32PulldownSequenceInitialTimecodeFrame = 'pdif',
|
| - bmdDeckLinkConfigVANCSourceLine1Mapping = 'vsl1',
|
| - bmdDeckLinkConfigVANCSourceLine2Mapping = 'vsl2',
|
| - bmdDeckLinkConfigVANCSourceLine3Mapping = 'vsl3',
|
| - bmdDeckLinkConfigCapturePassThroughMode = 'cptm',
|
| + bmdDeckLinkConfigVideoInputConnection = /* 'vicn' */ 0x7669636E,
|
| + bmdDeckLinkConfigAnalogVideoInputFlags = /* 'avif' */ 0x61766966,
|
| + bmdDeckLinkConfigVideoInputConversionMode = /* 'vicm' */ 0x7669636D,
|
| + bmdDeckLinkConfig32PulldownSequenceInitialTimecodeFrame = /* 'pdif' */ 0x70646966,
|
| + bmdDeckLinkConfigVANCSourceLine1Mapping = /* 'vsl1' */ 0x76736C31,
|
| + bmdDeckLinkConfigVANCSourceLine2Mapping = /* 'vsl2' */ 0x76736C32,
|
| + bmdDeckLinkConfigVANCSourceLine3Mapping = /* 'vsl3' */ 0x76736C33,
|
| + bmdDeckLinkConfigCapturePassThroughMode = /* 'cptm' */ 0x6370746D,
|
|
|
| /* Video Input Floats */
|
|
|
| - bmdDeckLinkConfigVideoInputComponentLumaGain = 'iclg',
|
| - bmdDeckLinkConfigVideoInputComponentChromaBlueGain = 'iccb',
|
| - bmdDeckLinkConfigVideoInputComponentChromaRedGain = 'iccr',
|
| - bmdDeckLinkConfigVideoInputCompositeLumaGain = 'iilg',
|
| - bmdDeckLinkConfigVideoInputCompositeChromaGain = 'iicg',
|
| - bmdDeckLinkConfigVideoInputSVideoLumaGain = 'islg',
|
| - bmdDeckLinkConfigVideoInputSVideoChromaGain = 'iscg',
|
| + bmdDeckLinkConfigVideoInputComponentLumaGain = /* 'iclg' */ 0x69636C67,
|
| + bmdDeckLinkConfigVideoInputComponentChromaBlueGain = /* 'iccb' */ 0x69636362,
|
| + bmdDeckLinkConfigVideoInputComponentChromaRedGain = /* 'iccr' */ 0x69636372,
|
| + bmdDeckLinkConfigVideoInputCompositeLumaGain = /* 'iilg' */ 0x69696C67,
|
| + bmdDeckLinkConfigVideoInputCompositeChromaGain = /* 'iicg' */ 0x69696367,
|
| + bmdDeckLinkConfigVideoInputSVideoLumaGain = /* 'islg' */ 0x69736C67,
|
| + bmdDeckLinkConfigVideoInputSVideoChromaGain = /* 'iscg' */ 0x69736367,
|
|
|
| /* Audio Input Integers */
|
|
|
| - bmdDeckLinkConfigAudioInputConnection = 'aicn',
|
| + bmdDeckLinkConfigAudioInputConnection = /* 'aicn' */ 0x6169636E,
|
|
|
| /* Audio Input Floats */
|
|
|
| - bmdDeckLinkConfigAnalogAudioInputScaleChannel1 = 'ais1',
|
| - bmdDeckLinkConfigAnalogAudioInputScaleChannel2 = 'ais2',
|
| - bmdDeckLinkConfigAnalogAudioInputScaleChannel3 = 'ais3',
|
| - bmdDeckLinkConfigAnalogAudioInputScaleChannel4 = 'ais4',
|
| - bmdDeckLinkConfigDigitalAudioInputScale = 'dais',
|
| + bmdDeckLinkConfigAnalogAudioInputScaleChannel1 = /* 'ais1' */ 0x61697331,
|
| + bmdDeckLinkConfigAnalogAudioInputScaleChannel2 = /* 'ais2' */ 0x61697332,
|
| + bmdDeckLinkConfigAnalogAudioInputScaleChannel3 = /* 'ais3' */ 0x61697333,
|
| + bmdDeckLinkConfigAnalogAudioInputScaleChannel4 = /* 'ais4' */ 0x61697334,
|
| + bmdDeckLinkConfigDigitalAudioInputScale = /* 'dais' */ 0x64616973,
|
|
|
| /* Audio Output Integers */
|
|
|
| - bmdDeckLinkConfigAudioOutputAESAnalogSwitch = 'aoaa',
|
| + bmdDeckLinkConfigAudioOutputAESAnalogSwitch = /* 'aoaa' */ 0x616F6161,
|
|
|
| /* Audio Output Floats */
|
|
|
| - bmdDeckLinkConfigAnalogAudioOutputScaleChannel1 = 'aos1',
|
| - bmdDeckLinkConfigAnalogAudioOutputScaleChannel2 = 'aos2',
|
| - bmdDeckLinkConfigAnalogAudioOutputScaleChannel3 = 'aos3',
|
| - bmdDeckLinkConfigAnalogAudioOutputScaleChannel4 = 'aos4',
|
| - bmdDeckLinkConfigDigitalAudioOutputScale = 'daos'
|
| -};
|
| + bmdDeckLinkConfigAnalogAudioOutputScaleChannel1 = /* 'aos1' */ 0x616F7331,
|
| + bmdDeckLinkConfigAnalogAudioOutputScaleChannel2 = /* 'aos2' */ 0x616F7332,
|
| + bmdDeckLinkConfigAnalogAudioOutputScaleChannel3 = /* 'aos3' */ 0x616F7333,
|
| + bmdDeckLinkConfigAnalogAudioOutputScaleChannel4 = /* 'aos4' */ 0x616F7334,
|
| + bmdDeckLinkConfigDigitalAudioOutputScale = /* 'daos' */ 0x64616F73
|
| +} BMDDeckLinkConfigurationID;
|
|
|
| // Forward Declarations
|
|
|
| -class IDeckLinkConfiguration;
|
| +interface IDeckLinkConfiguration;
|
|
|
| /* Interface IDeckLinkConfiguration - DeckLink Configuration interface */
|
|
|
| -class IDeckLinkConfiguration : public IUnknown
|
| +[
|
| + object,
|
| + uuid(C679A35B-610C-4D09-B748-1D0478100FC0),
|
| + local,
|
| + helpstring("DeckLink Configuration interface")
|
| +] interface IDeckLinkConfiguration : IUnknown
|
| {
|
| -public:
|
| - virtual HRESULT SetFlag (/* in */ BMDDeckLinkConfigurationID cfgID, /* in */ bool value) = 0;
|
| - virtual HRESULT GetFlag (/* in */ BMDDeckLinkConfigurationID cfgID, /* out */ bool *value) = 0;
|
| - virtual HRESULT SetInt (/* in */ BMDDeckLinkConfigurationID cfgID, /* in */ int64_t value) = 0;
|
| - virtual HRESULT GetInt (/* in */ BMDDeckLinkConfigurationID cfgID, /* out */ int64_t *value) = 0;
|
| - virtual HRESULT SetFloat (/* in */ BMDDeckLinkConfigurationID cfgID, /* in */ double value) = 0;
|
| - virtual HRESULT GetFloat (/* in */ BMDDeckLinkConfigurationID cfgID, /* out */ double *value) = 0;
|
| - virtual HRESULT SetString (/* in */ BMDDeckLinkConfigurationID cfgID, /* in */ CFStringRef value) = 0;
|
| - virtual HRESULT GetString (/* in */ BMDDeckLinkConfigurationID cfgID, /* out */ CFStringRef *value) = 0;
|
| - virtual HRESULT WriteConfigurationToPreferences (void) = 0;
|
| -
|
| -protected:
|
| - virtual ~IDeckLinkConfiguration () {}; // call Release method to drop reference count
|
| + HRESULT SetFlag([in] BMDDeckLinkConfigurationID cfgID, [in] BOOL value);
|
| + HRESULT GetFlag([in] BMDDeckLinkConfigurationID cfgID, [out] BOOL *value);
|
| + HRESULT SetInt([in] BMDDeckLinkConfigurationID cfgID, [in] LONGLONG value);
|
| + HRESULT GetInt([in] BMDDeckLinkConfigurationID cfgID, [out] LONGLONG *value);
|
| + HRESULT SetFloat([in] BMDDeckLinkConfigurationID cfgID, [in] double value);
|
| + HRESULT GetFloat([in] BMDDeckLinkConfigurationID cfgID, [out] double *value);
|
| + HRESULT SetString([in] BMDDeckLinkConfigurationID cfgID, [in] BSTR value);
|
| + HRESULT GetString([in] BMDDeckLinkConfigurationID cfgID, [out] BSTR *value);
|
| + HRESULT WriteConfigurationToPreferences(void);
|
| };
|
|
|
| -/* Functions */
|
| -
|
| -extern "C" {
|
| +/* Coclasses */
|
|
|
| -
|
| -};
|
| +importlib("stdole2.tlb");
|
|
|
|
|
| -#endif /* defined(BMD_DECKLINKAPICONFIGURATION_H) */
|
|
|