1 /*
2 * Blackmagic DeckLink common code
3 * Copyright (c) 2013-2014 Ramiro Polla, Luca Barbato, Deti Fliegl
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #ifndef AVDEVICE_DECKLINK_COMMON_H
23 #define AVDEVICE_DECKLINK_COMMON_H
24
25 #include <DeckLinkAPIVersion.h>
26
28
31
41
43 /* DeckLink SDK interfaces */
49
50 /* DeckLink mode information */
57
58 /* Capture buffer queue */
60
61 /* Streams present */
64
65 /* Status */
74
75 /* Options */
80
83
85
87 };
88
90
91 #ifdef _WIN32
92 #if BLACKMAGIC_DECKLINK_API_VERSION < 0x0a040000
94 #else
96 #endif
97 IDeckLinkIterator *CreateDeckLinkIteratorInstance(void);
98 #else
100 #endif
101
102
108
109 #endif /* AVDEVICE_DECKLINK_COMMON_H */
HRESULT ff_decklink_get_display_name(IDeckLink *This, const char **displayName)
decklink_output_callback * output_callback
int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction=DIRECTION_OUT)
uint32_t buffercount_type
BYTE int const BYTE int int int height
decklink_input_callback * input_callback
int ff_decklink_set_format(AVFormatContext *avctx, int width, int height, int tb_num, int tb_den, decklink_direction_t direction=DIRECTION_OUT, int num=0)
int ff_decklink_list_devices(AVFormatContext *avctx)