Go to the source code of this file.
|
enum | PERSPECTIVESense { PERSPECTIVE_SENSE_SOURCE = 0,
PERSPECTIVE_SENSE_DESTINATION = 1
} |
|
enum | EvalMode {
EVAL_MODE_ONCE,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB,
EVAL_MODE_INIT,
EVAL_MODE_FRAME,
EVAL_MODE_NB
} |
|
enum | {
VAR_W,
VAR_H,
VAR_IN,
VAR_ON,
VAR_VARS_NB
} |
|
◆ SUB_PIXEL_BITS
◆ SUB_PIXELS
◆ COEFF_BITS
◆ LINEAR
◆ CUBIC
◆ OFFSET
◆ FLAGS
◆ PERSPECTIVESense
Enumerator |
---|
PERSPECTIVE_SENSE_SOURCE | coordinates give locations in source of corners of destination.
|
PERSPECTIVE_SENSE_DESTINATION | coordinates give locations in destination of corners of source.
|
Definition at line 59 of file vf_perspective.c.
◆ EvalMode
Enumerator |
---|
EVAL_MODE_ONCE | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
EVAL_MODE_INIT | |
EVAL_MODE_FRAME | |
EVAL_MODE_NB | |
Definition at line 64 of file vf_perspective.c.
◆ anonymous enum
Enumerator |
---|
VAR_W | |
VAR_H | |
VAR_IN | |
VAR_ON | |
VAR_VARS_NB | |
Definition at line 120 of file vf_perspective.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
perspective |
| ) |
|
◆ get_coeff()
◆ calc_persp_luts()
◆ config_input()
◆ resample_cubic()
◆ resample_linear()
◆ init()
◆ filter_frame()
◆ uninit()
◆ perspective_options
Initial value:= {
{ "source", "specify locations in source to send to corners in destination",
{ "destination", "specify locations in destination to send corners of source",
}
Definition at line 70 of file vf_perspective.c.
◆ pix_fmts
◆ var_names
const char* const var_names[] = { "W", "H", "in", "on", NULL } |
|
static |
◆ perspective_inputs
◆ ff_vf_perspective
Initial value:= {
.name = "perspective",
.priv_class = &perspective_class,
}
Definition at line 497 of file vf_perspective.c.
static enum AVPixelFormat pix_fmts[]
#define FILTER_PIXFMTS_ARRAY(array)
@ AV_PIX_FMT_YUV440P
planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
@ PERSPECTIVE_SENSE_SOURCE
coordinates give locations in source of corners of destination.
@ AV_PIX_FMT_GBRAP
planar GBRA 4:4:4:4 32bpp
@ AV_PIX_FMT_YUVJ411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) full scale (JPEG), deprecated in favor ...
static av_cold int init(AVFilterContext *ctx)
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
@ AV_PIX_FMT_YUVA420P
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_INPUTS(array)
@ AV_PIX_FMT_YUVJ444P
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
static const AVFilterPad perspective_inputs[]
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ PERSPECTIVE_SENSE_DESTINATION
coordinates give locations in destination of corners of source.
@ AV_PIX_FMT_YUVA444P
planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples)
static int interpolation(DeclickChannel *c, const double *src, int ar_order, double *acoefficients, int *index, int nb_errors, double *auxiliary, double *interpolated)
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
static int config_input(AVFilterLink *inlink)
@ AV_PIX_FMT_YUVJ440P
planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range
static av_cold void uninit(AVFilterContext *ctx)
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define FILTER_OUTPUTS(array)
@ AV_PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
@ AV_PIX_FMT_YUVA422P
planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples)