|
FFmpeg
|
#include "config.h"#include <stdint.h>#include <stdalign.h>#include "attributes.h"#include "macros.h"Go to the source code of this file.
Macros | |
| #define | DECLARE_ALIGNED_T(n, t, v) alignas(n) t v |
| #define | DECLARE_ASM_ALIGNED(n, t, v) alignas(n) t av_used v |
| #define | DECLARE_ASM_CONST(n, t, v) alignas(n) static const t av_used v |
| #define | ALIGN_64 16 |
| #define | ALIGN_32 16 |
| #define | DECLARE_ALIGNED(n, t, v) DECLARE_ALIGNED_V(n,t,v) |
| #define | DECLARE_ALIGNED_V(n, t, v) DECLARE_ALIGNED_##n(t,v) |
| #define | DECLARE_ALIGNED_4(t, v) DECLARE_ALIGNED_T( 4, t, v) |
| #define | DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED_T( 8, t, v) |
| #define | DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED_T( 16, t, v) |
| #define | DECLARE_ALIGNED_32(t, v) DECLARE_ALIGNED_T(ALIGN_32, t, v) |
| #define | DECLARE_ALIGNED_64(t, v) DECLARE_ALIGNED_T(ALIGN_64, t, v) |
| #define | E1(x) x |
| #define | LOCAL_ALIGNED_D(a, t, v, s, o, ...) |
| #define | LOCAL_ALIGNED(a, t, v, ...) LOCAL_ALIGNED_##a(t, v, __VA_ARGS__) |
| #define | LOCAL_ALIGNED_4(t, v, ...) E1(LOCAL_ALIGNED_D(4, t, v, __VA_ARGS__,,)) |
| #define | LOCAL_ALIGNED_8(t, v, ...) E1(LOCAL_ALIGNED_D(8, t, v, __VA_ARGS__,,)) |
| #define | LOCAL_ALIGNED_16(t, v, ...) E1(LOCAL_ALIGNED_D(16, t, v, __VA_ARGS__,,)) |
| #define | LOCAL_ALIGNED_32(t, v, ...) E1(LOCAL_ALIGNED_D(32, t, v, __VA_ARGS__,,)) |
| #define | LOCAL_ALIGNED_64(t, v, ...) E1(LOCAL_ALIGNED_D(64, t, v, __VA_ARGS__,,)) |
| #define DECLARE_ALIGNED_T | ( | n, | |
| t, | |||
| v | |||
| ) | alignas(n) t v |
Definition at line 88 of file mem_internal.h.
| #define DECLARE_ASM_ALIGNED | ( | n, | |
| t, | |||
| v | |||
| ) | alignas(n) t av_used v |
Declare an aligned variable appropriate for use in inline assembly code.
| n | Minimum alignment in bytes |
| t | Type of the variable (or array element) |
| v | Name of the variable |
Definition at line 89 of file mem_internal.h.
| #define DECLARE_ASM_CONST | ( | n, | |
| t, | |||
| v | |||
| ) | alignas(n) static const t av_used v |
Declare a static constant aligned variable appropriate for use in inline assembly code.
| n | Minimum alignment in bytes |
| t | Type of the variable (or array element) |
| v | Name of the variable |
Definition at line 90 of file mem_internal.h.
| #define ALIGN_64 16 |
Definition at line 100 of file mem_internal.h.
| #define ALIGN_32 16 |
Definition at line 101 of file mem_internal.h.
| #define DECLARE_ALIGNED | ( | n, | |
| t, | |||
| v | |||
| ) | DECLARE_ALIGNED_V(n,t,v) |
Declare a variable that is aligned in memory.
| n | Minimum alignment in bytes |
| t | Type of the variable (or array element) |
| v | Name of the variable |
Definition at line 104 of file mem_internal.h.
| #define DECLARE_ALIGNED_V | ( | n, | |
| t, | |||
| v | |||
| ) | DECLARE_ALIGNED_##n(t,v) |
Definition at line 108 of file mem_internal.h.
| #define DECLARE_ALIGNED_4 | ( | t, | |
| v | |||
| ) | DECLARE_ALIGNED_T( 4, t, v) |
Definition at line 110 of file mem_internal.h.
| #define DECLARE_ALIGNED_8 | ( | t, | |
| v | |||
| ) | DECLARE_ALIGNED_T( 8, t, v) |
Definition at line 111 of file mem_internal.h.
| #define DECLARE_ALIGNED_16 | ( | t, | |
| v | |||
| ) | DECLARE_ALIGNED_T( 16, t, v) |
Definition at line 112 of file mem_internal.h.
| #define DECLARE_ALIGNED_32 | ( | t, | |
| v | |||
| ) | DECLARE_ALIGNED_T(ALIGN_32, t, v) |
Definition at line 113 of file mem_internal.h.
| #define DECLARE_ALIGNED_64 | ( | t, | |
| v | |||
| ) | DECLARE_ALIGNED_T(ALIGN_64, t, v) |
Definition at line 114 of file mem_internal.h.
| #define E1 | ( | x | ) | x |
Definition at line 118 of file mem_internal.h.
Definition at line 120 of file mem_internal.h.
Definition at line 124 of file mem_internal.h.
| #define LOCAL_ALIGNED_4 | ( | t, | |
| v, | |||
| ... | |||
| ) | E1(LOCAL_ALIGNED_D(4, t, v, __VA_ARGS__,,)) |
Definition at line 126 of file mem_internal.h.
| #define LOCAL_ALIGNED_8 | ( | t, | |
| v, | |||
| ... | |||
| ) | E1(LOCAL_ALIGNED_D(8, t, v, __VA_ARGS__,,)) |
Definition at line 128 of file mem_internal.h.
| #define LOCAL_ALIGNED_16 | ( | t, | |
| v, | |||
| ... | |||
| ) | E1(LOCAL_ALIGNED_D(16, t, v, __VA_ARGS__,,)) |
Definition at line 130 of file mem_internal.h.
| #define LOCAL_ALIGNED_32 | ( | t, | |
| v, | |||
| ... | |||
| ) | E1(LOCAL_ALIGNED_D(32, t, v, __VA_ARGS__,,)) |
Definition at line 132 of file mem_internal.h.
| #define LOCAL_ALIGNED_64 | ( | t, | |
| v, | |||
| ... | |||
| ) | E1(LOCAL_ALIGNED_D(64, t, v, __VA_ARGS__,,)) |
Definition at line 134 of file mem_internal.h.
1.8.17