libavfilter/vsrc_color.c File Reference

color source More...

#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


static av_cold int color_init (AVFilterContext *ctx, const char *args, void *opaque)
static int query_formats (AVFilterContext *ctx)
static int color_config_props (AVFilterLink *inlink)
static int color_request_frame (AVFilterLink *link)


AVFilter avfilter_vsrc_color

Detailed Description

color source

Definition in file vsrc_color.c.

Function Documentation

static int color_config_props ( AVFilterLink inlink  )  [static]

Definition at line 80 of file vsrc_color.c.

static av_cold int color_init ( AVFilterContext ctx,
const char *  args,
void *  opaque 
) [static]

Definition at line 43 of file vsrc_color.c.

static int color_request_frame ( AVFilterLink link  )  [static]

Definition at line 103 of file vsrc_color.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 74 of file vsrc_color.c.

Variable Documentation

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,

    .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 121 of file vsrc_color.c.

Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8