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