FFmpeg
|
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 void | draw_frame (AVFilterContext *ctx, AVFrame *main_buf, AVFrame *alpha_buf) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static const AVFilterPad | alphamerge_inputs [] |
static const AVFilterPad | alphamerge_outputs [] |
AVFilter | ff_vf_alphamerge |
copy an alpha component from another video's luma
Definition in file vf_alphamerge.c.
anonymous enum |
Enumerator | |
---|---|
Y | |
U | |
V | |
A |
Definition at line 36 of file vf_alphamerge.c.
|
static |
Definition at line 45 of file vf_alphamerge.c.
|
static |
Definition at line 52 of file vf_alphamerge.c.
|
static |
Definition at line 83 of file vf_alphamerge.c.
|
static |
Definition at line 91 of file vf_alphamerge.c.
|
static |
Definition at line 112 of file vf_alphamerge.c.
Referenced by filter_frame().
|
static |
Definition at line 143 of file vf_alphamerge.c.
|
static |
Definition at line 170 of file vf_alphamerge.c.
|
static |
Definition at line 183 of file vf_alphamerge.c.
|
static |
Definition at line 198 of file vf_alphamerge.c.
AVFilter ff_vf_alphamerge |
Definition at line 208 of file vf_alphamerge.c.