FFmpeg
Data Structures | Macros | Functions | Variables
f_cue.c File Reference
#include "config_components.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  CueContext
 

Macros

#define OFFSET(x)   offsetof(CueContext, x)
 
#define FLAGS   AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM
 

Functions

static int activate (AVFilterContext *ctx)
 
 AVFILTER_DEFINE_CLASS_EXT (cue_acue, "(a)cue", options)
 

Variables

static const AVOption options []
 

Macro Definition Documentation

◆ OFFSET

#define OFFSET (   x)    offsetof(CueContext, x)

Definition at line 90 of file f_cue.c.

◆ FLAGS

Definition at line 91 of file f_cue.c.

Function Documentation

◆ activate()

static int activate ( AVFilterContext ctx)
static

Definition at line 38 of file f_cue.c.

◆ AVFILTER_DEFINE_CLASS_EXT()

AVFILTER_DEFINE_CLASS_EXT ( cue_acue  ,
"(a)cue"  ,
options   
)

Variable Documentation

◆ options

const AVOption options[]
static
Initial value:
= {
{ "cue", "cue unix timestamp in microseconds", OFFSET(cue), AV_OPT_TYPE_INT64, { .i64 = 0 }, 0, INT64_MAX, FLAGS },
{ "preroll", "preroll duration in seconds", OFFSET(preroll), AV_OPT_TYPE_DURATION, { .i64 = 0 }, 0, INT64_MAX, FLAGS },
{ "buffer", "buffer duration in seconds", OFFSET(buffer), AV_OPT_TYPE_DURATION, { .i64 = 0 }, 0, INT64_MAX, FLAGS },
{ NULL }
}

Definition at line 92 of file f_cue.c.

FLAGS
#define FLAGS
Definition: f_cue.c:91
AV_OPT_TYPE_DURATION
@ AV_OPT_TYPE_DURATION
Definition: opt.h:239
AV_OPT_TYPE_INT64
@ AV_OPT_TYPE_INT64
Definition: opt.h:226
NULL
#define NULL
Definition: coverity.c:32
OFFSET
#define OFFSET(x)
Definition: f_cue.c:90
buffer
the frame and frame reference mechanism is intended to as much as expensive copies of that data while still allowing the filters to produce correct results The data is stored in buffers represented by AVFrame structures Several references can point to the same frame buffer
Definition: filter_design.txt:49