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",
}
Definition at line 71 of file vf_perspective.c.
◆ var_names
const char* const var_names[] = { "W", "H", "in", "on", NULL } |
|
static |
◆ perspective_inputs
◆ perspective_outputs
◆ ff_vf_perspective
Initial value:= {
.name = "perspective",
.priv_class = &perspective_class,
}
Definition at line 514 of file vf_perspective.c.
@ PERSPECTIVE_SENSE_SOURCE
coordinates give locations in source of corners of destination.
static av_cold int init(AVFilterContext *ctx)
static const AVFilterPad outputs[]
static const AVFilterPad perspective_inputs[]
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVFilterPad perspective_outputs[]
@ PERSPECTIVE_SENSE_DESTINATION
coordinates give locations in destination of 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)
#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)
static av_cold void uninit(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#define flags(name, subs,...)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)