28 #define OFFSET(x) offsetof(struct decklink_cctx, x)
29 #define ENC AV_OPT_FLAG_ENCODING_PARAM
38 {
"timing_offset",
"genlock timing pixel offset",
OFFSET(timing_offset),
AV_OPT_TYPE_INT, { .i64 = INT_MIN }, INT_MIN, INT_MAX,
ENC,
"timing_offset"},
av_cold int ff_decklink_write_header(AVFormatContext *avctx)
int ff_decklink_list_output_devices(AVFormatContext *avctx, struct AVDeviceInfoList *device_list)
av_cold int ff_decklink_write_trailer(AVFormatContext *avctx)
int ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt)
static const AVOption options[]
AVOutputFormat ff_decklink_muxer
static const AVClass decklink_muxer_class
static void write_header(FFV1Context *f)
@ AV_CODEC_ID_WRAPPED_AVFRAME
Passthrough codec, AVFrames wrapped in AVPacket.
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
#define AV_OPT_FLAG_DEPRECATED
set if option is deprecated, users should refer to AVOption.help text for more information
Describe the class of an AVClass context structure.
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
static void list_formats(AVFormatContext *ctx, int type)