23 #ifndef AVDEVICE_DECKLINK_COMMON_H 24 #define AVDEVICE_DECKLINK_COMMON_H 26 #include <DeckLinkAPIVersion.h> 32 #define DECKLINK_BOOL BOOL 34 #define DECKLINK_BOOL bool 56 IDeckLinkConfiguration *
cfg;
113 #if BLACKMAGIC_DECKLINK_API_VERSION < 0x0a040000 118 IDeckLinkIterator *CreateDeckLinkIteratorInstance(
void);
124 (BMDAudioConnection)0,
125 bmdAudioConnectionEmbedded,
126 bmdAudioConnectionAESEBU,
127 bmdAudioConnectionAnalog,
128 bmdAudioConnectionAnalogXLR,
129 bmdAudioConnectionAnalogRCA,
130 bmdAudioConnectionMicrophone,
134 (BMDVideoConnection)0,
135 bmdVideoConnectionSDI,
136 bmdVideoConnectionHDMI,
137 bmdVideoConnectionOpticalSDI,
138 bmdVideoConnectionComponent,
139 bmdVideoConnectionComposite,
140 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)
int ff_decklink_set_configs(AVFormatContext *avctx, decklink_direction_t direction)
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)