FFmpeg
|
#include <inttypes.h>
#include "config.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/x86/cpu.h"
#include "libavutil/cpu.h"
#include "libavutil/mem_internal.h"
#include "libavutil/pixdesc.h"
Go to the source code of this file.
Macros | |
#define | YUV2YUVX_FUNC_MMX(opt, step) |
#define | YUV2YUVX_FUNC(opt, step) |
#define | SCALE_FUNC(filter_n, from_bpc, to_bpc, opt) |
#define | SCALE_FUNCS(filter_n, opt) |
#define | SCALE_FUNCS_MMX(opt) |
#define | SCALE_FUNCS_SSE(opt) |
#define | VSCALEX_FUNC(size, opt) |
#define | VSCALEX_FUNCS(opt) |
#define | VSCALE_FUNC(size, opt) |
#define | VSCALE_FUNCS(opt1, opt2) |
#define | INPUT_Y_FUNC(fmt, opt) |
#define | INPUT_UV_FUNC(fmt, opt) |
#define | INPUT_FUNC(fmt, opt) |
#define | INPUT_FUNCS(opt) |
#define | ASSIGN_SCALE_FUNC2(hscalefn, filtersize, opt1, opt2) |
#define | ASSIGN_MMX_SCALE_FUNC(hscalefn, filtersize, opt1, opt2) |
#define | ASSIGN_VSCALEX_FUNC(vscalefn, opt, do_16_case, condition_8bit) |
#define | ASSIGN_VSCALE_FUNC(vscalefn, opt1, opt2, opt2chk) |
#define | case_rgb(x, X, opt) |
#define | ASSIGN_SSE_SCALE_FUNC(hscalefn, filtersize, opt1, opt2) |
Functions | |
SCALE_FUNCS_SSE (sse2) | |
SCALE_FUNCS_SSE (ssse3) | |
SCALE_FUNCS_SSE (sse4) | |
SCALE_FUNC (4, 8, 15, avx2) | |
SCALE_FUNC (X4, 8, 15, avx2) | |
VSCALEX_FUNCS (sse2) | |
VSCALEX_FUNCS (sse4) | |
VSCALEX_FUNC (16, sse4) | |
VSCALEX_FUNCS (avx) | |
VSCALE_FUNCS (sse2, sse2) | |
VSCALE_FUNC (16, sse4) | |
VSCALE_FUNCS (avx, avx) | |
INPUT_FUNCS (sse2) | |
INPUT_FUNCS (ssse3) | |
INPUT_FUNCS (avx) | |
av_cold void | ff_sws_init_swscale_x86 (SwsContext *c) |
Variables | |
const uint64_t | ff_dither4 [2] |
const uint64_t | ff_dither8 [2] |
#define YUV2YUVX_FUNC_MMX | ( | opt, | |
step | |||
) |
#define YUV2YUVX_FUNC | ( | opt, | |
step | |||
) |
#define SCALE_FUNC | ( | filter_n, | |
from_bpc, | |||
to_bpc, | |||
opt | |||
) |
#define SCALE_FUNCS | ( | filter_n, | |
opt | |||
) |
#define SCALE_FUNCS_MMX | ( | opt | ) |
#define SCALE_FUNCS_SSE | ( | opt | ) |
#define VSCALEX_FUNC | ( | size, | |
opt | |||
) |
#define VSCALEX_FUNCS | ( | opt | ) |
#define VSCALE_FUNC | ( | size, | |
opt | |||
) |
#define VSCALE_FUNCS | ( | opt1, | |
opt2 | |||
) |
#define INPUT_Y_FUNC | ( | fmt, | |
opt | |||
) |
#define INPUT_UV_FUNC | ( | fmt, | |
opt | |||
) |
#define INPUT_FUNC | ( | fmt, | |
opt | |||
) |
#define INPUT_FUNCS | ( | opt | ) |
#define ASSIGN_SCALE_FUNC2 | ( | hscalefn, | |
filtersize, | |||
opt1, | |||
opt2 | |||
) |
#define ASSIGN_MMX_SCALE_FUNC | ( | hscalefn, | |
filtersize, | |||
opt1, | |||
opt2 | |||
) |
#define ASSIGN_VSCALEX_FUNC | ( | vscalefn, | |
opt, | |||
do_16_case, | |||
condition_8bit | |||
) |
#define ASSIGN_VSCALE_FUNC | ( | vscalefn, | |
opt1, | |||
opt2, | |||
opt2chk | |||
) |
#define case_rgb | ( | x, | |
X, | |||
opt | |||
) |
#define ASSIGN_SSE_SCALE_FUNC | ( | hscalefn, | |
filtersize, | |||
opt1, | |||
opt2 | |||
) |
SCALE_FUNCS_SSE | ( | sse2 | ) |
SCALE_FUNCS_SSE | ( | ssse3 | ) |
SCALE_FUNCS_SSE | ( | sse4 | ) |
SCALE_FUNC | ( | 4 | , |
8 | , | ||
15 | , | ||
avx2 | |||
) |
SCALE_FUNC | ( | X4 | , |
8 | , | ||
15 | , | ||
avx2 | |||
) |
VSCALEX_FUNCS | ( | sse2 | ) |
VSCALEX_FUNCS | ( | sse4 | ) |
VSCALEX_FUNC | ( | 16 | , |
sse4 | |||
) |
VSCALEX_FUNCS | ( | avx | ) |
VSCALE_FUNCS | ( | sse2 | , |
sse2 | |||
) |
VSCALE_FUNC | ( | 16 | , |
sse4 | |||
) |
VSCALE_FUNCS | ( | avx | , |
avx | |||
) |
INPUT_FUNCS | ( | sse2 | ) |
INPUT_FUNCS | ( | ssse3 | ) |
INPUT_FUNCS | ( | avx | ) |
av_cold void ff_sws_init_swscale_x86 | ( | SwsContext * | c | ) |
Definition at line 358 of file swscale.c.
Referenced by ff_sws_init_scale().
const uint64_t ff_dither4[2] |
Definition at line 33 of file swscale.c.
Referenced by yuv420_rgb16_TMPL().
const uint64_t ff_dither8[2] |
Definition at line 37 of file swscale.c.
Referenced by yuv420_rgb15_TMPL(), and yuv420_rgb16_TMPL().