22 #ifndef AVDEVICE_DECKLINK_COMMON_H
23 #define AVDEVICE_DECKLINK_COMMON_H
25 #include <DeckLinkAPIVersion.h>
47 IDeckLinkConfiguration *
cfg;
100 #if BLACKMAGIC_DECKLINK_API_VERSION < 0x0a040000
105 IDeckLinkIterator *CreateDeckLinkIteratorInstance(
void);
111 (BMDAudioConnection)0,
112 bmdAudioConnectionEmbedded,
113 bmdAudioConnectionAESEBU,
114 bmdAudioConnectionAnalog,
115 bmdAudioConnectionAnalogXLR,
116 bmdAudioConnectionAnalogRCA,
117 bmdAudioConnectionMicrophone,
121 (BMDVideoConnection)0,
122 bmdVideoConnectionSDI,
123 bmdVideoConnectionHDMI,
124 bmdVideoConnectionOpticalSDI,
125 bmdVideoConnectionComponent,
126 bmdVideoConnectionComposite,
127 bmdVideoConnectionSVideo,
DecklinkPtsSource audio_pts_source
static const BMDVideoConnection decklink_video_connection_map[]
IDeckLinkAttributes * attr
static const BMDAudioConnection decklink_audio_connection_map[]
HRESULT ff_decklink_get_display_name(IDeckLink *This, const char **displayName)
decklink_output_callback * output_callback
IDeckLinkConfiguration * cfg
BMDVideoConnection video_input
void ff_decklink_cleanup(AVFormatContext *avctx)
int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction=DIRECTION_OUT)
int ff_decklink_init_device(AVFormatContext *avctx, const char *name)
uint32_t buffercount_type
DecklinkPtsSource video_pts_source
decklink_input_callback * input_callback
BMDAudioConnection audio_input
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)