FFmpeg
|
swap UV filter More...
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Include dependency graph for vf_swapuv.c:
Go to the source code of this file.
Functions | |
static void | do_swap (AVFrame *frame) |
static AVFrame * | get_video_buffer (AVFilterLink *link, int w, int h) |
static int | filter_frame (AVFilterLink *link, AVFrame *inpicref) |
static int | is_planar_yuv (const AVPixFmtDescriptor *desc) |
static int | query_formats (AVFilterContext *ctx) |
Variables | |
static const AVFilterPad | swapuv_inputs [] |
static const AVFilterPad | swapuv_outputs [] |
AVFilter | avfilter_vf_swapuv |
Detailed Description
swap UV filter
Definition in file vf_swapuv.c.
Function Documentation
Definition at line 32 of file vf_swapuv.c.
Referenced by filter_frame(), and get_video_buffer().
|
static |
Definition at line 47 of file vf_swapuv.c.
|
static |
Definition at line 40 of file vf_swapuv.c.
|
static |
Definition at line 53 of file vf_swapuv.c.
Referenced by query_formats().
|
static |
Definition at line 71 of file vf_swapuv.c.
Variable Documentation
AVFilter avfilter_vf_swapuv |
Initial value:
= {
.name = "swapuv",
.description = NULL_IF_CONFIG_SMALL("Swap U and V components."),
.priv_size = 0,
.query_formats = query_formats,
.inputs = swapuv_inputs,
.outputs = swapuv_outputs,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition at line 104 of file vf_swapuv.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = get_video_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}
static int filter_frame(AVFilterLink *link, AVFrame *inpicref)
Definition: vf_swapuv.c:47
static AVFrame * get_video_buffer(AVFilterLink *link, int w, int h)
Definition: vf_swapuv.c:40
Definition: avutil.h:143
Definition at line 86 of file vf_swapuv.c.
|
static |
Initial value:
Definition at line 96 of file vf_swapuv.c.
Generated on Fri Dec 20 2024 06:56:16 for FFmpeg by 1.8.11