FFmpeg
Data Structures | Macros | Functions | Variables
f_cue.c File Reference
#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)
 

Variables

static const AVOption options []
 

Macro Definition Documentation

◆ OFFSET

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

Definition at line 88 of file f_cue.c.

◆ FLAGS

Definition at line 89 of file f_cue.c.

Function Documentation

◆ activate()

static int activate ( AVFilterContext ctx)
static

Definition at line 36 of file f_cue.c.

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 90 of file f_cue.c.

FLAGS
#define FLAGS
Definition: f_cue.c:89
AV_OPT_TYPE_DURATION
@ AV_OPT_TYPE_DURATION
Definition: opt.h:237
AV_OPT_TYPE_INT64
@ AV_OPT_TYPE_INT64
Definition: opt.h:224
NULL
#define NULL
Definition: coverity.c:32
OFFSET
#define OFFSET(x)
Definition: f_cue.c:88
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