#include "avfilter.h"
#include "libavutil/pixdesc.h"
#include "libavutil/colorspace.h"
#include "libavutil/imgutils.h"
#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "drawutils.h"
Go to the source code of this file.
Data Structures | |
struct | ColorContext |
Functions | |
static av_cold int | color_init (AVFilterContext *ctx, const char *args, void *opaque) |
static av_cold void | color_uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | color_config_props (AVFilterLink *inlink) |
static int | color_request_frame (AVFilterLink *link) |
Variables | |
AVFilter | avfilter_vsrc_color |
Definition in file vsrc_color.c.
static int color_config_props | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 107 of file vsrc_color.c.
static av_cold int color_init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 44 of file vsrc_color.c.
static int color_request_frame | ( | AVFilterLink * | link | ) | [static] |
Definition at line 138 of file vsrc_color.c.
static av_cold void color_uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 75 of file vsrc_color.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 86 of file vsrc_color.c.
Initial value:
{ .name = "color", .description = NULL_IF_CONFIG_SMALL("Provide an uniformly colored input, syntax is: [color[:size[:rate]]]."), .priv_size = sizeof(ColorContext), .init = color_init, .uninit = color_uninit, .query_formats = query_formats, .inputs = (const AVFilterPad[]) {{ .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .request_frame = color_request_frame, .config_props = color_config_props }, { .name = NULL}}, }
Definition at line 157 of file vsrc_color.c.