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
} |
|
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 60 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 | |
Definition at line 65 of file vf_perspective.c.
◆ anonymous enum
Enumerator |
---|
VAR_W | |
VAR_H | |
VAR_IN | |
VAR_ON | |
VAR_VARS_NB | |
Definition at line 129 of file vf_perspective.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
perspective |
| ) |
|
◆ query_formats()
◆ get_coeff()
static double get_coeff |
( |
double |
d | ) |
|
|
inlinestatic |
◆ 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",
}
static int interpolation(DeclickChannel *c, const double *src, int ar_order, double *acoefficients, int *index, int nb_errors, double *auxiliary, double *interpolated)
@ PERSPECTIVE_SENSE_DESTINATION
coordinates give locations in destination of corners of source.
@ PERSPECTIVE_SENSE_SOURCE
coordinates give locations in source of corners of destination.
Definition at line 71 of file vf_perspective.c.
◆ var_names
const char* const var_names[] = { "W", "H", "in", "on", NULL } |
|
static |
◆ perspective_inputs
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition at line 496 of file vf_perspective.c.
◆ perspective_outputs
◆ ff_vf_perspective
Initial value:= {
.name = "perspective",
.priv_class = &perspective_class,
}
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
#define flags(name, subs,...)
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad perspective_inputs[]
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad perspective_outputs[]
static av_cold int init(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
Definition at line 514 of file vf_perspective.c.