FFmpeg
Macros | Variables
decklink_enc_c.c File Reference
#include "libavformat/avformat.h"
#include "libavutil/opt.h"
#include "decklink_common_c.h"
#include "decklink_enc.h"

Go to the source code of this file.

Macros

#define OFFSET(x)   offsetof(struct decklink_cctx, x)
 
#define ENC   AV_OPT_FLAG_ENCODING_PARAM
 

Variables

static const AVOption options []
 
static const AVClass decklink_muxer_class
 
const AVOutputFormat ff_decklink_muxer
 

Macro Definition Documentation

◆ OFFSET

#define OFFSET (   x)    offsetof(struct decklink_cctx, x)

Definition at line 28 of file decklink_enc_c.c.

◆ ENC

#define ENC   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 29 of file decklink_enc_c.c.

Variable Documentation

◆ options

const AVOption options[]
static

Definition at line 30 of file decklink_enc_c.c.

◆ decklink_muxer_class

const AVClass decklink_muxer_class
static
Initial value:
= {
.class_name = "Blackmagic DeckLink outdev",
.item_name = av_default_item_name,
.option = options,
}

Definition at line 66 of file decklink_enc_c.c.

◆ ff_decklink_muxer

const AVOutputFormat ff_decklink_muxer
Initial value:
= {
.name = "decklink",
.long_name = NULL_IF_CONFIG_SMALL("Blackmagic DeckLink output"),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.subtitle_codec = AV_CODEC_ID_NONE,
.flags = AVFMT_NOFILE,
.get_device_list = ff_decklink_list_output_devices,
.priv_class = &decklink_muxer_class,
.priv_data_size = sizeof(struct decklink_cctx),
.write_packet = ff_decklink_write_packet,
.write_trailer = ff_decklink_write_trailer,
}

Definition at line 74 of file decklink_enc_c.c.

AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition: codec_id.h:314
AV_CODEC_ID_WRAPPED_AVFRAME
@ AV_CODEC_ID_WRAPPED_AVFRAME
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: codec_id.h:572
LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
av_default_item_name
const char * av_default_item_name(void *ptr)
Return the context name.
Definition: log.c:235
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
Definition: log.h:40
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
AVFMT_NOFILE
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:463
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:48
write_header
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:347