#include <string.h>
#include "libavutil/pixfmt.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | AlphaExtractContext |
Enumerations | |
enum | { Y, U, V, A } |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | draw_slice (AVFilterLink *inlink, int y0, int h, int slice_dir) |
Variables | |
AVFilter | avfilter_vf_alphaextract |
Definition in file vf_alphaextract.c.
anonymous enum |
static int config_input | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 54 of file vf_alphaextract.c.
static int draw_slice | ( | AVFilterLink * | inlink, | |
int | y0, | |||
int | h, | |||
int | slice_dir | |||
) | [static] |
Definition at line 62 of file vf_alphaextract.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 41 of file vf_alphaextract.c.
Initial value:
{ .name = "alphaextract", .description = NULL_IF_CONFIG_SMALL("Extract an alpha channel as a " "grayscale image component."), .priv_size = sizeof(AlphaExtractContext), .query_formats = query_formats, .inputs = (const AVFilterPad[]) { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, .config_props = config_input, .draw_slice = draw_slice, .min_perms = AV_PERM_READ }, { .name = NULL } }, .outputs = (const AVFilterPad[]) { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, }, { .name = NULL } }, }
Definition at line 97 of file vf_alphaextract.c.