FFmpeg
|
transposition filter Based on MPlayer libmpcodecs/vf_rotate.c. More...
#include <stdio.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.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 | TransContext |
struct | ThreadData |
Macros | |
#define | OFFSET(x) offsetof(TransContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
enum | PassthroughType { TRANSPOSE_PT_TYPE_NONE, TRANSPOSE_PT_TYPE_LANDSCAPE, TRANSPOSE_PT_TYPE_PORTRAIT } |
enum | TransposeDir { TRANSPOSE_CCLOCK_FLIP, TRANSPOSE_CLOCK, TRANSPOSE_CCLOCK, TRANSPOSE_CLOCK_FLIP } |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_props_output (AVFilterLink *outlink) |
static AVFrame * | get_video_buffer (AVFilterLink *inlink, int w, int h) |
static int | filter_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
AVFILTER_DEFINE_CLASS (transpose) | |
Variables | |
static const AVOption | transpose_options [] |
static const AVFilterPad | avfilter_vf_transpose_inputs [] |
static const AVFilterPad | avfilter_vf_transpose_outputs [] |
AVFilter | ff_vf_transpose |
transposition filter Based on MPlayer libmpcodecs/vf_rotate.c.
Definition in file vf_transpose.c.
#define OFFSET | ( | x | ) | offsetof(TransContext, x) |
Definition at line 253 of file vf_transpose.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 254 of file vf_transpose.c.
enum PassthroughType |
Definition at line 40 of file vf_transpose.c.
enum TransposeDir |
Definition at line 46 of file vf_transpose.c.
|
static |
Definition at line 62 of file vf_transpose.c.
|
static |
Definition at line 81 of file vf_transpose.c.
|
static |
Definition at line 126 of file vf_transpose.c.
|
static |
Definition at line 139 of file vf_transpose.c.
Referenced by filter_frame().
|
static |
Definition at line 222 of file vf_transpose.c.
AVFILTER_DEFINE_CLASS | ( | transpose | ) |
|
static |
Definition at line 256 of file vf_transpose.c.
|
static |
Definition at line 274 of file vf_transpose.c.
|
static |
Definition at line 284 of file vf_transpose.c.
AVFilter ff_vf_transpose |
Definition at line 293 of file vf_transpose.c.