FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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

Definition at line 64 of file f_realtime.c.

Definition at line 65 of file f_realtime.c.

Function Documentation

static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 33 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 },
{ 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.