FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dualinput.c File Reference
#include "dualinput.h"
#include "libavutil/timestamp.h"

Go to the source code of this file.

Macros

#define MAIN   0
 
#define SECOND   1
 

Functions

static int try_filter_frame (FFDualInputContext *s, AVFilterContext *ctx, AVFrame *mainpic)
 
static int try_filter_next_frame (FFDualInputContext *s, AVFilterContext *ctx)
 
static int flush_frames (FFDualInputContext *s, AVFilterContext *ctx)
 
int ff_dualinput_filter_frame_main (FFDualInputContext *s, AVFilterLink *inlink, AVFrame *in)
 
int ff_dualinput_filter_frame_second (FFDualInputContext *s, AVFilterLink *inlink, AVFrame *in)
 
int ff_dualinput_request_frame (FFDualInputContext *s, AVFilterLink *outlink)
 
void ff_dualinput_uninit (FFDualInputContext *s)
 

Macro Definition Documentation

#define MAIN   0
#define SECOND   1

Function Documentation

static int try_filter_frame ( FFDualInputContext s,
AVFilterContext ctx,
AVFrame mainpic 
)
static

Definition at line 25 of file dualinput.c.

Referenced by ff_dualinput_filter_frame_main(), and try_filter_next_frame().

static int try_filter_next_frame ( FFDualInputContext s,
AVFilterContext ctx 
)
static
static int flush_frames ( FFDualInputContext s,
AVFilterContext ctx 
)
static

Definition at line 83 of file dualinput.c.

Referenced by ff_dualinput_filter_frame_main(), and ff_dualinput_filter_frame_second().

int ff_dualinput_filter_frame_main ( FFDualInputContext s,
AVFilterLink inlink,
AVFrame in 
)

Definition at line 91 of file dualinput.c.

Referenced by filter_frame_main(), and filter_frame_top().

int ff_dualinput_filter_frame_second ( FFDualInputContext s,
AVFilterLink inlink,
AVFrame in 
)

Definition at line 112 of file dualinput.c.

Referenced by filter_frame_bottom(), filter_frame_over(), and filter_frame_ref().

int ff_dualinput_request_frame ( FFDualInputContext s,
AVFilterLink outlink 
)

Definition at line 125 of file dualinput.c.

Referenced by request_frame().

void ff_dualinput_uninit ( FFDualInputContext s)

Definition at line 154 of file dualinput.c.

Referenced by uninit().