libavfilter/vf_alphamerge.c File Reference

copy an alpha component from another video's luma More...

#include <string.h>
#include "libavutil/pixfmt.h"
#include "avfilter.h"
#include "bufferqueue.h"
#include "drawutils.h"
#include "formats.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  AlphaMergeContext

Enumerations

enum  { Y, U, V, A }

Functions

static av_cold void uninit (AVFilterContext *ctx)
static int query_formats (AVFilterContext *ctx)
static int config_input_main (AVFilterLink *inlink)
static int config_output (AVFilterLink *outlink)
static int start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static int draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir)
static void draw_frame (AVFilterContext *ctx, AVFilterBufferRef *main_buf, AVFilterBufferRef *alpha_buf)
static int end_frame (AVFilterLink *inlink)
static int request_frame (AVFilterLink *outlink)

Variables

AVFilter avfilter_vf_alphamerge


Detailed Description

copy an alpha component from another video's luma

Definition in file vf_alphamerge.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
Y 
U 
V 
A 

Definition at line 36 of file vf_alphamerge.c.


Function Documentation

static int config_input_main ( AVFilterLink inlink  )  [static]

Definition at line 69 of file vf_alphamerge.c.

static int config_output ( AVFilterLink outlink  )  [static]

Definition at line 77 of file vf_alphamerge.c.

static void draw_frame ( AVFilterContext ctx,
AVFilterBufferRef main_buf,
AVFilterBufferRef alpha_buf 
) [static]

Definition at line 101 of file vf_alphamerge.c.

Referenced by end_frame().

static int draw_slice ( AVFilterLink inlink,
int  y,
int  h,
int  slice_dir 
) [static]

Definition at line 99 of file vf_alphamerge.c.

static int end_frame ( AVFilterLink inlink  )  [static]

Definition at line 133 of file vf_alphamerge.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 53 of file vf_alphamerge.c.

static int request_frame ( AVFilterLink outlink  )  [static]

Definition at line 163 of file vf_alphamerge.c.

static int start_frame ( AVFilterLink inlink,
AVFilterBufferRef picref 
) [static]

Definition at line 98 of file vf_alphamerge.c.

static av_cold void uninit ( AVFilterContext ctx  )  [static]

Definition at line 46 of file vf_alphamerge.c.


Variable Documentation

Definition at line 179 of file vf_alphamerge.c.


Generated on Fri Oct 26 02:50:10 2012 for FFmpeg by  doxygen 1.5.8