#include <inttypes.h>#include "config.h"#include "libswscale/swscale.h"#include "libswscale/swscale_internal.h"#include "libavutil/avassert.h"#include "libavutil/intreadwrite.h"#include "libavutil/x86_cpu.h"#include "libavutil/cpu.h"#include "libavutil/pixdesc.h"Go to the source code of this file.
Defines | |
| #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) |
Functions | |
| SCALE_FUNCS_SSE (sse2) | |
| SCALE_FUNCS_SSE (ssse3) | |
| SCALE_FUNCS_SSE (sse4) | |
| 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) | |
| void | ff_sws_init_swScale_mmx (SwsContext *c) |
| #define INPUT_FUNC | ( | fmt, | |||
| opt | ) |
Value:
INPUT_Y_FUNC(fmt, opt); \ INPUT_UV_FUNC(fmt, opt)
Definition at line 348 of file swscale_mmx.c.
| #define INPUT_FUNCS | ( | opt | ) |
Value:
INPUT_FUNC(uyvy, opt); \ INPUT_FUNC(yuyv, opt); \ INPUT_UV_FUNC(nv12, opt); \ INPUT_UV_FUNC(nv21, opt); \ INPUT_FUNC(rgba, opt); \ INPUT_FUNC(bgra, opt); \ INPUT_FUNC(argb, opt); \ INPUT_FUNC(abgr, opt); \ INPUT_FUNC(rgb24, opt); \ INPUT_FUNC(bgr24, opt)
Definition at line 351 of file swscale_mmx.c.
| #define INPUT_UV_FUNC | ( | fmt, | |||
| opt | ) |
| #define INPUT_Y_FUNC | ( | fmt, | |||
| opt | ) |
| #define SCALE_FUNC | ( | filter_n, | |||
| from_bpc, | |||||
| to_bpc, | |||||
| opt | ) |
| #define SCALE_FUNCS | ( | filter_n, | |||
| opt | ) |
Value:
SCALE_FUNC(filter_n, 8, 15, opt); \ SCALE_FUNC(filter_n, 9, 15, opt); \ SCALE_FUNC(filter_n, 10, 15, opt); \ SCALE_FUNC(filter_n, 12, 15, opt); \ SCALE_FUNC(filter_n, 14, 15, opt); \ SCALE_FUNC(filter_n, 16, 15, opt); \ SCALE_FUNC(filter_n, 8, 19, opt); \ SCALE_FUNC(filter_n, 9, 19, opt); \ SCALE_FUNC(filter_n, 10, 19, opt); \ SCALE_FUNC(filter_n, 12, 19, opt); \ SCALE_FUNC(filter_n, 14, 19, opt); \ SCALE_FUNC(filter_n, 16, 19, opt)
Definition at line 276 of file swscale_mmx.c.
| #define SCALE_FUNCS_MMX | ( | opt | ) |
Value:
SCALE_FUNCS(4, opt); \ SCALE_FUNCS(8, opt); \ SCALE_FUNCS(X, opt)
Definition at line 290 of file swscale_mmx.c.
| #define SCALE_FUNCS_SSE | ( | opt | ) |
Value:
SCALE_FUNCS(4, opt); \ SCALE_FUNCS(8, opt); \ SCALE_FUNCS(X4, opt); \ SCALE_FUNCS(X8, opt)
Definition at line 295 of file swscale_mmx.c.
| #define VSCALE_FUNC | ( | size, | |||
| opt | ) |
| #define VSCALE_FUNCS | ( | opt1, | |||
| opt2 | ) |
Value:
VSCALE_FUNC(8, opt1); \ VSCALE_FUNC(9, opt2); \ VSCALE_FUNC(10, opt2); \ VSCALE_FUNC(16, opt1)
Definition at line 328 of file swscale_mmx.c.
| #define VSCALEX_FUNC | ( | size, | |||
| opt | ) |
| #define VSCALEX_FUNCS | ( | opt | ) |
Value:
VSCALEX_FUNC(8, opt); \ VSCALEX_FUNC(9, opt); \ VSCALEX_FUNC(10, opt)
Definition at line 312 of file swscale_mmx.c.
| void ff_sws_init_swScale_mmx | ( | SwsContext * | c | ) |
| INPUT_FUNCS | ( | avx | ) |
| INPUT_FUNCS | ( | ssse3 | ) |
| INPUT_FUNCS | ( | sse2 | ) |
| SCALE_FUNCS_SSE | ( | sse4 | ) |
| SCALE_FUNCS_SSE | ( | ssse3 | ) |
| SCALE_FUNCS_SSE | ( | sse2 | ) |
| VSCALE_FUNC | ( | 16 | , | |
| sse4 | ||||
| ) |
| VSCALE_FUNCS | ( | avx | , | |
| avx | ||||
| ) |
| VSCALE_FUNCS | ( | sse2 | , | |
| sse2 | ||||
| ) |
| VSCALEX_FUNC | ( | 16 | , | |
| sse4 | ||||
| ) |
| VSCALEX_FUNCS | ( | avx | ) |
| VSCALEX_FUNCS | ( | sse4 | ) |
| VSCALEX_FUNCS | ( | sse2 | ) |
1.5.8