FFmpeg
Classes | Macros | Typedefs | Enumerations | Functions | Variables
vf_transpose.c File Reference

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"

Classes

struct  TransVtable
 
struct  TransContext
 
struct  ThreadData
 

Macros

#define OFFSET(x)   offsetof(TransContext, x)
 
#define FLAGS   AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
 

Typedefs

typedef struct TransVtable TransVtable
 
typedef struct TransContext TransContext
 
typedef struct ThreadData ThreadData
 

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

 AVFILTER_DEFINE_CLASS (transpose)
 

Variables

AVFilter ff_vf_transpose
 

Detailed Description

transposition filter Based on MPlayer libmpcodecs/vf_rotate.c.

Variable Documentation

§ ff_vf_transpose

AVFilter ff_vf_transpose
Initial value:
= {
.name = "transpose",
.description = NULL_IF_CONFIG_SMALL("Transpose input video."),
.priv_size = sizeof(TransContext),
.priv_class = &transpose_class,
.query_formats = query_formats,
.inputs = avfilter_vf_transpose_inputs,
.outputs = avfilter_vf_transpose_outputs,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
Definition: avfilter.h:116
Definition: vf_transpose.c:63