|
FFmpeg
|
#include <assert.h>#include <float.h>#include <stdint.h>#include "libavutil/attributes.h"#include "ops_chain.h"#include "uops_macros.h"Go to the source code of this file.
Data Structures | |
| union | block_t |
| struct | SwsOpIter |
| Internal context holding per-iter execution data. More... | |
Macros | |
| #define | SWS_BLOCK_SIZE 32 |
| Copyright (C) 2026 Niklas Haas. More... | |
| #define | SIZEOF_BLOCK (sizeof(pixel_t) * SWS_BLOCK_SIZE) |
| #define | SWS_LOOP AV_PRAGMA(GCC ivdep) |
| #define | bitfn2(name, ext) name ## _ ## ext |
| #define | bitfn(name, ext) bitfn2(name, ext) |
| #define | fn(name) bitfn(name, PX) |
| #define | bump_ptr(ptr, bump) ((pixel_t *) ((uintptr_t) (ptr) + (bump))) |
| #define | X SWS_COMP_TEST(mask, 0) |
| #define | Y SWS_COMP_TEST(mask, 1) |
| #define | Z SWS_COMP_TEST(mask, 2) |
| #define | W SWS_COMP_TEST(mask, 3) |
| #define | DECL_FUNC(NAME, ...) |
| #define | DECL_READ(NAME, ...) |
| #define | DECL_WRITE(NAME, ...) |
| #define | CALL(NAME, ...) fn(NAME)(iter, impl, x, y, z, w, __VA_ARGS__) |
| #define | CONTINUE(...) |
| #define | DECL_SETUP(NAME, PARAMS, OUT) |
| #define | DECL_IMPL(FUNC, NAME, TYPE, UOP, ...) |
| #define | DECL_IMPL_READ(...) |
| #define | DECL_IMPL_WRITE(...) |
| #define | REF_ENTRY(DUMMY, NAME, ...) &op_##NAME, |
| #define | DECL_ENTRY(SETUP, NAME, ...) |
| #define SWS_BLOCK_SIZE 32 |
Copyright (C) 2026 Niklas Haas.
This file is part of FFmpeg.
FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Helper macros for the C-based backend.
To use these macros, pixel_t should be defined as the type of pixels.
Definition at line 40 of file uops_tmpl.h.
| #define SIZEOF_BLOCK (sizeof(pixel_t) * SWS_BLOCK_SIZE) |
Definition at line 50 of file uops_tmpl.h.
| #define SWS_LOOP AV_PRAGMA(GCC ivdep) |
Definition at line 68 of file uops_tmpl.h.
Definition at line 74 of file uops_tmpl.h.
Definition at line 75 of file uops_tmpl.h.
| #define bump_ptr | ( | ptr, | |
| bump | |||
| ) | ((pixel_t *) ((uintptr_t) (ptr) + (bump))) |
Definition at line 78 of file uops_tmpl.h.
| #define X SWS_COMP_TEST(mask, 0) |
Definition at line 81 of file uops_tmpl.h.
| #define Y SWS_COMP_TEST(mask, 1) |
Definition at line 82 of file uops_tmpl.h.
| #define Z SWS_COMP_TEST(mask, 2) |
Definition at line 83 of file uops_tmpl.h.
| #define W SWS_COMP_TEST(mask, 3) |
Definition at line 84 of file uops_tmpl.h.
| #define DECL_FUNC | ( | NAME, | |
| ... | |||
| ) |
Definition at line 87 of file uops_tmpl.h.
| #define DECL_READ | ( | NAME, | |
| ... | |||
| ) |
| #define DECL_WRITE | ( | NAME, | |
| ... | |||
| ) |
Definition at line 104 of file uops_tmpl.h.
| #define CONTINUE | ( | ... | ) |
Definition at line 107 of file uops_tmpl.h.
Definition at line 114 of file uops_tmpl.h.
Definition at line 119 of file uops_tmpl.h.
| #define DECL_IMPL_READ | ( | ... | ) |
| #define DECL_IMPL_WRITE | ( | ... | ) |
| #define REF_ENTRY | ( | DUMMY, | |
| NAME, | |||
| ... | |||
| ) | &op_##NAME, |
Definition at line 138 of file uops_tmpl.h.
| #define DECL_ENTRY | ( | SETUP, | |
| NAME, | |||
| ... | |||
| ) |
Definition at line 139 of file uops_tmpl.h.
1.8.17