FFmpeg
Data Structures | Macros | Functions | Variables
f_cue.c File Reference
#include "config_components.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "video.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 91 of file f_cue.c.

◆ FLAGS

Definition at line 92 of file f_cue.c.

Function Documentation

◆ activate()

static int activate ( AVFilterContext ctx)
static

Definition at line 39 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 93 of file f_cue.c.

FLAGS
#define FLAGS
Definition: f_cue.c:92
AV_OPT_TYPE_DURATION
@ AV_OPT_TYPE_DURATION
Underlying C type is int64_t.
Definition: opt.h:319
AV_OPT_TYPE_INT64
@ AV_OPT_TYPE_INT64
Underlying C type is int64_t.
Definition: opt.h:263
NULL
#define NULL
Definition: coverity.c:32
OFFSET
#define OFFSET(x)
Definition: f_cue.c:91
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