FFmpeg  4.0
Data Structures | Macros | Functions | Variables
f_realtime.c File Reference
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "avfilter.h"
#include "internal.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

◆ OFFSET

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

Definition at line 64 of file f_realtime.c.

◆ FLAGS

Definition at line 65 of file f_realtime.c.

Function Documentation

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 33 of file f_realtime.c.

Variable Documentation

◆ options

const AVOption options[]
static
Initial value:
= {
{ "limit", "sleep time limit", OFFSET(limit), AV_OPT_TYPE_DURATION, { .i64 = 2000000 }, 0, INT64_MAX, FLAGS },
{ NULL }
}
#define NULL
Definition: coverity.c:32
#define OFFSET(x)
Definition: f_realtime.c:64
#define FLAGS
Definition: f_realtime.c:65

Definition at line 66 of file f_realtime.c.