DeckLinkAPI_v7_6.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. /* -LICENSE-START-
  2. ** Copyright (c) 2009 Blackmagic Design
  3. **
  4. ** Permission is hereby granted, free of charge, to any person or organization
  5. ** obtaining a copy of the software and accompanying documentation covered by
  6. ** this license (the "Software") to use, reproduce, display, distribute,
  7. ** execute, and transmit the Software, and to prepare derivative works of the
  8. ** Software, and to permit third-parties to whom the Software is furnished to
  9. ** do so, all subject to the following:
  10. **
  11. ** The copyright notices in the Software and this entire statement, including
  12. ** the above license grant, this restriction and the following disclaimer,
  13. ** must be included in all copies of the Software, in whole or in part, and
  14. ** all derivative works of the Software, unless such copies or derivative
  15. ** works are solely in the form of machine-executable object code generated by
  16. ** a source language processor.
  17. **
  18. ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. ** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. ** FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
  21. ** SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
  22. ** FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
  23. ** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  24. ** DEALINGS IN THE SOFTWARE.
  25. ** -LICENSE-END-
  26. */
  27. /* DeckLinkAPI_v7_6.h */
  28. #ifndef __DeckLink_API_v7_6_h__
  29. #define __DeckLink_API_v7_6_h__
  30. #include "DeckLinkAPI.h"
  31. // Interface ID Declarations
  32. #define IID_IDeckLinkVideoOutputCallback_v7_6 /* E763A626-4A3C-49D1-BF13-E7AD3692AE52 */ (REFIID){0xE7,0x63,0xA6,0x26,0x4A,0x3C,0x49,0xD1,0xBF,0x13,0xE7,0xAD,0x36,0x92,0xAE,0x52}
  33. #define IID_IDeckLinkInputCallback_v7_6 /* 31D28EE7-88B6-4CB1-897A-CDBF79A26414 */ (REFIID){0x31,0xD2,0x8E,0xE7,0x88,0xB6,0x4C,0xB1,0x89,0x7A,0xCD,0xBF,0x79,0xA2,0x64,0x14}
  34. #define IID_IDeckLinkDisplayModeIterator_v7_6 /* 455D741F-1779-4800-86F5-0B5D13D79751 */ (REFIID){0x45,0x5D,0x74,0x1F,0x17,0x79,0x48,0x00,0x86,0xF5,0x0B,0x5D,0x13,0xD7,0x97,0x51}
  35. #define IID_IDeckLinkDisplayMode_v7_6 /* 87451E84-2B7E-439E-A629-4393EA4A8550 */ (REFIID){0x87,0x45,0x1E,0x84,0x2B,0x7E,0x43,0x9E,0xA6,0x29,0x43,0x93,0xEA,0x4A,0x85,0x50}
  36. #define IID_IDeckLinkOutput_v7_6 /* 29228142-EB8C-4141-A621-F74026450955 */ (REFIID){0x29,0x22,0x81,0x42,0xEB,0x8C,0x41,0x41,0xA6,0x21,0xF7,0x40,0x26,0x45,0x09,0x55}
  37. #define IID_IDeckLinkInput_v7_6 /* 300C135A-9F43-48E2-9906-6D7911D93CF1 */ (REFIID){0x30,0x0C,0x13,0x5A,0x9F,0x43,0x48,0xE2,0x99,0x06,0x6D,0x79,0x11,0xD9,0x3C,0xF1}
  38. #define IID_IDeckLinkTimecode_v7_6 /* EFB9BCA6-A521-44F7-BD69-2332F24D9EE6 */ (REFIID){0xEF,0xB9,0xBC,0xA6,0xA5,0x21,0x44,0xF7,0xBD,0x69,0x23,0x32,0xF2,0x4D,0x9E,0xE6}
  39. #define IID_IDeckLinkVideoFrame_v7_6 /* A8D8238E-6B18-4196-99E1-5AF717B83D32 */ (REFIID){0xA8,0xD8,0x23,0x8E,0x6B,0x18,0x41,0x96,0x99,0xE1,0x5A,0xF7,0x17,0xB8,0x3D,0x32}
  40. #define IID_IDeckLinkMutableVideoFrame_v7_6 /* 46FCEE00-B4E6-43D0-91C0-023A7FCEB34F */ (REFIID){0x46,0xFC,0xEE,0x00,0xB4,0xE6,0x43,0xD0,0x91,0xC0,0x02,0x3A,0x7F,0xCE,0xB3,0x4F}
  41. #define IID_IDeckLinkVideoInputFrame_v7_6 /* 9A74FA41-AE9F-47AC-8CF4-01F42DD59965 */ (REFIID){0x9A,0x74,0xFA,0x41,0xAE,0x9F,0x47,0xAC,0x8C,0xF4,0x01,0xF4,0x2D,0xD5,0x99,0x65}
  42. #define IID_IDeckLinkScreenPreviewCallback_v7_6 /* 373F499D-4B4D-4518-AD22-6354E5A5825E */ (REFIID){0x37,0x3F,0x49,0x9D,0x4B,0x4D,0x45,0x18,0xAD,0x22,0x63,0x54,0xE5,0xA5,0x82,0x5E}
  43. #define IID_IDeckLinkGLScreenPreviewHelper_v7_6 /* BA575CD9-A15E-497B-B2C2-F9AFE7BE4EBA */ (REFIID){0xBA,0x57,0x5C,0xD9,0xA1,0x5E,0x49,0x7B,0xB2,0xC2,0xF9,0xAF,0xE7,0xBE,0x4E,0xBA}
  44. #define IID_IDeckLinkVideoConversion_v7_6 /* 3EB504C9-F97D-40FE-A158-D407D48CB53B */ (REFIID){0x3E,0xB5,0x04,0xC9,0xF9,0x7D,0x40,0xFE,0xA1,0x58,0xD4,0x07,0xD4,0x8C,0xB5,0x3B}
  45. #define IID_IDeckLinkConfiguration_v7_6 /* B8EAD569-B764-47F0-A73F-AE40DF6CBF10 */ (REFIID){0xB8,0xEA,0xD5,0x69,0xB7,0x64,0x47,0xF0,0xA7,0x3F,0xAE,0x40,0xDF,0x6C,0xBF,0x10}
  46. #if defined(__cplusplus)
  47. /* Enum BMDVideoConnection - Video connection types */
  48. typedef uint32_t BMDVideoConnection_v7_6;
  49. enum _BMDVideoConnection_v7_6 {
  50. bmdVideoConnectionSDI_v7_6 = 'sdi ',
  51. bmdVideoConnectionHDMI_v7_6 = 'hdmi',
  52. bmdVideoConnectionOpticalSDI_v7_6 = 'opti',
  53. bmdVideoConnectionComponent_v7_6 = 'cpnt',
  54. bmdVideoConnectionComposite_v7_6 = 'cmst',
  55. bmdVideoConnectionSVideo_v7_6 = 'svid'
  56. };
  57. // Forward Declarations
  58. class IDeckLinkVideoOutputCallback_v7_6;
  59. class IDeckLinkInputCallback_v7_6;
  60. class IDeckLinkDisplayModeIterator_v7_6;
  61. class IDeckLinkDisplayMode_v7_6;
  62. class IDeckLinkOutput_v7_6;
  63. class IDeckLinkInput_v7_6;
  64. class IDeckLinkTimecode_v7_6;
  65. class IDeckLinkVideoFrame_v7_6;
  66. class IDeckLinkMutableVideoFrame_v7_6;
  67. class IDeckLinkVideoInputFrame_v7_6;
  68. class IDeckLinkScreenPreviewCallback_v7_6;
  69. class IDeckLinkGLScreenPreviewHelper_v7_6;
  70. class IDeckLinkVideoConversion_v7_6;
  71. /* Interface IDeckLinkVideoOutputCallback - Frame completion callback. */
  72. class IDeckLinkVideoOutputCallback_v7_6 : public IUnknown
  73. {
  74. public:
  75. virtual HRESULT ScheduledFrameCompleted (/* in */ IDeckLinkVideoFrame_v7_6 *completedFrame, /* in */ BMDOutputFrameCompletionResult result) = 0;
  76. virtual HRESULT ScheduledPlaybackHasStopped (void) = 0;
  77. protected:
  78. virtual ~IDeckLinkVideoOutputCallback_v7_6 () {}; // call Release method to drop reference count
  79. };
  80. /* Interface IDeckLinkInputCallback - Frame arrival callback. */
  81. class IDeckLinkInputCallback_v7_6 : public IUnknown
  82. {
  83. public:
  84. virtual HRESULT VideoInputFormatChanged (/* in */ BMDVideoInputFormatChangedEvents notificationEvents, /* in */ IDeckLinkDisplayMode_v7_6 *newDisplayMode, /* in */ BMDDetectedVideoInputFormatFlags detectedSignalFlags) = 0;
  85. virtual HRESULT VideoInputFrameArrived (/* in */ IDeckLinkVideoInputFrame_v7_6* videoFrame, /* in */ IDeckLinkAudioInputPacket* audioPacket) = 0;
  86. protected:
  87. virtual ~IDeckLinkInputCallback_v7_6 () {}; // call Release method to drop reference count
  88. };
  89. /* Interface IDeckLinkDisplayModeIterator - enumerates over supported input/output display modes. */
  90. class IDeckLinkDisplayModeIterator_v7_6 : public IUnknown
  91. {
  92. public:
  93. virtual HRESULT Next (/* out */ IDeckLinkDisplayMode_v7_6 **deckLinkDisplayMode) = 0;
  94. protected:
  95. virtual ~IDeckLinkDisplayModeIterator_v7_6 () {}; // call Release method to drop reference count
  96. };
  97. /* Interface IDeckLinkDisplayMode - represents a display mode */
  98. class IDeckLinkDisplayMode_v7_6 : public IUnknown
  99. {
  100. public:
  101. virtual HRESULT GetName (/* out */ const char **name) = 0;
  102. virtual BMDDisplayMode GetDisplayMode (void) = 0;
  103. virtual long GetWidth (void) = 0;
  104. virtual long GetHeight (void) = 0;
  105. virtual HRESULT GetFrameRate (/* out */ BMDTimeValue *frameDuration, /* out */ BMDTimeScale *timeScale) = 0;
  106. virtual BMDFieldDominance GetFieldDominance (void) = 0;
  107. protected:
  108. virtual ~IDeckLinkDisplayMode_v7_6 () {}; // call Release method to drop reference count
  109. };
  110. /* Interface IDeckLinkOutput - Created by QueryInterface from IDeckLink. */
  111. class IDeckLinkOutput_v7_6 : public IUnknown
  112. {
  113. public:
  114. virtual HRESULT DoesSupportVideoMode (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* out */ BMDDisplayModeSupport *result) = 0;
  115. virtual HRESULT GetDisplayModeIterator (/* out */ IDeckLinkDisplayModeIterator_v7_6 **iterator) = 0;
  116. virtual HRESULT SetScreenPreviewCallback (/* in */ IDeckLinkScreenPreviewCallback_v7_6 *previewCallback) = 0;
  117. /* Video Output */
  118. virtual HRESULT EnableVideoOutput (/* in */ BMDDisplayMode displayMode, /* in */ BMDVideoOutputFlags flags) = 0;
  119. virtual HRESULT DisableVideoOutput (void) = 0;
  120. virtual HRESULT SetVideoOutputFrameMemoryAllocator (/* in */ IDeckLinkMemoryAllocator *theAllocator) = 0;
  121. virtual HRESULT CreateVideoFrame (/* in */ int32_t width, /* in */ int32_t height, /* in */ int32_t rowBytes, /* in */ BMDPixelFormat pixelFormat, /* in */ BMDFrameFlags flags, /* out */ IDeckLinkMutableVideoFrame_v7_6 **outFrame) = 0;
  122. virtual HRESULT CreateAncillaryData (/* in */ BMDPixelFormat pixelFormat, /* out */ IDeckLinkVideoFrameAncillary **outBuffer) = 0;
  123. virtual HRESULT DisplayVideoFrameSync (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame) = 0;
  124. virtual HRESULT ScheduleVideoFrame (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame, /* in */ BMDTimeValue displayTime, /* in */ BMDTimeValue displayDuration, /* in */ BMDTimeScale timeScale) = 0;
  125. virtual HRESULT SetScheduledFrameCompletionCallback (/* in */ IDeckLinkVideoOutputCallback_v7_6 *theCallback) = 0;
  126. virtual HRESULT GetBufferedVideoFrameCount (/* out */ uint32_t *bufferedFrameCount) = 0;
  127. /* Audio Output */
  128. virtual HRESULT EnableAudioOutput (/* in */ BMDAudioSampleRate sampleRate, /* in */ BMDAudioSampleType sampleType, /* in */ uint32_t channelCount, /* in */ BMDAudioOutputStreamType streamType) = 0;
  129. virtual HRESULT DisableAudioOutput (void) = 0;
  130. virtual HRESULT WriteAudioSamplesSync (/* in */ void *buffer, /* in */ uint32_t sampleFrameCount, /* out */ uint32_t *sampleFramesWritten) = 0;
  131. virtual HRESULT BeginAudioPreroll (void) = 0;
  132. virtual HRESULT EndAudioPreroll (void) = 0;
  133. virtual HRESULT ScheduleAudioSamples (/* in */ void *buffer, /* in */ uint32_t sampleFrameCount, /* in */ BMDTimeValue streamTime, /* in */ BMDTimeScale timeScale, /* out */ uint32_t *sampleFramesWritten) = 0;
  134. virtual HRESULT GetBufferedAudioSampleFrameCount (/* out */ uint32_t *bufferedSampleFrameCount) = 0;
  135. virtual HRESULT FlushBufferedAudioSamples (void) = 0;
  136. virtual HRESULT SetAudioCallback (/* in */ IDeckLinkAudioOutputCallback *theCallback) = 0;
  137. /* Output Control */
  138. virtual HRESULT StartScheduledPlayback (/* in */ BMDTimeValue playbackStartTime, /* in */ BMDTimeScale timeScale, /* in */ double playbackSpeed) = 0;
  139. virtual HRESULT StopScheduledPlayback (/* in */ BMDTimeValue stopPlaybackAtTime, /* out */ BMDTimeValue *actualStopTime, /* in */ BMDTimeScale timeScale) = 0;
  140. virtual HRESULT IsScheduledPlaybackRunning (/* out */ bool *active) = 0;
  141. virtual HRESULT GetScheduledStreamTime (/* in */ BMDTimeScale desiredTimeScale, /* out */ BMDTimeValue *streamTime, /* out */ double *playbackSpeed) = 0;
  142. /* Hardware Timing */
  143. virtual HRESULT GetHardwareReferenceClock (/* in */ BMDTimeScale desiredTimeScale, /* out */ BMDTimeValue *hardwareTime, /* out */ BMDTimeValue *timeInFrame, /* out */ BMDTimeValue *ticksPerFrame) = 0;
  144. protected:
  145. virtual ~IDeckLinkOutput_v7_6 () {}; // call Release method to drop reference count
  146. };
  147. /* Interface IDeckLinkInput_v7_6 - Created by QueryInterface from IDeckLink. */
  148. class IDeckLinkInput_v7_6 : public IUnknown
  149. {
  150. public:
  151. virtual HRESULT DoesSupportVideoMode (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* out */ BMDDisplayModeSupport *result) = 0;
  152. virtual HRESULT GetDisplayModeIterator (/* out */ IDeckLinkDisplayModeIterator_v7_6 **iterator) = 0;
  153. virtual HRESULT SetScreenPreviewCallback (/* in */ IDeckLinkScreenPreviewCallback_v7_6 *previewCallback) = 0;
  154. /* Video Input */
  155. virtual HRESULT EnableVideoInput (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* in */ BMDVideoInputFlags flags) = 0;
  156. virtual HRESULT DisableVideoInput (void) = 0;
  157. virtual HRESULT GetAvailableVideoFrameCount (/* out */ uint32_t *availableFrameCount) = 0;
  158. /* Audio Input */
  159. virtual HRESULT EnableAudioInput (/* in */ BMDAudioSampleRate sampleRate, /* in */ BMDAudioSampleType sampleType, /* in */ uint32_t channelCount) = 0;
  160. virtual HRESULT DisableAudioInput (void) = 0;
  161. virtual HRESULT GetAvailableAudioSampleFrameCount (/* out */ uint32_t *availableSampleFrameCount) = 0;
  162. /* Input Control */
  163. virtual HRESULT StartStreams (void) = 0;
  164. virtual HRESULT StopStreams (void) = 0;
  165. virtual HRESULT PauseStreams (void) = 0;
  166. virtual HRESULT FlushStreams (void) = 0;
  167. virtual HRESULT SetCallback (/* in */ IDeckLinkInputCallback_v7_6 *theCallback) = 0;
  168. /* Hardware Timing */
  169. virtual HRESULT GetHardwareReferenceClock (/* in */ BMDTimeScale desiredTimeScale, /* out */ BMDTimeValue *hardwareTime, /* out */ BMDTimeValue *timeInFrame, /* out */ BMDTimeValue *ticksPerFrame) = 0;
  170. protected:
  171. virtual ~IDeckLinkInput_v7_6 () {}; // call Release method to drop reference count
  172. };
  173. /* Interface IDeckLinkTimecode - Used for video frame timecode representation. */
  174. class IDeckLinkTimecode_v7_6 : public IUnknown
  175. {
  176. public:
  177. virtual BMDTimecodeBCD GetBCD (void) = 0;
  178. virtual HRESULT GetComponents (/* out */ uint8_t *hours, /* out */ uint8_t *minutes, /* out */ uint8_t *seconds, /* out */ uint8_t *frames) = 0;
  179. virtual HRESULT GetString (/* out */ const char **timecode) = 0;
  180. virtual BMDTimecodeFlags GetFlags (void) = 0;
  181. protected:
  182. virtual ~IDeckLinkTimecode_v7_6 () {}; // call Release method to drop reference count
  183. };
  184. /* Interface IDeckLinkVideoFrame - Interface to encapsulate a video frame; can be caller-implemented. */
  185. class IDeckLinkVideoFrame_v7_6 : public IUnknown
  186. {
  187. public:
  188. virtual long GetWidth (void) = 0;
  189. virtual long GetHeight (void) = 0;
  190. virtual long GetRowBytes (void) = 0;
  191. virtual BMDPixelFormat GetPixelFormat (void) = 0;
  192. virtual BMDFrameFlags GetFlags (void) = 0;
  193. virtual HRESULT GetBytes (/* out */ void **buffer) = 0;
  194. virtual HRESULT GetTimecode (BMDTimecodeFormat format, /* out */ IDeckLinkTimecode_v7_6 **timecode) = 0;
  195. virtual HRESULT GetAncillaryData (/* out */ IDeckLinkVideoFrameAncillary **ancillary) = 0;
  196. protected:
  197. virtual ~IDeckLinkVideoFrame_v7_6 () {}; // call Release method to drop reference count
  198. };
  199. /* Interface IDeckLinkMutableVideoFrame - Created by IDeckLinkOutput::CreateVideoFrame. */
  200. class IDeckLinkMutableVideoFrame_v7_6 : public IDeckLinkVideoFrame_v7_6
  201. {
  202. public:
  203. virtual HRESULT SetFlags (BMDFrameFlags newFlags) = 0;
  204. virtual HRESULT SetTimecode (BMDTimecodeFormat format, /* in */ IDeckLinkTimecode_v7_6 *timecode) = 0;
  205. virtual HRESULT SetTimecodeFromComponents (BMDTimecodeFormat format, uint8_t hours, uint8_t minutes, uint8_t seconds, uint8_t frames, BMDTimecodeFlags flags) = 0;
  206. virtual HRESULT SetAncillaryData (/* in */ IDeckLinkVideoFrameAncillary *ancillary) = 0;
  207. protected:
  208. virtual ~IDeckLinkMutableVideoFrame_v7_6 () {}; // call Release method to drop reference count
  209. };
  210. /* Interface IDeckLinkVideoInputFrame - Provided by the IDeckLinkVideoInput frame arrival callback. */
  211. class IDeckLinkVideoInputFrame_v7_6 : public IDeckLinkVideoFrame_v7_6
  212. {
  213. public:
  214. virtual HRESULT GetStreamTime (/* out */ BMDTimeValue *frameTime, /* out */ BMDTimeValue *frameDuration, BMDTimeScale timeScale) = 0;
  215. virtual HRESULT GetHardwareReferenceTimestamp (BMDTimeScale timeScale, /* out */ BMDTimeValue *frameTime, /* out */ BMDTimeValue *frameDuration) = 0;
  216. protected:
  217. virtual ~IDeckLinkVideoInputFrame_v7_6 () {}; // call Release method to drop reference count
  218. };
  219. /* Interface IDeckLinkScreenPreviewCallback - Screen preview callback */
  220. class IDeckLinkScreenPreviewCallback_v7_6 : public IUnknown
  221. {
  222. public:
  223. virtual HRESULT DrawFrame (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame) = 0;
  224. protected:
  225. virtual ~IDeckLinkScreenPreviewCallback_v7_6 () {}; // call Release method to drop reference count
  226. };
  227. /* Interface IDeckLinkGLScreenPreviewHelper - Created with CoCreateInstance(). */
  228. class IDeckLinkGLScreenPreviewHelper_v7_6 : public IUnknown
  229. {
  230. public:
  231. /* Methods must be called with OpenGL context set */
  232. virtual HRESULT InitializeGL (void) = 0;
  233. virtual HRESULT PaintGL (void) = 0;
  234. virtual HRESULT SetFrame (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame) = 0;
  235. protected:
  236. virtual ~IDeckLinkGLScreenPreviewHelper_v7_6 () {}; // call Release method to drop reference count
  237. };
  238. /* Interface IDeckLinkVideoConversion - Created with CoCreateInstance(). */
  239. class IDeckLinkVideoConversion_v7_6 : public IUnknown
  240. {
  241. public:
  242. virtual HRESULT ConvertFrame (/* in */ IDeckLinkVideoFrame_v7_6* srcFrame, /* in */ IDeckLinkVideoFrame_v7_6* dstFrame) = 0;
  243. protected:
  244. virtual ~IDeckLinkVideoConversion_v7_6 () {}; // call Release method to drop reference count
  245. };
  246. /* Interface IDeckLinkConfiguration - Created by QueryInterface from IDeckLink. */
  247. class IDeckLinkConfiguration_v7_6 : public IUnknown
  248. {
  249. public:
  250. virtual HRESULT GetConfigurationValidator (/* out */ IDeckLinkConfiguration_v7_6 **configObject) = 0;
  251. virtual HRESULT WriteConfigurationToPreferences (void) = 0;
  252. /* Video Output Configuration */
  253. virtual HRESULT SetVideoOutputFormat (/* in */ BMDVideoConnection_v7_6 videoOutputConnection) = 0;
  254. virtual HRESULT IsVideoOutputActive (/* in */ BMDVideoConnection_v7_6 videoOutputConnection, /* out */ bool *active) = 0;
  255. virtual HRESULT SetAnalogVideoOutputFlags (/* in */ BMDAnalogVideoFlags analogVideoFlags) = 0;
  256. virtual HRESULT GetAnalogVideoOutputFlags (/* out */ BMDAnalogVideoFlags *analogVideoFlags) = 0;
  257. virtual HRESULT EnableFieldFlickerRemovalWhenPaused (/* in */ bool enable) = 0;
  258. virtual HRESULT IsEnabledFieldFlickerRemovalWhenPaused (/* out */ bool *enabled) = 0;
  259. virtual HRESULT Set444And3GBpsVideoOutput (/* in */ bool enable444VideoOutput, /* in */ bool enable3GbsOutput) = 0;
  260. virtual HRESULT Get444And3GBpsVideoOutput (/* out */ bool *is444VideoOutputEnabled, /* out */ bool *threeGbsOutputEnabled) = 0;
  261. virtual HRESULT SetVideoOutputConversionMode (/* in */ BMDVideoOutputConversionMode conversionMode) = 0;
  262. virtual HRESULT GetVideoOutputConversionMode (/* out */ BMDVideoOutputConversionMode *conversionMode) = 0;
  263. virtual HRESULT Set_HD1080p24_to_HD1080i5994_Conversion (/* in */ bool enable) = 0;
  264. virtual HRESULT Get_HD1080p24_to_HD1080i5994_Conversion (/* out */ bool *enabled) = 0;
  265. /* Video Input Configuration */
  266. virtual HRESULT SetVideoInputFormat (/* in */ BMDVideoConnection_v7_6 videoInputFormat) = 0;
  267. virtual HRESULT GetVideoInputFormat (/* out */ BMDVideoConnection_v7_6 *videoInputFormat) = 0;
  268. virtual HRESULT SetAnalogVideoInputFlags (/* in */ BMDAnalogVideoFlags analogVideoFlags) = 0;
  269. virtual HRESULT GetAnalogVideoInputFlags (/* out */ BMDAnalogVideoFlags *analogVideoFlags) = 0;
  270. virtual HRESULT SetVideoInputConversionMode (/* in */ BMDVideoInputConversionMode conversionMode) = 0;
  271. virtual HRESULT GetVideoInputConversionMode (/* out */ BMDVideoInputConversionMode *conversionMode) = 0;
  272. virtual HRESULT SetBlackVideoOutputDuringCapture (/* in */ bool blackOutInCapture) = 0;
  273. virtual HRESULT GetBlackVideoOutputDuringCapture (/* out */ bool *blackOutInCapture) = 0;
  274. virtual HRESULT Set32PulldownSequenceInitialTimecodeFrame (/* in */ uint32_t aFrameTimecode) = 0;
  275. virtual HRESULT Get32PulldownSequenceInitialTimecodeFrame (/* out */ uint32_t *aFrameTimecode) = 0;
  276. virtual HRESULT SetVancSourceLineMapping (/* in */ uint32_t activeLine1VANCsource, /* in */ uint32_t activeLine2VANCsource, /* in */ uint32_t activeLine3VANCsource) = 0;
  277. virtual HRESULT GetVancSourceLineMapping (/* out */ uint32_t *activeLine1VANCsource, /* out */ uint32_t *activeLine2VANCsource, /* out */ uint32_t *activeLine3VANCsource) = 0;
  278. /* Audio Input Configuration */
  279. virtual HRESULT SetAudioInputFormat (/* in */ BMDAudioConnection audioInputFormat) = 0;
  280. virtual HRESULT GetAudioInputFormat (/* out */ BMDAudioConnection *audioInputFormat) = 0;
  281. };
  282. /* Functions */
  283. extern "C" {
  284. IDeckLinkIterator* CreateDeckLinkIteratorInstance_v7_6 (void);
  285. IDeckLinkGLScreenPreviewHelper_v7_6* CreateOpenGLScreenPreviewHelper_v7_6 (void);
  286. IDeckLinkVideoConversion_v7_6* CreateVideoConversionInstance_v7_6 (void);
  287. };
  288. #endif // defined(__cplusplus)
  289. #endif // __DeckLink_API_v7_6_h__