#include "libavutil/eval.h"
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (perspective) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static double | get_coeff (double d) |
|
static int | config_input (AVFilterLink *inlink) |
|
static void | resample_cubic (PerspectiveContext *s, uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int w, int h, int hsub, int vsub) |
|
static void | resample_linear (PerspectiveContext *s, uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int w, int h, int hsub, int vsub) |
|
static av_cold int | init (AVFilterContext *ctx) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
AVFILTER_DEFINE_CLASS |
( |
perspective |
| ) |
|
static double get_coeff |
( |
double |
d | ) |
|
|
inlinestatic |
const char* const var_names[] = { "W", "H", NULL } |
|
static |
Initial value:= {
{
.name = "default",
},
{ NULL }
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition at line 374 of file vf_perspective.c.
Initial value:= {
{
.name = "default",
},
{ NULL }
}
Definition at line 384 of file vf_perspective.c.
Initial value:= {
.name = "perspective",
.priv_class = &perspective_class,
}
static const AVFilterPad outputs[]
static int query_formats(AVFilterContext *ctx)
#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 av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad perspective_inputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad inputs[]
static av_cold int init(AVFilterContext *ctx)
static const AVFilterPad perspective_outputs[]
Definition at line 392 of file vf_perspective.c.