FFmpeg
|
transposition filter Based on MPlayer libmpcodecs/vf_rotate.c. More...
#include <stdio.h>
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | TransVtable |
struct | TransContext |
struct | ThreadData |
Used for passing data between threads. More... | |
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 void | transpose_block_8_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) |
static void | transpose_8x8_8_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) |
static void | transpose_block_16_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) |
static void | transpose_8x8_16_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) |
static void | transpose_block_24_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) |
static void | transpose_8x8_24_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) |
static void | transpose_block_32_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) |
static void | transpose_8x8_32_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) |
static void | transpose_block_48_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) |
static void | transpose_8x8_48_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) |
static void | transpose_block_64_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h) |
static void | transpose_8x8_64_c (uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize) |
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 372 of file vf_transpose.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 373 of file vf_transpose.c.
enum PassthroughType |
Enumerator | |
---|---|
TRANSPOSE_PT_TYPE_NONE | |
TRANSPOSE_PT_TYPE_LANDSCAPE | |
TRANSPOSE_PT_TYPE_PORTRAIT |
Definition at line 42 of file vf_transpose.c.
enum TransposeDir |
Enumerator | |
---|---|
TRANSPOSE_CCLOCK_FLIP | |
TRANSPOSE_CLOCK | |
TRANSPOSE_CCLOCK | |
TRANSPOSE_CLOCK_FLIP |
Definition at line 48 of file vf_transpose.c.
|
static |
Definition at line 75 of file vf_transpose.c.
|
inlinestatic |
Definition at line 94 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_8_c().
|
static |
Definition at line 104 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 110 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_16_c().
|
static |
Definition at line 120 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 126 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_24_c().
|
static |
Definition at line 139 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 145 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_32_c().
|
static |
Definition at line 156 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 162 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_48_c().
|
static |
Definition at line 175 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 181 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_64_c().
|
static |
Definition at line 191 of file vf_transpose.c.
Referenced by config_props_output().
|
static |
Definition at line 197 of file vf_transpose.c.
|
static |
Definition at line 266 of file vf_transpose.c.
|
static |
Definition at line 279 of file vf_transpose.c.
Referenced by filter_frame().
|
static |
Definition at line 341 of file vf_transpose.c.
AVFILTER_DEFINE_CLASS | ( | transpose | ) |
|
static |
Definition at line 375 of file vf_transpose.c.
|
static |
Definition at line 393 of file vf_transpose.c.
|
static |
Definition at line 403 of file vf_transpose.c.
AVFilter ff_vf_transpose |
Definition at line 412 of file vf_transpose.c.