FFmpeg
|
vf_il.c File Reference
(de)interleave fields filter More...
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.h"
Include dependency graph for vf_il.c:
Go to the source code of this file.
Data Structures | |
struct | IlContext |
Macros | |
#define | OFFSET(x) offsetof(IlContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
enum | FilterMode { MODE_NONE, MODE_INTERLEAVE, MODE_DEINTERLEAVE } |
Functions | |
AVFILTER_DEFINE_CLASS (il) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static void | interleave (uint8_t *dst, uint8_t *src, int w, int h, int dst_linesize, int src_linesize, enum FilterMode mode, int swap) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *inpicref) |
Variables | |
static const AVOption | il_options [] |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
AVFilter | avfilter_vf_il |
Detailed Description
(de)interleave fields filter
Definition in file vf_il.c.
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumeration Type Documentation
enum FilterMode |
Function Documentation
AVFILTER_DEFINE_CLASS | ( | il | ) |
|
static |
|
static |
|
static |
Definition at line 118 of file vf_il.c.
Referenced by filter_frame().
|
static |
Variable Documentation
AVFilter avfilter_vf_il |
Initial value:
= {
.name = "il",
.description = NULL_IF_CONFIG_SMALL("Deinterleave or interleave fields."),
.priv_size = sizeof(IlContext),
.priv_class = &il_class,
}
Definition: vf_il.c:39
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
|
static |
Initial value:
= {
{"luma_mode", "select luma mode", OFFSET(luma_mode), AV_OPT_TYPE_INT, {.i64=MODE_NONE}, MODE_NONE, MODE_DEINTERLEAVE, FLAGS, "luma_mode"},
{"l", "select luma mode", OFFSET(luma_mode), AV_OPT_TYPE_INT, {.i64=MODE_NONE}, MODE_NONE, MODE_DEINTERLEAVE, FLAGS, "luma_mode"},
{"chroma_mode", "select chroma mode", OFFSET(chroma_mode), AV_OPT_TYPE_INT, {.i64=MODE_NONE}, MODE_NONE, MODE_DEINTERLEAVE, FLAGS, "chroma_mode"},
{"c", "select chroma mode", OFFSET(chroma_mode), AV_OPT_TYPE_INT, {.i64=MODE_NONE}, MODE_NONE, MODE_DEINTERLEAVE, FLAGS, "chroma_mode"},
{"alpha_mode", "select alpha mode", OFFSET(alpha_mode), AV_OPT_TYPE_INT, {.i64=MODE_NONE}, MODE_NONE, MODE_DEINTERLEAVE, FLAGS, "alpha_mode"},
{"a", "select alpha mode", OFFSET(alpha_mode), AV_OPT_TYPE_INT, {.i64=MODE_NONE}, MODE_NONE, MODE_DEINTERLEAVE, FLAGS, "alpha_mode"},
{NULL}
}
Definition: opt.h:222
Definition: opt.h:229
Definition: vf_il.c:36
Definition: vf_il.c:34
Definition: vf_il.c:35
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
.config_props = config_input,
},
{ NULL }
}
AVFrame * ff_null_get_video_buffer(AVFilterLink *link, int w, int h)
Definition: video.c:35
Definition: avutil.h:143
|
static |
Initial value:
Generated on Tue Jan 21 2025 06:52:36 for FFmpeg by 1.8.11