#include <string.h>
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "filters.h"
#include "video.h"
Go to the source code of this file.
Simple time and space inverter.
Definition in file vf_tiltandshift.c.
◆ OFFSET
◆ PaddingOption
Enumerator |
---|
TILT_NONE | |
TILT_FRAME | |
TILT_BLACK | |
TILT_OPT_MAX | |
Definition at line 37 of file vf_tiltandshift.c.
◆ list_add_frame()
◆ list_remove_head()
◆ uninit()
◆ config_props()
◆ copy_column()
static void copy_column |
( |
AVFilterLink * |
outlink, |
|
|
uint8_t * |
dst_data[4], |
|
|
int |
dst_linesizes[4], |
|
|
const uint8_t * |
src_data[4], |
|
|
const int |
src_linesizes[4], |
|
|
int |
ncol, |
|
|
int |
tilt |
|
) |
| |
|
static |
◆ output_frame()
◆ filter_frame()
◆ request_frame()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
tiltandshift |
| ) |
|
◆ pix_fmts
◆ tiltandshift_options
Initial value:= {
{ .i64 = 1 }, 0, 1, .flags =
V, .unit =
"tilt" },
{ .i64 =
TILT_NONE }, INT_MIN, INT_MAX, .flags =
V, .unit =
"start" },
{ .i64 =
TILT_FRAME }, INT_MIN, INT_MAX, .flags =
V, .unit =
"start" },
{ .i64 =
TILT_BLACK }, INT_MIN, INT_MAX, .flags =
V, .unit =
"start" },
{ .i64 =
TILT_NONE }, INT_MIN, INT_MAX, .flags =
V, .unit =
"end" },
{ .i64 =
TILT_FRAME }, INT_MIN, INT_MAX, .flags =
V, .unit =
"end" },
{ .i64 =
TILT_BLACK }, INT_MIN, INT_MAX, .flags =
V, .unit =
"end" },
{ .i64 = 0 }, 0, INT_MAX, .flags =
V, .unit =
"hold" },
{ .i64 = 0 }, 0, INT_MAX, .flags =
V, .unit =
"pad" },
}
Definition at line 310 of file vf_tiltandshift.c.
◆ tiltandshift_inputs
◆ tiltandshift_outputs
◆ ff_vf_tiltandshift
Initial value:= {
.p.name = "tiltandshift",
.p.priv_class = &tiltandshift_class,
}
Definition at line 359 of file vf_tiltandshift.c.
static const AVFilterPad tiltandshift_inputs[]
#define FILTER_PIXFMTS_ARRAY(array)
#define FILTER_INPUTS(array)
static av_cold void uninit(AVFilterContext *ctx)
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_OUTPUTS(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...
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
static int request_frame(AVFilterLink *outlink)
static const AVFilterPad tiltandshift_outputs[]
static enum AVPixelFormat pix_fmts[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int config_props(AVFilterLink *outlink)
@ AV_PIX_FMT_YUVJ440P
planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
@ AV_PIX_FMT_YUV410P
planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples)
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.