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

Go to the source code of this file.

Macros

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

Variables

static const AVOption options []
 
static const AVClass decklink_demuxer_class
 
const AVInputFormat ff_decklink_demuxer
 

Macro Definition Documentation

◆ OFFSET

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

Definition at line 29 of file decklink_dec_c.c.

◆ DEC

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 30 of file decklink_dec_c.c.

Variable Documentation

◆ options

const AVOption options[]
static

Definition at line 32 of file decklink_dec_c.c.

◆ decklink_demuxer_class

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

Definition at line 106 of file decklink_dec_c.c.

◆ ff_decklink_demuxer

const AVInputFormat ff_decklink_demuxer
Initial value:
= {
.name = "decklink",
.long_name = NULL_IF_CONFIG_SMALL("Blackmagic DeckLink input"),
.flags = AVFMT_NOFILE,
.priv_class = &decklink_demuxer_class,
.priv_data_size = sizeof(struct decklink_cctx),
.get_device_list = ff_decklink_list_input_devices,
.read_header = ff_decklink_read_header,
.read_packet = ff_decklink_read_packet,
.read_close = ff_decklink_read_close,
}

Definition at line 114 of file decklink_dec_c.c.

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_INPUT
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
Definition: log.h:41
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:115
AVFMT_NOFILE
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:468