FFmpeg
|
#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"
#include "transpose.h"
Go to the source code of this file.
Data Structures | |
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 |
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 [] |
const 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 370 of file vf_transpose.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 371 of file vf_transpose.c.
|
static |
Definition at line 55 of file vf_transpose.c.
|
inlinestatic |
Definition at line 74 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_8_c().
|
static |
Definition at line 84 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 90 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_16_c().
|
static |
Definition at line 100 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 106 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_24_c().
|
static |
Definition at line 119 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 125 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_32_c().
|
static |
Definition at line 136 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 142 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_48_c().
|
static |
Definition at line 155 of file vf_transpose.c.
Referenced by config_props_output().
|
inlinestatic |
Definition at line 161 of file vf_transpose.c.
Referenced by config_props_output(), and transpose_8x8_64_c().
|
static |
Definition at line 171 of file vf_transpose.c.
Referenced by config_props_output().
|
static |
Definition at line 177 of file vf_transpose.c.
|
static |
Definition at line 254 of file vf_transpose.c.
|
static |
Definition at line 267 of file vf_transpose.c.
Referenced by filter_frame().
|
static |
Definition at line 329 of file vf_transpose.c.
AVFILTER_DEFINE_CLASS | ( | transpose | ) |
|
static |
Definition at line 373 of file vf_transpose.c.
|
static |
Definition at line 391 of file vf_transpose.c.
|
static |
Definition at line 400 of file vf_transpose.c.
const AVFilter ff_vf_transpose |
Definition at line 408 of file vf_transpose.c.