|
FFmpeg
|
#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.
Data Structures | |
| struct | PerspectiveContext |
Macros | |
| #define | SUB_PIXEL_BITS 8 |
| #define | SUB_PIXELS (1 << SUB_PIXEL_BITS) |
| #define | COEFF_BITS 11 |
| #define | LINEAR 0 |
| #define | CUBIC 1 |
| #define | OFFSET(x) offsetof(PerspectiveContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
| enum | { VAR_W, VAR_H, VAR_VARS_NB } |
Functions | |
| 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) |
Variables | |
| static const AVOption | perspective_options [] |
| static const char *const | var_names [] = { "W", "H", NULL } |
| static const AVFilterPad | perspective_inputs [] |
| static const AVFilterPad | perspective_outputs [] |
| AVFilter | ff_vf_perspective |
| #define SUB_PIXEL_BITS 8 |
Definition at line 31 of file vf_perspective.c.
Referenced by resample_cubic(), and resample_linear().
| #define SUB_PIXELS (1 << SUB_PIXEL_BITS) |
Definition at line 32 of file vf_perspective.c.
Referenced by config_input(), resample_cubic(), and resample_linear().
| #define COEFF_BITS 11 |
Definition at line 33 of file vf_perspective.c.
Referenced by config_input(), and resample_cubic().
| #define LINEAR 0 |
Definition at line 35 of file vf_perspective.c.
Referenced by init().
| #define CUBIC 1 |
Definition at line 36 of file vf_perspective.c.
Referenced by init().
| #define OFFSET | ( | x | ) | offsetof(PerspectiveContext, x) |
Definition at line 56 of file vf_perspective.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 57 of file vf_perspective.c.
| anonymous enum |
Definition at line 106 of file vf_perspective.c.
| AVFILTER_DEFINE_CLASS | ( | perspective | ) |
|
static |
Definition at line 76 of file vf_perspective.c.
|
inlinestatic |
Definition at line 89 of file vf_perspective.c.
Referenced by config_input().
|
static |
Definition at line 108 of file vf_perspective.c.
|
static |
Definition at line 196 of file vf_perspective.c.
Referenced by init().
|
static |
Definition at line 264 of file vf_perspective.c.
Referenced by init().
|
static |
Definition at line 328 of file vf_perspective.c.
|
static |
Definition at line 340 of file vf_perspective.c.
|
static |
Definition at line 367 of file vf_perspective.c.
|
static |
Definition at line 59 of file vf_perspective.c.
|
static |
Definition at line 105 of file vf_perspective.c.
Referenced by config_input().
|
static |
Definition at line 374 of file vf_perspective.c.
|
static |
Definition at line 384 of file vf_perspective.c.
| AVFilter ff_vf_perspective |
Definition at line 392 of file vf_perspective.c.
1.8.2