Skip to content

Commit

Permalink
Update third_party/decklink (Video Capture): 10.5.2 .. 10.7
Browse files Browse the repository at this point in the history
This CL updates the files under third_party/decklink/mac/include to
the latest 10.7.0 DeckLink Blackmagic SDK.

The update provides bug fixes and added functionality and,
more importantly, enables modern cards to still keep working
(new cards refuse to work with old versions see, e.g.
https://crbug.com/471655).

BUG=475839

Review-Url: https://codereview.chromium.org/2185913002
Cr-Commit-Position: refs/heads/master@{#408180}
  • Loading branch information
yell0wd0g authored and Commit bot committed Jul 27, 2016
1 parent b793195 commit 5d43bfa
Show file tree
Hide file tree
Showing 12 changed files with 318 additions and 22 deletions.
6 changes: 3 additions & 3 deletions third_party/decklink/README.chromium
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: Blackmagic DeckLink SDK - Mac
URL: http://sw.blackmagicdesign.com/DeckLink/v10.5.2/Blackmagic_DeckLink_SDK_10.5.2.zip?Key-Pair-Id=APKAJTKA3ZJMJRQITVEA&Signature=YRlsDaU0gNjrPNSoPp1IoTBQDavl09RGMnj1exrwAP+jbrNvSX2EuYTqOn2twguM+pQ8W0cqmIl/IHSVnEXJgQB6Eh57x+ba79t9z3fPsD8lb/a6PtK4qlFeqpLK5UBQ9yl18zxtHIZCnBBIeBNoj0G2CxX2Z4IXHVJmZ1KTbECIGaLyj+tBonW+cgIBQ7yw0dQHxGLJD+xzlCrZOXpGRmhJUBs981yLrnfZ7/LirvrHT+8CyzajzEgl9xBB7TFiZUh2DLXf1BvC4NeH0g/OnYRiR7F0VWh/ZiQM/KjCPbn2MajPo5Og0jVjzxYJbIhZf0HhB6ZN0ZI8aaiMMkmHMg==&Expires=1448991563
Version: 10.5.2
URL: http://software.blackmagicdesign.com/DeckLink/v10.7/Blackmagic_DeckLink_SDK_10.7.zip
Version: 10.7.0
License: BSL (v 1.0)
License Android Compatible: yes
License File: LICENSE
Expand All @@ -13,7 +13,7 @@ Design DeckLink product line. The SDK provides both low-level control of
hardware and high-level interfaces to allow developers to easily perform common
tasks.""
The SHA-512 sum, for security reasons, as generated by shasum:
f0da72e16908de33caa6bdd9e506eeec8b3b55536840290a4e0ccf1875cfdca993e6f32fe253c79eba874b3aa382e35cb306fec003e959dbfebe3122aeb8e461
87e9efaa0ed8a6f89524410a6412adadd0fae9ce1b8d7938bc4a3121a7a526800cbf922c147a0bca4402cf082799733d4b37b8e4c977105779216b08df2feced

Local Modifications:
- The original library contains code for Linux, Windows and Mac. Here only the
Expand Down
135 changes: 128 additions & 7 deletions third_party/decklink/mac/include/DeckLinkAPI.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* -LICENSE-START-
** Copyright (c) 2015 Blackmagic Design
** Copyright (c) 2016 Blackmagic Design
**
** Permission is hereby granted, free of charge, to any person or organization
** obtaining a copy of the software and accompanying documentation covered by
Expand Down Expand Up @@ -71,6 +71,7 @@ BMD_CONST REFIID IID_IDeckLinkEncoderInput = /* 270587DA-
BMD_CONST REFIID IID_IDeckLinkVideoFrame = /* 3F716FE0-F023-4111-BE5D-EF4414C05B17 */ {0x3F,0x71,0x6F,0xE0,0xF0,0x23,0x41,0x11,0xBE,0x5D,0xEF,0x44,0x14,0xC0,0x5B,0x17};
BMD_CONST REFIID IID_IDeckLinkMutableVideoFrame = /* 69E2639F-40DA-4E19-B6F2-20ACE815C390 */ {0x69,0xE2,0x63,0x9F,0x40,0xDA,0x4E,0x19,0xB6,0xF2,0x20,0xAC,0xE8,0x15,0xC3,0x90};
BMD_CONST REFIID IID_IDeckLinkVideoFrame3DExtensions = /* DA0F7E4A-EDC7-48A8-9CDD-2DB51C729CD7 */ {0xDA,0x0F,0x7E,0x4A,0xED,0xC7,0x48,0xA8,0x9C,0xDD,0x2D,0xB5,0x1C,0x72,0x9C,0xD7};
BMD_CONST REFIID IID_IDeckLinkVideoFrameMetadataExtensions = /* D5973DC9-6432-46D0-8F0B-2496F8A1238F */ {0xD5,0x97,0x3D,0xC9,0x64,0x32,0x46,0xD0,0x8F,0x0B,0x24,0x96,0xF8,0xA1,0x23,0x8F};
BMD_CONST REFIID IID_IDeckLinkVideoInputFrame = /* 05CFE374-537C-4094-9A57-680525118F44 */ {0x05,0xCF,0xE3,0x74,0x53,0x7C,0x40,0x94,0x9A,0x57,0x68,0x05,0x25,0x11,0x8F,0x44};
BMD_CONST REFIID IID_IDeckLinkVideoFrameAncillary = /* 732E723C-D1A4-4E29-9E8E-4A88797A0004 */ {0x73,0x2E,0x72,0x3C,0xD1,0xA4,0x4E,0x29,0x9E,0x8E,0x4A,0x88,0x79,0x7A,0x00,0x04};
BMD_CONST REFIID IID_IDeckLinkEncoderPacket = /* B693F36C-316E-4AF1-B6C2-F389A4BCA620 */ {0xB6,0x93,0xF3,0x6C,0x31,0x6E,0x4A,0xF1,0xB6,0xC2,0xF3,0x89,0xA4,0xBC,0xA6,0x20};
Expand All @@ -84,6 +85,7 @@ BMD_CONST REFIID IID_IDeckLinkGLScreenPreviewHelper = /* 504E2209-
BMD_CONST REFIID IID_IDeckLinkNotificationCallback = /* B002A1EC-070D-4288-8289-BD5D36E5FF0D */ {0xB0,0x02,0xA1,0xEC,0x07,0x0D,0x42,0x88,0x82,0x89,0xBD,0x5D,0x36,0xE5,0xFF,0x0D};
BMD_CONST REFIID IID_IDeckLinkNotification = /* 0A1FB207-E215-441B-9B19-6FA1575946C5 */ {0x0A,0x1F,0xB2,0x07,0xE2,0x15,0x44,0x1B,0x9B,0x19,0x6F,0xA1,0x57,0x59,0x46,0xC5};
BMD_CONST REFIID IID_IDeckLinkAttributes = /* ABC11843-D966-44CB-96E2-A1CB5D3135C4 */ {0xAB,0xC1,0x18,0x43,0xD9,0x66,0x44,0xCB,0x96,0xE2,0xA1,0xCB,0x5D,0x31,0x35,0xC4};
BMD_CONST REFIID IID_IDeckLinkStatus = /* 5F558200-4028-49BC-BEAC-DB3FA4A96E46 */ {0x5F,0x55,0x82,0x00,0x40,0x28,0x49,0xBC,0xBE,0xAC,0xDB,0x3F,0xA4,0xA9,0x6E,0x46};
BMD_CONST REFIID IID_IDeckLinkKeyer = /* 89AFCAF5-65F8-421E-98F7-96FE5F5BFBA3 */ {0x89,0xAF,0xCA,0xF5,0x65,0xF8,0x42,0x1E,0x98,0xF7,0x96,0xFE,0x5F,0x5B,0xFB,0xA3};
BMD_CONST REFIID IID_IDeckLinkVideoConversion = /* 3BBCB8A2-DA2C-42D9-B5D8-88083644E99A */ {0x3B,0xBC,0xB8,0xA2,0xDA,0x2C,0x42,0xD9,0xB5,0xD8,0x88,0x08,0x36,0x44,0xE9,0x9A};
BMD_CONST REFIID IID_IDeckLinkDeviceNotificationCallback = /* 4997053B-0ADF-4CC8-AC70-7A50C4BE728F */ {0x49,0x97,0x05,0x3B,0x0A,0xDF,0x4C,0xC8,0xAC,0x70,0x7A,0x50,0xC4,0xBE,0x72,0x8F};
Expand Down Expand Up @@ -114,6 +116,7 @@ typedef uint32_t BMDFrameFlags;
enum _BMDFrameFlags {
bmdFrameFlagDefault = 0,
bmdFrameFlagFlipVertical = 1 << 0,
bmdFrameContainsHDRMetadata = 1 << 1,

/* Flags that are applicable only to instances of IDeckLinkVideoInputFrame */

Expand Down Expand Up @@ -292,8 +295,7 @@ enum _BMDVideo3DPackingFormat {
typedef uint32_t BMDIdleVideoOutputOperation;
enum _BMDIdleVideoOutputOperation {
bmdIdleVideoOutputBlack = 'blac',
bmdIdleVideoOutputLastFrame = 'lafa',
bmdIdleVideoOutputDesktop = 'desk'
bmdIdleVideoOutputLastFrame = 'lafa'
};

/* Enum BMDVideoEncoderFrameCodingMode - Video frame coding mode */
Expand All @@ -304,6 +306,17 @@ enum _BMDVideoEncoderFrameCodingMode {
bmdVideoEncoderFrameCodingModeIntra = 'intr'
};

/* Enum BMDDNxHRLevel - DNxHR Levels */

typedef uint32_t BMDDNxHRLevel;
enum _BMDDNxHRLevel {
bmdDNxHRLevelSQ = 'dnsq',
bmdDNxHRLevelLB = 'dnlb',
bmdDNxHRLevelHQ = 'dnhq',
bmdDNxHRLevelHQX = 'dhqx',
bmdDNxHRLevel444 = 'd444'
};

/* Enum BMDLinkConfiguration - Video link configuration */

typedef uint32_t BMDLinkConfiguration;
Expand All @@ -322,6 +335,33 @@ enum _BMDDeviceInterface {
bmdDeviceInterfaceThunderbolt = 'thun'
};

/* Enum BMDDeckLinkFrameMetadataID - DeckLink Frame Metadata ID */

typedef uint32_t BMDDeckLinkFrameMetadataID;
enum _BMDDeckLinkFrameMetadataID {
bmdDeckLinkFrameMetadataHDRElectroOpticalTransferFunc = 'eotf', // EOTF in range 0-7 as per CEA 861.3
bmdDeckLinkFrameMetadataHDRDisplayPrimariesRedX = 'hdrx', // Red display primaries in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRDisplayPrimariesRedY = 'hdry', // Red display primaries in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRDisplayPrimariesGreenX = 'hdgx', // Green display primaries in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRDisplayPrimariesGreenY = 'hdgy', // Green display primaries in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRDisplayPrimariesBlueX = 'hdbx', // Blue display primaries in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRDisplayPrimariesBlueY = 'hdby', // Blue display primaries in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRWhitePointX = 'hdwx', // White point in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRWhitePointY = 'hdwy', // White point in range 0.0 - 1.0
bmdDeckLinkFrameMetadataHDRMaxDisplayMasteringLuminance = 'hdml', // Max display mastering luminance in range 1 cd/m2 - 65535 cd/m2
bmdDeckLinkFrameMetadataHDRMinDisplayMasteringLuminance = 'hmil', // Min display mastering luminance in range 0.0001 cd/m2 - 6.5535 cd/m2
bmdDeckLinkFrameMetadataHDRMaximumContentLightLevel = 'mcll', // Maximum Content Light Level in range 1 cd/m2 - 65535 cd/m2
bmdDeckLinkFrameMetadataHDRMaximumFrameAverageLightLevel = 'fall' // Maximum Frame Average Light Level in range 1 cd/m2 - 65535 cd/m2
};

/* Enum BMDDuplexMode - Duplex for configurable ports */

typedef uint32_t BMDDuplexMode;
enum _BMDDuplexMode {
bmdDuplexModeFull = 'fdup',
bmdDuplexModeHalf = 'hdup'
};

/* Enum BMDDeckLinkAttributeID - DeckLink Attribute ID */

typedef uint32_t BMDDeckLinkAttributeID;
Expand All @@ -339,7 +379,6 @@ enum _BMDDeckLinkAttributeID {
BMDDeckLinkCanOnlyAdjustOverallVideoOutputGain = 'ovog',
BMDDeckLinkHasVideoInputAntiAliasingFilter = 'aafl',
BMDDeckLinkHasBypass = 'byps',
BMDDeckLinkSupportsDesktopDisplay = 'extd',
BMDDeckLinkSupportsClockTimingAdjustment = 'ctad',
BMDDeckLinkSupportsFullDuplex = 'fdup',
BMDDeckLinkSupportsFullFrameReferenceInputTimingOffset = 'frin',
Expand All @@ -348,6 +387,8 @@ enum _BMDDeckLinkAttributeID {
BMDDeckLinkSupportsQuadLinkSDI = 'sqls',
BMDDeckLinkSupportsIdleOutput = 'idou',
BMDDeckLinkHasLTCTimecodeInput = 'hltc',
BMDDeckLinkSupportsDuplexModeConfiguration = 'dupx',
BMDDeckLinkSupportsHDRMetadata = 'hdrm',

/* Integers */

Expand All @@ -356,19 +397,20 @@ enum _BMDDeckLinkAttributeID {
BMDDeckLinkNumberOfSubDevices = 'nsbd',
BMDDeckLinkSubDeviceIndex = 'subi',
BMDDeckLinkPersistentID = 'peid',
BMDDeckLinkDeviceGroupID = 'dgid',
BMDDeckLinkTopologicalID = 'toid',
BMDDeckLinkVideoOutputConnections = 'vocn',
BMDDeckLinkVideoInputConnections = 'vicn',
BMDDeckLinkAudioOutputConnections = 'aocn',
BMDDeckLinkAudioInputConnections = 'aicn',
BMDDeckLinkDeviceBusyState = 'dbst',
BMDDeckLinkVideoIOSupport = 'vios', // Returns a BMDVideoIOSupport bit field
BMDDeckLinkDeckControlConnections = 'dccn',
BMDDeckLinkDeviceInterface = 'dbus', // Returns a BMDDeviceInterface
BMDDeckLinkAudioInputRCAChannelCount = 'airc',
BMDDeckLinkAudioInputXLRChannelCount = 'aixc',
BMDDeckLinkAudioOutputRCAChannelCount = 'aorc',
BMDDeckLinkAudioOutputXLRChannelCount = 'aoxc',
BMDDeckLinkPairedDevicePersistentID = 'ppid',

/* Floats */

Expand All @@ -384,7 +426,8 @@ enum _BMDDeckLinkAttributeID {
BMDDeckLinkSerialPortDeviceName = 'slpn',
BMDDeckLinkVendorName = 'vndr',
BMDDeckLinkDisplayName = 'dspn',
BMDDeckLinkModelName = 'mdln'
BMDDeckLinkModelName = 'mdln',
BMDDeckLinkDeviceHandle = 'devh'
};

/* Enum BMDDeckLinkAPIInformationID - DeckLinkAPI information ID */
Expand All @@ -394,6 +437,52 @@ enum _BMDDeckLinkAPIInformationID {
BMDDeckLinkAPIVersion = 'vers'
};

/* Enum BMDDeckLinkStatusID - DeckLink Status ID */

typedef uint32_t BMDDeckLinkStatusID;
enum _BMDDeckLinkStatusID {

/* Integers */

bmdDeckLinkStatusDetectedVideoInputMode = 'dvim',
bmdDeckLinkStatusDetectedVideoInputFlags = 'dvif',
bmdDeckLinkStatusCurrentVideoInputMode = 'cvim',
bmdDeckLinkStatusCurrentVideoInputPixelFormat = 'cvip',
bmdDeckLinkStatusCurrentVideoInputFlags = 'cvif',
bmdDeckLinkStatusCurrentVideoOutputMode = 'cvom',
bmdDeckLinkStatusCurrentVideoOutputFlags = 'cvof',
bmdDeckLinkStatusPCIExpressLinkWidth = 'pwid',
bmdDeckLinkStatusPCIExpressLinkSpeed = 'plnk',
bmdDeckLinkStatusLastVideoOutputPixelFormat = 'opix',
bmdDeckLinkStatusReferenceSignalMode = 'refm',
bmdDeckLinkStatusReferenceSignalFlags = 'reff',
bmdDeckLinkStatusDuplexMode = 'dupx',
bmdDeckLinkStatusBusy = 'busy',

/* Flags */

bmdDeckLinkStatusVideoInputSignalLocked = 'visl',
bmdDeckLinkStatusReferenceSignalLocked = 'refl'
};

/* Enum BMDDeckLinkVideoStatusFlags - */

typedef uint32_t BMDDeckLinkVideoStatusFlags;
enum _BMDDeckLinkVideoStatusFlags {
bmdDeckLinkVideoStatusPsF = 1 << 0,
bmdDeckLinkVideoStatusDualStream3D = 1 << 1
};

/* Enum BMDDuplexStatus - Duplex status of the device */

typedef uint32_t BMDDuplexStatus;
enum _BMDDuplexStatus {
bmdDuplexStatusFullDuplex = 'fdup',
bmdDuplexStatusHalfDuplex = 'hdup',
bmdDuplexStatusSimplex = 'splx',
bmdDuplexStatusInactive = 'inac'
};

/* Enum BMDDeviceBusyState - Current device busy state */

typedef uint32_t BMDDeviceBusyState;
Expand Down Expand Up @@ -426,7 +515,8 @@ enum _BMD3DPreviewFormat {

typedef uint32_t BMDNotifications;
enum _BMDNotifications {
bmdPreferencesChanged = 'pref'
bmdPreferencesChanged = 'pref',
bmdStatusChanged = 'stat'
};

#if defined(__cplusplus)
Expand All @@ -446,6 +536,7 @@ class IDeckLinkEncoderInput;
class IDeckLinkVideoFrame;
class IDeckLinkMutableVideoFrame;
class IDeckLinkVideoFrame3DExtensions;
class IDeckLinkVideoFrameMetadataExtensions;
class IDeckLinkVideoInputFrame;
class IDeckLinkVideoFrameAncillary;
class IDeckLinkEncoderPacket;
Expand All @@ -459,6 +550,7 @@ class IDeckLinkGLScreenPreviewHelper;
class IDeckLinkNotificationCallback;
class IDeckLinkNotification;
class IDeckLinkAttributes;
class IDeckLinkStatus;
class IDeckLinkKeyer;
class IDeckLinkVideoConversion;
class IDeckLinkDeviceNotificationCallback;
Expand Down Expand Up @@ -723,6 +815,20 @@ class IDeckLinkVideoFrame3DExtensions : public IUnknown
virtual ~IDeckLinkVideoFrame3DExtensions () {} // call Release method to drop reference count
};

/* Interface IDeckLinkVideoFrameMetadataExtensions - Optional interface implemented on IDeckLinkVideoFrame to support frame metadata such as HDMI HDR information */

class IDeckLinkVideoFrameMetadataExtensions : public IUnknown
{
public:
virtual HRESULT GetInt (/* in */ BMDDeckLinkFrameMetadataID metadataID, /* out */ int64_t *value) = 0;
virtual HRESULT GetFloat (/* in */ BMDDeckLinkFrameMetadataID metadataID, /* out */ double *value) = 0;
virtual HRESULT GetFlag (/* in */ BMDDeckLinkFrameMetadataID metadataID, /* out */ bool* value) = 0;
virtual HRESULT GetString (/* in */ BMDDeckLinkFrameMetadataID metadataID, /* out */ CFStringRef *value) = 0;

protected:
virtual ~IDeckLinkVideoFrameMetadataExtensions () {} // call Release method to drop reference count
};

/* Interface IDeckLinkVideoInputFrame - Provided by the IDeckLinkVideoInput frame arrival callback. */

class IDeckLinkVideoInputFrame : public IDeckLinkVideoFrame
Expand Down Expand Up @@ -883,6 +989,21 @@ class IDeckLinkAttributes : public IUnknown
virtual ~IDeckLinkAttributes () {} // call Release method to drop reference count
};

/* Interface IDeckLinkStatus - DeckLink Status interface */

class IDeckLinkStatus : public IUnknown
{
public:
virtual HRESULT GetFlag (/* in */ BMDDeckLinkStatusID statusID, /* out */ bool *value) = 0;
virtual HRESULT GetInt (/* in */ BMDDeckLinkStatusID statusID, /* out */ int64_t *value) = 0;
virtual HRESULT GetFloat (/* in */ BMDDeckLinkStatusID statusID, /* out */ double *value) = 0;
virtual HRESULT GetString (/* in */ BMDDeckLinkStatusID statusID, /* out */ CFStringRef *value) = 0;
virtual HRESULT GetBytes (/* in */ BMDDeckLinkStatusID statusID, /* out */ void *buffer, /* in, out */ uint32_t *bufferSize) = 0;

protected:
virtual ~IDeckLinkStatus () {} // call Release method to drop reference count
};

/* Interface IDeckLinkKeyer - DeckLink Keyer interface */

class IDeckLinkKeyer : public IUnknown
Expand Down
22 changes: 18 additions & 4 deletions third_party/decklink/mac/include/DeckLinkAPIConfiguration.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* -LICENSE-START-
** Copyright (c) 2015 Blackmagic Design
** Copyright (c) 2016 Blackmagic Design
**
** Permission is hereby granted, free of charge, to any person or organization
** obtaining a copy of the software and accompanying documentation covered by
Expand Down Expand Up @@ -43,7 +43,7 @@
// Interface ID Declarations

BMD_CONST REFIID IID_IDeckLinkConfiguration = /* CB71734A-FE37-4E8D-8E13-802133A1C3F2 */ {0xCB,0x71,0x73,0x4A,0xFE,0x37,0x4E,0x8D,0x8E,0x13,0x80,0x21,0x33,0xA1,0xC3,0xF2};
BMD_CONST REFIID IID_IDeckLinkEncoderConfiguration = /* 67455668-0848-45DF-8D8E-350A77C9A028 */ {0x67,0x45,0x56,0x68,0x08,0x48,0x45,0xDF,0x8D,0x8E,0x35,0x0A,0x77,0xC9,0xA0,0x28};
BMD_CONST REFIID IID_IDeckLinkEncoderConfiguration = /* 138050E5-C60A-4552-BF3F-0F358049327E */ {0x13,0x80,0x50,0xE5,0xC6,0x0A,0x45,0x52,0xBF,0x3F,0x0F,0x35,0x80,0x49,0x32,0x7E};

/* Enum BMDDeckLinkConfigurationID - DeckLink Configuration ID */

Expand All @@ -63,6 +63,7 @@ enum _BMDDeckLinkConfigurationID {
bmdDeckLinkConfigHDMI3DPackingFormat = '3dpf',
bmdDeckLinkConfigBypass = 'byps',
bmdDeckLinkConfigClockTimingAdjustment = 'ctad',
bmdDeckLinkConfigDuplexMode = 'dupx',

/* Audio Input/Output Flags */

Expand Down Expand Up @@ -182,7 +183,20 @@ enum _BMDDeckLinkEncoderConfigurationID {

/* HEVC/H.265 Encoder Integers */

bmdDeckLinkEncoderConfigH265TargetBitrate = 'htbr'
bmdDeckLinkEncoderConfigH265TargetBitrate = 'htbr',

/* DNxHR/DNxHD Compression ID */

bmdDeckLinkEncoderConfigDNxHRCompressionID = 'dcid',

/* DNxHR/DNxHD Level */

bmdDeckLinkEncoderConfigDNxHRLevel = 'dlev',

/* Encoded Sample Decriptions */

bmdDeckLinkEncoderConfigMPEG4SampleDescription = 'stsE', // Full MPEG4 sample description (aka SampleEntry of an 'stsd' atom-box). Useful for MediaFoundation, QuickTime, MKV and more
bmdDeckLinkEncoderConfigMPEG4CodecSpecificDesc = 'esds' // Sample description extensions only (atom stream, each with size and fourCC header). Useful for AVFoundation, VideoToolbox, MKV and more
};

// Forward Declarations
Expand Down Expand Up @@ -222,7 +236,7 @@ class IDeckLinkEncoderConfiguration : public IUnknown
virtual HRESULT GetFloat (/* in */ BMDDeckLinkEncoderConfigurationID cfgID, /* out */ double *value) = 0;
virtual HRESULT SetString (/* in */ BMDDeckLinkEncoderConfigurationID cfgID, /* in */ CFStringRef value) = 0;
virtual HRESULT GetString (/* in */ BMDDeckLinkEncoderConfigurationID cfgID, /* out */ CFStringRef *value) = 0;
virtual HRESULT GetDecoderConfigurationInfo (/* out */ void *buffer, /* in */ long bufferSize, /* out */ long *returnedSize) = 0;
virtual HRESULT GetBytes (/* in */ BMDDeckLinkEncoderConfigurationID cfgID, /* out */ void *buffer /* optional */, /* in, out */ uint32_t *bufferSize) = 0;

protected:
virtual ~IDeckLinkEncoderConfiguration () {} // call Release method to drop reference count
Expand Down
Loading

0 comments on commit 5d43bfa

Please sign in to comment.