]> git.sesse.net Git - kdenlive/blob - src/blackmagic/include/DeckLinkAPI_v7_6.h
* Add preliminary support for Blackmagic HDMI capture card
[kdenlive] / src / blackmagic / include / DeckLinkAPI_v7_6.h
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
28 /* DeckLinkAPI_v7_6.h */
29
30 #ifndef __DeckLink_API_v7_6_h__
31 #define __DeckLink_API_v7_6_h__
32
33 #include "DeckLinkAPI.h"
34
35 // Interface ID Declarations
36
37 #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}
38 #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}
39 #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}
40 #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}
41 #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}
42 #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}
43 #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}
44 #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}
45 #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}
46 #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}
47 #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}
48 #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}
49 #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}
50 #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}
51
52
53 #if defined(__cplusplus)
54
55 /* Enum BMDVideoConnection - Video connection types */
56
57 typedef uint32_t BMDVideoConnection_v7_6;
58 enum _BMDVideoConnection_v7_6 {
59     bmdVideoConnectionSDI_v7_6                              = 'sdi ',
60     bmdVideoConnectionHDMI_v7_6                             = 'hdmi',
61     bmdVideoConnectionOpticalSDI_v7_6                       = 'opti',
62     bmdVideoConnectionComponent_v7_6                        = 'cpnt',
63     bmdVideoConnectionComposite_v7_6                        = 'cmst',
64     bmdVideoConnectionSVideo_v7_6                           = 'svid'
65 };
66
67 // Forward Declarations
68
69 class IDeckLinkVideoOutputCallback_v7_6;
70 class IDeckLinkInputCallback_v7_6;
71 class IDeckLinkDisplayModeIterator_v7_6;
72 class IDeckLinkDisplayMode_v7_6;
73 class IDeckLinkOutput_v7_6;
74 class IDeckLinkInput_v7_6;
75 class IDeckLinkTimecode_v7_6;
76 class IDeckLinkVideoFrame_v7_6;
77 class IDeckLinkMutableVideoFrame_v7_6;
78 class IDeckLinkVideoInputFrame_v7_6;
79 class IDeckLinkScreenPreviewCallback_v7_6;
80 class IDeckLinkGLScreenPreviewHelper_v7_6;
81 class IDeckLinkVideoConversion_v7_6;
82
83
84 /* Interface IDeckLinkVideoOutputCallback - Frame completion callback. */
85
86 class IDeckLinkVideoOutputCallback_v7_6 : public IUnknown
87 {
88 public:
89     virtual HRESULT ScheduledFrameCompleted (/* in */ IDeckLinkVideoFrame_v7_6 *completedFrame, /* in */ BMDOutputFrameCompletionResult result) = 0;
90     virtual HRESULT ScheduledPlaybackHasStopped (void) = 0;
91
92 protected:
93     virtual ~IDeckLinkVideoOutputCallback_v7_6 () {}; // call Release method to drop reference count
94 };
95
96
97 /* Interface IDeckLinkInputCallback - Frame arrival callback. */
98
99 class IDeckLinkInputCallback_v7_6 : public IUnknown
100 {
101 public:
102     virtual HRESULT VideoInputFormatChanged (/* in */ BMDVideoInputFormatChangedEvents notificationEvents, /* in */ IDeckLinkDisplayMode_v7_6 *newDisplayMode, /* in */ BMDDetectedVideoInputFormatFlags detectedSignalFlags) = 0;
103     virtual HRESULT VideoInputFrameArrived (/* in */ IDeckLinkVideoInputFrame_v7_6* videoFrame, /* in */ IDeckLinkAudioInputPacket* audioPacket) = 0;
104
105 protected:
106     virtual ~IDeckLinkInputCallback_v7_6 () {}; // call Release method to drop reference count
107 };
108
109
110 /* Interface IDeckLinkDisplayModeIterator - enumerates over supported input/output display modes. */
111
112 class IDeckLinkDisplayModeIterator_v7_6 : public IUnknown
113 {
114 public:
115     virtual HRESULT Next (/* out */ IDeckLinkDisplayMode_v7_6 **deckLinkDisplayMode) = 0;
116
117 protected:
118     virtual ~IDeckLinkDisplayModeIterator_v7_6 () {}; // call Release method to drop reference count
119 };
120
121
122 /* Interface IDeckLinkDisplayMode - represents a display mode */
123
124 class IDeckLinkDisplayMode_v7_6 : public IUnknown
125 {
126 public:
127     virtual HRESULT GetName (/* out */ const char **name) = 0;
128     virtual BMDDisplayMode GetDisplayMode (void) = 0;
129     virtual long GetWidth (void) = 0;
130     virtual long GetHeight (void) = 0;
131     virtual HRESULT GetFrameRate (/* out */ BMDTimeValue *frameDuration, /* out */ BMDTimeScale *timeScale) = 0;
132     virtual BMDFieldDominance GetFieldDominance (void) = 0;
133
134 protected:
135     virtual ~IDeckLinkDisplayMode_v7_6 () {}; // call Release method to drop reference count
136 };
137
138
139 /* Interface IDeckLinkOutput - Created by QueryInterface from IDeckLink. */
140
141 class IDeckLinkOutput_v7_6 : public IUnknown
142 {
143 public:
144     virtual HRESULT DoesSupportVideoMode (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* out */ BMDDisplayModeSupport *result) = 0;
145     virtual HRESULT GetDisplayModeIterator (/* out */ IDeckLinkDisplayModeIterator_v7_6 **iterator) = 0;
146
147     virtual HRESULT SetScreenPreviewCallback (/* in */ IDeckLinkScreenPreviewCallback_v7_6 *previewCallback) = 0;
148
149     /* Video Output */
150
151     virtual HRESULT EnableVideoOutput (/* in */ BMDDisplayMode displayMode, /* in */ BMDVideoOutputFlags flags) = 0;
152     virtual HRESULT DisableVideoOutput (void) = 0;
153
154     virtual HRESULT SetVideoOutputFrameMemoryAllocator (/* in */ IDeckLinkMemoryAllocator *theAllocator) = 0;
155     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;
156     virtual HRESULT CreateAncillaryData (/* in */ BMDPixelFormat pixelFormat, /* out */ IDeckLinkVideoFrameAncillary **outBuffer) = 0;
157
158     virtual HRESULT DisplayVideoFrameSync (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame) = 0;
159     virtual HRESULT ScheduleVideoFrame (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame, /* in */ BMDTimeValue displayTime, /* in */ BMDTimeValue displayDuration, /* in */ BMDTimeScale timeScale) = 0;
160     virtual HRESULT SetScheduledFrameCompletionCallback (/* in */ IDeckLinkVideoOutputCallback_v7_6 *theCallback) = 0;
161     virtual HRESULT GetBufferedVideoFrameCount (/* out */ uint32_t *bufferedFrameCount) = 0;
162
163     /* Audio Output */
164
165     virtual HRESULT EnableAudioOutput (/* in */ BMDAudioSampleRate sampleRate, /* in */ BMDAudioSampleType sampleType, /* in */ uint32_t channelCount, /* in */ BMDAudioOutputStreamType streamType) = 0;
166     virtual HRESULT DisableAudioOutput (void) = 0;
167
168     virtual HRESULT WriteAudioSamplesSync (/* in */ void *buffer, /* in */ uint32_t sampleFrameCount, /* out */ uint32_t *sampleFramesWritten) = 0;
169
170     virtual HRESULT BeginAudioPreroll (void) = 0;
171     virtual HRESULT EndAudioPreroll (void) = 0;
172     virtual HRESULT ScheduleAudioSamples (/* in */ void *buffer, /* in */ uint32_t sampleFrameCount, /* in */ BMDTimeValue streamTime, /* in */ BMDTimeScale timeScale, /* out */ uint32_t *sampleFramesWritten) = 0;
173
174     virtual HRESULT GetBufferedAudioSampleFrameCount (/* out */ uint32_t *bufferedSampleFrameCount) = 0;
175     virtual HRESULT FlushBufferedAudioSamples (void) = 0;
176
177     virtual HRESULT SetAudioCallback (/* in */ IDeckLinkAudioOutputCallback *theCallback) = 0;
178
179     /* Output Control */
180
181     virtual HRESULT StartScheduledPlayback (/* in */ BMDTimeValue playbackStartTime, /* in */ BMDTimeScale timeScale, /* in */ double playbackSpeed) = 0;
182     virtual HRESULT StopScheduledPlayback (/* in */ BMDTimeValue stopPlaybackAtTime, /* out */ BMDTimeValue *actualStopTime, /* in */ BMDTimeScale timeScale) = 0;
183     virtual HRESULT IsScheduledPlaybackRunning (/* out */ bool *active) = 0;
184     virtual HRESULT GetScheduledStreamTime (/* in */ BMDTimeScale desiredTimeScale, /* out */ BMDTimeValue *streamTime, /* out */ double *playbackSpeed) = 0;
185
186     /* Hardware Timing */
187
188     virtual HRESULT GetHardwareReferenceClock (/* in */ BMDTimeScale desiredTimeScale, /* out */ BMDTimeValue *hardwareTime, /* out */ BMDTimeValue *timeInFrame, /* out */ BMDTimeValue *ticksPerFrame) = 0;
189
190 protected:
191     virtual ~IDeckLinkOutput_v7_6 () {}; // call Release method to drop reference count
192 };
193
194
195 /* Interface IDeckLinkInput_v7_6 - Created by QueryInterface from IDeckLink. */
196
197 class IDeckLinkInput_v7_6 : public IUnknown
198 {
199 public:
200     virtual HRESULT DoesSupportVideoMode (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* out */ BMDDisplayModeSupport *result) = 0;
201     virtual HRESULT GetDisplayModeIterator (/* out */ IDeckLinkDisplayModeIterator_v7_6 **iterator) = 0;
202
203     virtual HRESULT SetScreenPreviewCallback (/* in */ IDeckLinkScreenPreviewCallback_v7_6 *previewCallback) = 0;
204
205     /* Video Input */
206
207     virtual HRESULT EnableVideoInput (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* in */ BMDVideoInputFlags flags) = 0;
208     virtual HRESULT DisableVideoInput (void) = 0;
209     virtual HRESULT GetAvailableVideoFrameCount (/* out */ uint32_t *availableFrameCount) = 0;
210
211     /* Audio Input */
212
213     virtual HRESULT EnableAudioInput (/* in */ BMDAudioSampleRate sampleRate, /* in */ BMDAudioSampleType sampleType, /* in */ uint32_t channelCount) = 0;
214     virtual HRESULT DisableAudioInput (void) = 0;
215     virtual HRESULT GetAvailableAudioSampleFrameCount (/* out */ uint32_t *availableSampleFrameCount) = 0;
216
217     /* Input Control */
218
219     virtual HRESULT StartStreams (void) = 0;
220     virtual HRESULT StopStreams (void) = 0;
221     virtual HRESULT PauseStreams (void) = 0;
222     virtual HRESULT FlushStreams (void) = 0;
223     virtual HRESULT SetCallback (/* in */ IDeckLinkInputCallback_v7_6 *theCallback) = 0;
224
225     /* Hardware Timing */
226
227     virtual HRESULT GetHardwareReferenceClock (/* in */ BMDTimeScale desiredTimeScale, /* out */ BMDTimeValue *hardwareTime, /* out */ BMDTimeValue *timeInFrame, /* out */ BMDTimeValue *ticksPerFrame) = 0;
228
229 protected:
230     virtual ~IDeckLinkInput_v7_6 () {}; // call Release method to drop reference count
231 };
232
233
234 /* Interface IDeckLinkTimecode - Used for video frame timecode representation. */
235
236 class IDeckLinkTimecode_v7_6 : public IUnknown
237 {
238 public:
239     virtual BMDTimecodeBCD GetBCD (void) = 0;
240     virtual HRESULT GetComponents (/* out */ uint8_t *hours, /* out */ uint8_t *minutes, /* out */ uint8_t *seconds, /* out */ uint8_t *frames) = 0;
241     virtual HRESULT GetString (/* out */ const char **timecode) = 0;
242     virtual BMDTimecodeFlags GetFlags (void) = 0;
243
244 protected:
245     virtual ~IDeckLinkTimecode_v7_6 () {}; // call Release method to drop reference count
246 };
247
248
249 /* Interface IDeckLinkVideoFrame - Interface to encapsulate a video frame; can be caller-implemented. */
250
251 class IDeckLinkVideoFrame_v7_6 : public IUnknown
252 {
253 public:
254     virtual long GetWidth (void) = 0;
255     virtual long GetHeight (void) = 0;
256     virtual long GetRowBytes (void) = 0;
257     virtual BMDPixelFormat GetPixelFormat (void) = 0;
258     virtual BMDFrameFlags GetFlags (void) = 0;
259     virtual HRESULT GetBytes (/* out */ void **buffer) = 0;
260
261     virtual HRESULT GetTimecode (BMDTimecodeFormat format, /* out */ IDeckLinkTimecode_v7_6 **timecode) = 0;
262     virtual HRESULT GetAncillaryData (/* out */ IDeckLinkVideoFrameAncillary **ancillary) = 0;
263
264 protected:
265     virtual ~IDeckLinkVideoFrame_v7_6 () {}; // call Release method to drop reference count
266 };
267
268
269 /* Interface IDeckLinkMutableVideoFrame - Created by IDeckLinkOutput::CreateVideoFrame. */
270
271 class IDeckLinkMutableVideoFrame_v7_6 : public IDeckLinkVideoFrame_v7_6
272 {
273 public:
274     virtual HRESULT SetFlags (BMDFrameFlags newFlags) = 0;
275
276     virtual HRESULT SetTimecode (BMDTimecodeFormat format, /* in */ IDeckLinkTimecode_v7_6 *timecode) = 0;
277     virtual HRESULT SetTimecodeFromComponents (BMDTimecodeFormat format, uint8_t hours, uint8_t minutes, uint8_t seconds, uint8_t frames, BMDTimecodeFlags flags) = 0;
278     virtual HRESULT SetAncillaryData (/* in */ IDeckLinkVideoFrameAncillary *ancillary) = 0;
279
280 protected:
281     virtual ~IDeckLinkMutableVideoFrame_v7_6 () {}; // call Release method to drop reference count
282 };
283
284
285 /* Interface IDeckLinkVideoInputFrame - Provided by the IDeckLinkVideoInput frame arrival callback. */
286
287 class IDeckLinkVideoInputFrame_v7_6 : public IDeckLinkVideoFrame_v7_6
288 {
289 public:
290     virtual HRESULT GetStreamTime (/* out */ BMDTimeValue *frameTime, /* out */ BMDTimeValue *frameDuration, BMDTimeScale timeScale) = 0;
291     virtual HRESULT GetHardwareReferenceTimestamp (BMDTimeScale timeScale, /* out */ BMDTimeValue *frameTime, /* out */ BMDTimeValue *frameDuration) = 0;
292
293 protected:
294     virtual ~IDeckLinkVideoInputFrame_v7_6 () {}; // call Release method to drop reference count
295 };
296
297
298 /* Interface IDeckLinkScreenPreviewCallback - Screen preview callback */
299
300 class IDeckLinkScreenPreviewCallback_v7_6 : public IUnknown
301 {
302 public:
303     virtual HRESULT DrawFrame (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame) = 0;
304
305 protected:
306     virtual ~IDeckLinkScreenPreviewCallback_v7_6 () {}; // call Release method to drop reference count
307 };
308
309
310 /* Interface IDeckLinkGLScreenPreviewHelper - Created with CoCreateInstance(). */
311
312 class IDeckLinkGLScreenPreviewHelper_v7_6 : public IUnknown
313 {
314 public:
315
316     /* Methods must be called with OpenGL context set */
317
318     virtual HRESULT InitializeGL (void) = 0;
319     virtual HRESULT PaintGL (void) = 0;
320     virtual HRESULT SetFrame (/* in */ IDeckLinkVideoFrame_v7_6 *theFrame) = 0;
321
322 protected:
323     virtual ~IDeckLinkGLScreenPreviewHelper_v7_6 () {}; // call Release method to drop reference count
324 };
325
326
327 /* Interface IDeckLinkVideoConversion - Created with CoCreateInstance(). */
328
329 class IDeckLinkVideoConversion_v7_6 : public IUnknown
330 {
331 public:
332     virtual HRESULT ConvertFrame (/* in */ IDeckLinkVideoFrame_v7_6* srcFrame, /* in */ IDeckLinkVideoFrame_v7_6* dstFrame) = 0;
333
334 protected:
335     virtual ~IDeckLinkVideoConversion_v7_6 () {}; // call Release method to drop reference count
336 };
337
338 /* Interface IDeckLinkConfiguration - Created by QueryInterface from IDeckLink. */
339
340 class IDeckLinkConfiguration_v7_6 : public IUnknown
341 {
342 public:
343     virtual HRESULT GetConfigurationValidator (/* out */ IDeckLinkConfiguration_v7_6 **configObject) = 0;
344     virtual HRESULT WriteConfigurationToPreferences (void) = 0;
345         
346     /* Video Output Configuration */
347         
348     virtual HRESULT SetVideoOutputFormat (/* in */ BMDVideoConnection_v7_6 videoOutputConnection) = 0;
349     virtual HRESULT IsVideoOutputActive (/* in */ BMDVideoConnection_v7_6 videoOutputConnection, /* out */ bool *active) = 0;
350         
351     virtual HRESULT SetAnalogVideoOutputFlags (/* in */ BMDAnalogVideoFlags analogVideoFlags) = 0;
352     virtual HRESULT GetAnalogVideoOutputFlags (/* out */ BMDAnalogVideoFlags *analogVideoFlags) = 0;
353         
354     virtual HRESULT EnableFieldFlickerRemovalWhenPaused (/* in */ bool enable) = 0;
355     virtual HRESULT IsEnabledFieldFlickerRemovalWhenPaused (/* out */ bool *enabled) = 0;
356         
357     virtual HRESULT Set444And3GBpsVideoOutput (/* in */ bool enable444VideoOutput, /* in */ bool enable3GbsOutput) = 0;
358     virtual HRESULT Get444And3GBpsVideoOutput (/* out */ bool *is444VideoOutputEnabled, /* out */ bool *threeGbsOutputEnabled) = 0;
359         
360     virtual HRESULT SetVideoOutputConversionMode (/* in */ BMDVideoOutputConversionMode conversionMode) = 0;
361     virtual HRESULT GetVideoOutputConversionMode (/* out */ BMDVideoOutputConversionMode *conversionMode) = 0;
362         
363     virtual HRESULT Set_HD1080p24_to_HD1080i5994_Conversion (/* in */ bool enable) = 0;
364     virtual HRESULT Get_HD1080p24_to_HD1080i5994_Conversion (/* out */ bool *enabled) = 0;
365         
366     /* Video Input Configuration */
367         
368     virtual HRESULT SetVideoInputFormat (/* in */ BMDVideoConnection_v7_6 videoInputFormat) = 0;
369     virtual HRESULT GetVideoInputFormat (/* out */ BMDVideoConnection_v7_6 *videoInputFormat) = 0;
370         
371     virtual HRESULT SetAnalogVideoInputFlags (/* in */ BMDAnalogVideoFlags analogVideoFlags) = 0;
372     virtual HRESULT GetAnalogVideoInputFlags (/* out */ BMDAnalogVideoFlags *analogVideoFlags) = 0;
373         
374     virtual HRESULT SetVideoInputConversionMode (/* in */ BMDVideoInputConversionMode conversionMode) = 0;
375     virtual HRESULT GetVideoInputConversionMode (/* out */ BMDVideoInputConversionMode *conversionMode) = 0;
376         
377     virtual HRESULT SetBlackVideoOutputDuringCapture (/* in */ bool blackOutInCapture) = 0;
378     virtual HRESULT GetBlackVideoOutputDuringCapture (/* out */ bool *blackOutInCapture) = 0;
379         
380     virtual HRESULT Set32PulldownSequenceInitialTimecodeFrame (/* in */ uint32_t aFrameTimecode) = 0;
381     virtual HRESULT Get32PulldownSequenceInitialTimecodeFrame (/* out */ uint32_t *aFrameTimecode) = 0;
382         
383     virtual HRESULT SetVancSourceLineMapping (/* in */ uint32_t activeLine1VANCsource, /* in */ uint32_t activeLine2VANCsource, /* in */ uint32_t activeLine3VANCsource) = 0;
384     virtual HRESULT GetVancSourceLineMapping (/* out */ uint32_t *activeLine1VANCsource, /* out */ uint32_t *activeLine2VANCsource, /* out */ uint32_t *activeLine3VANCsource) = 0;
385         
386     /* Audio Input Configuration */
387         
388     virtual HRESULT SetAudioInputFormat (/* in */ BMDAudioConnection audioInputFormat) = 0;
389     virtual HRESULT GetAudioInputFormat (/* out */ BMDAudioConnection *audioInputFormat) = 0;
390 };
391
392 /* Functions */
393
394 extern "C" {
395
396         IDeckLinkIterator*                                                      CreateDeckLinkIteratorInstance_v7_6 (void);
397         IDeckLinkGLScreenPreviewHelper_v7_6*            CreateOpenGLScreenPreviewHelper_v7_6 (void);
398     IDeckLinkVideoConversion_v7_6*                              CreateVideoConversionInstance_v7_6 (void);
399
400 };
401
402
403 #endif      // defined(__cplusplus)
404 #endif      // __DeckLink_API_v7_6_h__