Go to the documentation of this file.
29 #define OFFSET(x) offsetof(struct decklink_cctx, x)
30 #define DEC AV_OPT_FLAG_DECODING_PARAM
36 {
"raw_format",
"pixel format to be returned by the card when capturing" ,
OFFSET(
raw_format),
AV_OPT_TYPE_INT, { .i64 =
MKBETAG(
'2',
'v',
'u',
'y')}, 0, UINT_MAX,
DEC,
"raw_format" },
37 {
"uyvy422",
NULL, 0,
AV_OPT_TYPE_CONST, { .i64 =
MKBETAG(
'2',
'v',
'u',
'y') }, 0, 0,
DEC,
"raw_format"},
38 {
"yuv422p10",
NULL, 0,
AV_OPT_TYPE_CONST, { .i64 =
MKBETAG(
'v',
'2',
'1',
'0') }, 0, 0,
DEC,
"raw_format"},
40 {
"bgra",
NULL, 0,
AV_OPT_TYPE_CONST, { .i64 =
MKBETAG(
'B',
'G',
'R',
'A') }, 0, 0,
DEC,
"raw_format"},
41 {
"rgb10",
NULL, 0,
AV_OPT_TYPE_CONST, { .i64 =
MKBETAG(
'r',
'2',
'1',
'0') }, 0, 0,
DEC,
"raw_format"},
static const AVClass decklink_demuxer_class
AVInputFormat ff_decklink_demuxer
DecklinkPtsSource video_pts_source
av_cold int ff_decklink_read_close(AVFormatContext *avctx)
DecklinkPtsSource audio_pts_source
int ff_decklink_read_packet(AVFormatContext *avctx, AVPacket *pkt)
static const AVOption options[]
#define LIBAVUTIL_VERSION_INT
Describe the class of an AVClass context structure.
const char * av_default_item_name(void *ptr)
Return the context name.
av_cold int ff_decklink_read_header(AVFormatContext *avctx)
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
static void list_formats(AVFormatContext *ctx, int type)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define MKBETAG(a, b, c, d)
int ff_decklink_list_input_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list)
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...