FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
f_interleave.c File Reference

audio and video interleaver More...

#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "bufferqueue.h"
#include "formats.h"
#include "internal.h"
#include "audio.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  InterleaveContext
 

Macros

#define OFFSET(x)   offsetof(InterleaveContext, x)
 
#define DEFINE_OPTIONS(filt_name, flags_)
 

Functions

static int push_frame (AVFilterContext *ctx)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *frame)
 
static av_cold int init (AVFilterContext *ctx)
 
static av_cold void uninit (AVFilterContext *ctx)
 
static int config_output (AVFilterLink *outlink)
 
static int request_frame (AVFilterLink *outlink)
 

Detailed Description

audio and video interleaver

Definition in file f_interleave.c.

Macro Definition Documentation

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

Definition at line 42 of file f_interleave.c.

#define DEFINE_OPTIONS (   filt_name,
  flags_ 
)
Value:
static const AVOption filt_name##_options[] = { \
{ "nb_inputs", "set number of inputs", OFFSET(nb_inputs), AV_OPT_TYPE_INT, {.i64 = 2}, 1, INT_MAX, .flags = flags_ }, \
{ "n", "set number of inputs", OFFSET(nb_inputs), AV_OPT_TYPE_INT, {.i64 = 2}, 1, INT_MAX, .flags = flags_ }, \
{ NULL } \
}
#define NULL
Definition: coverity.c:32
AVOption.
Definition: opt.h:245
#define OFFSET(x)
Definition: f_interleave.c:42

Definition at line 44 of file f_interleave.c.

Function Documentation

static int push_frame ( AVFilterContext ctx)
inlinestatic

Definition at line 51 of file f_interleave.c.

Referenced by filter_frame(), and request_frame().

static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 83 of file f_interleave.c.

Referenced by init().

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 105 of file f_interleave.c.

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 138 of file f_interleave.c.

static int config_output ( AVFilterLink outlink)
static

Definition at line 150 of file f_interleave.c.

static int request_frame ( AVFilterLink outlink)
static

Definition at line 186 of file f_interleave.c.