FFmpeg
Macros | Variables
decklink_enc_c.c File Reference
#include "libavformat/avformat.h"
#include "libavformat/mux.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 FFOutputFormat ff_decklink_muxer
 

Macro Definition Documentation

◆ OFFSET

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

Definition at line 29 of file decklink_enc_c.c.

◆ ENC

#define ENC   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 30 of file decklink_enc_c.c.

Variable Documentation

◆ options

const AVOption options[]
static

Definition at line 31 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 68 of file decklink_enc_c.c.

◆ ff_decklink_muxer

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

Definition at line 76 of file decklink_enc_c.c.

AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition: codec_id.h:334
AV_CODEC_ID_EIA_608
@ AV_CODEC_ID_EIA_608
Definition: codec_id.h:566
AV_CODEC_ID_WRAPPED_AVFRAME
@ AV_CODEC_ID_WRAPPED_AVFRAME
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: codec_id.h:608
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:237
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:94
AVFMT_NOFILE
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:468
write_header
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:348