FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
vf_format.c File Reference

format and noformat video filters More...

#include <string.h>
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "internal.h"
#include "formats.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  FormatContext
 

Macros

#define AV_PIX_FMT_NAME_MAXSIZE   32
 
#define OFFSET(x)   offsetof(FormatContext, x)
 

Functions

static av_cold int init (AVFilterContext *ctx)
 
static AVFilterFormatsmake_format_list (FormatContext *s, int flag)
 

Variables

static const AVOption options []
 

Detailed Description

format and noformat video filters

Definition in file vf_format.c.

Macro Definition Documentation

#define AV_PIX_FMT_NAME_MAXSIZE   32

Definition at line 49 of file vf_format.c.

Referenced by init().

#define OFFSET (   x)    offsetof(FormatContext, x)

Definition at line 99 of file vf_format.c.

Function Documentation

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 51 of file vf_format.c.

static AVFilterFormats* make_format_list ( FormatContext s,
int  flag 
)
static

Definition at line 82 of file vf_format.c.

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "pix_fmts", "A '|'-separated list of pixel formats", OFFSET(pix_fmts), AV_OPT_TYPE_STRING, .flags = AV_OPT_FLAG_VIDEO_PARAM },
{ NULL },
}

Definition at line 100 of file vf_format.c.