|
FFmpeg
|
#include <assert.h>#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | SwsAArch64LinearOp |
| struct | SwsAArch64DitherOp |
| struct | SwsAArch64OpImplParams |
| SwsAArch64OpImplParams describes the parameters for an SwsAArch64OpType operation. More... | |
Macros | |
| #define | MASK_GET(mask, idx) (((mask) >> ((idx) << 2)) & 0xf) |
| #define | MASK_SET(mask, idx, val) do { (mask) |= (((val) & 0xf) << ((idx) << 2)); } while (0) |
| #define | LOOP(mask, idx) |
| #define | LOOP_BWD(mask, idx) |
| #define | LOOP_MASK(p, idx) LOOP(p->mask, idx) |
| #define | LOOP_MASK_BWD(p, idx) LOOP_BWD(p->mask, idx) |
| #define | LINEAR_MASK_GET(mask, idx, jdx) (((mask) >> (2 * ((5 * (idx) + (jdx))))) & 3) |
| #define | LINEAR_MASK_SET(mask, idx, jdx, val) |
| #define | LINEAR_MASK_0 0 |
| #define | LINEAR_MASK_1 1 |
| #define | LINEAR_MASK_X 3 |
| #define | LOOP_LINEAR_MASK(p, idx, jdx) |
| #define | offsetof_exec_in 0 |
| These values will be used by ops_asmgen to access fields inside of SwsOpExec and SwsOpImpl. More... | |
| #define | offsetof_exec_out 32 |
| #define | offsetof_exec_in_bump 128 |
| #define | offsetof_exec_out_bump 160 |
| #define | offsetof_impl_cont 0 |
| #define | offsetof_impl_priv 16 |
| #define | sizeof_impl 32 |
Typedefs | |
| typedef uint16_t | SwsAArch64OpMask |
| typedef uint64_t | SwsAArch64LinearOpMask |
| Affine coefficient mask for linear op. More... | |
Functions | |
| static int | linear_num_vregs (const SwsAArch64OpImplParams *params) |
| static int | linear_index_to_sws_op (int idx) |
| static int | linear_index_is_offset (int idx) |
| static int | linear_index_to_vx (int idx) |
Definition at line 109 of file ops_impl.h.
Definition at line 110 of file ops_impl.h.
| #define LOOP | ( | mask, | |
| idx | |||
| ) |
Definition at line 112 of file ops_impl.h.
| #define LOOP_BWD | ( | mask, | |
| idx | |||
| ) |
Definition at line 115 of file ops_impl.h.
Definition at line 119 of file ops_impl.h.
Definition at line 120 of file ops_impl.h.
Definition at line 122 of file ops_impl.h.
Definition at line 123 of file ops_impl.h.
| #define LINEAR_MASK_0 0 |
Definition at line 126 of file ops_impl.h.
| #define LINEAR_MASK_1 1 |
Definition at line 127 of file ops_impl.h.
| #define LINEAR_MASK_X 3 |
Definition at line 128 of file ops_impl.h.
| #define LOOP_LINEAR_MASK | ( | p, | |
| idx, | |||
| jdx | |||
| ) |
Definition at line 130 of file ops_impl.h.
| #define offsetof_exec_in 0 |
These values will be used by ops_asmgen to access fields inside of SwsOpExec and SwsOpImpl.
The sizes are checked below when compiling for AArch64 to make sure there is no mismatch.
Definition at line 169 of file ops_impl.h.
| #define offsetof_exec_out 32 |
Definition at line 170 of file ops_impl.h.
| #define offsetof_exec_in_bump 128 |
Definition at line 171 of file ops_impl.h.
| #define offsetof_exec_out_bump 160 |
Definition at line 172 of file ops_impl.h.
| #define offsetof_impl_cont 0 |
Definition at line 173 of file ops_impl.h.
| #define offsetof_impl_priv 16 |
Definition at line 174 of file ops_impl.h.
| #define sizeof_impl 32 |
Definition at line 175 of file ops_impl.h.
| typedef uint16_t SwsAArch64OpMask |
Definition at line 66 of file ops_impl.h.
| typedef uint64_t SwsAArch64LinearOpMask |
Affine coefficient mask for linear op.
Packs a 4x5 matrix in execution order, where the offset is the first element, with 2 bits per element: 00: m[i][j] == 0 01: m[i][j] == 1 11: m[i][j] is any other coefficient
Definition at line 75 of file ops_impl.h.
| enum SwsAArch64PixelType |
| Enumerator | |
|---|---|
| AARCH64_PIXEL_U8 | |
| AARCH64_PIXEL_U16 | |
| AARCH64_PIXEL_U32 | |
| AARCH64_PIXEL_F32 | |
| AARCH64_PIXEL_TYPE_NB | |
Definition at line 29 of file ops_impl.h.
| enum SwsAArch64OpType |
Definition at line 38 of file ops_impl.h.
|
inlinestatic |
Definition at line 136 of file ops_impl.h.
Referenced by aarch64_setup_linear(), and asmgen_op_linear().
|
inlinestatic |
Definition at line 144 of file ops_impl.h.
Referenced by aarch64_setup_linear().
|
inlinestatic |
Definition at line 150 of file ops_impl.h.
Referenced by asmgen_op_linear(), linear_index_to_vx(), and linear_pass().
|
inlinestatic |
Definition at line 155 of file ops_impl.h.
Referenced by asmgen_op_linear(), and linear_pass().
1.8.17