FFmpeg
|
#include "config.h"
#include <stdint.h>
#include "attributes.h"
#include "macros.h"
#include "mem.h"
#include "version.h"
Go to the source code of this file.
Macros | |
#define | DECLARE_ALIGNED(n, t, v) t __attribute__ ((aligned (n))) v |
#define | DECLARE_ASM_ALIGNED(n, t, v) t av_used __attribute__ ((aligned (n))) v |
#define | DECLARE_ASM_CONST(n, t, v) static const t av_used __attribute__ ((aligned (n))) v |
#define | E1(x) x |
#define | LOCAL_ALIGNED_A(a, t, v, s, o, ...) |
#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_A(4, t, v, __VA_ARGS__,,)) |
#define | LOCAL_ALIGNED_8(t, v, ...) E1(LOCAL_ALIGNED_A(8, t, v, __VA_ARGS__,,)) |
#define | LOCAL_ALIGNED_16(t, v, ...) E1(LOCAL_ALIGNED_A(16, t, v, __VA_ARGS__,,)) |
#define | LOCAL_ALIGNED_32(t, v, ...) E1(LOCAL_ALIGNED_A(32, t, v, __VA_ARGS__,,)) |
#define DECLARE_ALIGNED | ( | n, | |
t, | |||
v | |||
) | t __attribute__ ((aligned (n))) 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 87 of file mem_internal.h.
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 88 of file mem_internal.h.
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 89 of file mem_internal.h.
#define E1 | ( | x | ) | x |
Definition at line 102 of file mem_internal.h.
Definition at line 108 of file mem_internal.h.
Definition at line 112 of file mem_internal.h.
#define LOCAL_ALIGNED_4 | ( | t, | |
v, | |||
... | |||
) | E1(LOCAL_ALIGNED_A(4, t, v, __VA_ARGS__,,)) |
Definition at line 117 of file mem_internal.h.
#define LOCAL_ALIGNED_8 | ( | t, | |
v, | |||
... | |||
) | E1(LOCAL_ALIGNED_A(8, t, v, __VA_ARGS__,,)) |
Definition at line 123 of file mem_internal.h.
#define LOCAL_ALIGNED_16 | ( | t, | |
v, | |||
... | |||
) | E1(LOCAL_ALIGNED_A(16, t, v, __VA_ARGS__,,)) |
Definition at line 129 of file mem_internal.h.
#define LOCAL_ALIGNED_32 | ( | t, | |
v, | |||
... | |||
) | E1(LOCAL_ALIGNED_A(32, t, v, __VA_ARGS__,,)) |
Definition at line 135 of file mem_internal.h.