summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common.h
diff options
context:
space:
mode:
authorKarthick J <kjeyapal@akamai.com>2017-11-07 09:32:23 +0530
committerMarton Balint <cus@passwd.hu>2017-11-21 22:55:49 +0100
commitaa7b0329ff282ea8afb3c26dcbbc64209a280219 (patch)
tree4146710600547c5c2c321fca8eff5c8cbce9d54a /libavdevice/decklink_common.h
parent0e7865ce4152f8b04cda6a698bbee4fd4a94009d (diff)
downloadffmpeg-aa7b0329ff282ea8afb3c26dcbbc64209a280219.tar.gz
avdevice/decklink: refactor ff_decklink_set_format function
This is done to enable input format autodetection in decklink_dec. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_common.h')
-rw-r--r--libavdevice/decklink_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h
index b6acb01bb9..4345156d8e 100644
--- a/libavdevice/decklink_common.h
+++ b/libavdevice/decklink_common.h
@@ -134,6 +134,7 @@ static const BMDVideoConnection decklink_video_connection_map[] = {
};
HRESULT ff_decklink_get_display_name(IDeckLink *This, const char **displayName);
+int ff_decklink_set_configs(AVFormatContext *avctx, decklink_direction_t direction);
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);
int ff_decklink_set_format(AVFormatContext *avctx, decklink_direction_t direction, int num);
int ff_decklink_list_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list, int show_inputs, int show_outputs);