23 #ifndef AVDEVICE_DECKLINK_COMMON_H
24 #define AVDEVICE_DECKLINK_COMMON_H
26 #include <DeckLinkAPIVersion.h>
50 IDeckLinkConfiguration *
cfg;
105 #if BLACKMAGIC_DECKLINK_API_VERSION < 0x0a040000
110 IDeckLinkIterator *CreateDeckLinkIteratorInstance(
void);
116 (BMDAudioConnection)0,
117 bmdAudioConnectionEmbedded,
118 bmdAudioConnectionAESEBU,
119 bmdAudioConnectionAnalog,
120 bmdAudioConnectionAnalogXLR,
121 bmdAudioConnectionAnalogRCA,
122 bmdAudioConnectionMicrophone,
126 (BMDVideoConnection)0,
127 bmdVideoConnectionSDI,
128 bmdVideoConnectionHDMI,
129 bmdVideoConnectionOpticalSDI,
130 bmdVideoConnectionComponent,
131 bmdVideoConnectionComposite,
132 bmdVideoConnectionSVideo,
int ff_decklink_set_format(AVFormatContext *avctx, int width, int height, int tb_num, int tb_den, enum AVFieldOrder field_order, decklink_direction_t direction=DIRECTION_OUT, int num=0)
DecklinkPtsSource audio_pts_source
static const BMDVideoConnection decklink_video_connection_map[]
int ff_decklink_list_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list, int show_inputs, int show_outputs)
IDeckLinkAttributes * attr
static const BMDAudioConnection decklink_audio_connection_map[]
HRESULT ff_decklink_get_display_name(IDeckLink *This, const char **displayName)
int frames_buffer_available_spots
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
void ff_decklink_list_devices_legacy(AVFormatContext *avctx, int show_inputs, int show_outputs)