FFmpeg
Data Structures | Macros | Functions | Variables
f_realtime.c File Reference
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "avfilter.h"
#include "internal.h"
#include <float.h>

Go to the source code of this file.

Data Structures

struct  RealtimeContext
 

Macros

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

Functions

static int filter_frame (AVFilterLink *inlink, AVFrame *frame)
 

Variables

static const AVOption options []
 

Macro Definition Documentation

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

Definition at line 66 of file f_realtime.c.

Definition at line 67 of file f_realtime.c.

Function Documentation

static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 35 of file f_realtime.c.

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "limit", "sleep time limit", OFFSET(limit), AV_OPT_TYPE_DURATION, { .i64 = 2000000 }, 0, INT64_MAX, FLAGS },
{ "speed", "speed factor", OFFSET(speed), AV_OPT_TYPE_DOUBLE, { .dbl = 1.0 }, DBL_MIN, DBL_MAX, FLAGS },
{ NULL }
}
#define NULL
Definition: coverity.c:32
#define OFFSET(x)
Definition: f_realtime.c:66
#define FLAGS
Definition: f_realtime.c:67

Definition at line 68 of file f_realtime.c.