FFmpeg
4.3.1
|
Go to the source code of this file.
Macros | |
#define | AV_GCC_VERSION_AT_LEAST(x, y) (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) |
#define | AV_GCC_VERSION_AT_MOST(x, y) (__GNUC__ < (x) || __GNUC__ == (x) && __GNUC_MINOR__ <= (y)) |
#define | AV_HAS_BUILTIN(x) 0 |
#define | av_always_inline __attribute__((always_inline)) inline |
#define | av_extern_inline inline |
#define | av_warn_unused_result __attribute__((warn_unused_result)) |
#define | av_noinline __attribute__((noinline)) |
#define | av_pure __attribute__((pure)) |
#define | av_const __attribute__((const)) |
#define | av_cold __attribute__((cold)) |
#define | av_flatten __attribute__((flatten)) |
#define | attribute_deprecated __attribute__((deprecated)) |
#define | AV_NOWARN_DEPRECATED(code) |
Disable warnings about deprecated features This is useful for sections of code kept for backward compatibility and scheduled for removal. More... | |
#define | av_unused __attribute__((unused)) |
#define | av_used __attribute__((used)) |
Mark a variable as used and prevent the compiler from optimizing it away. More... | |
#define | av_alias __attribute__((may_alias)) |
#define | av_uninit(x) x=x |
#define | av_builtin_constant_p __builtin_constant_p |
#define | av_printf_format(fmtpos, attrpos) __attribute__((__format__(__printf__, fmtpos, attrpos))) |
#define | av_noreturn __attribute__((noreturn)) |
Macro definitions for various function/variable attributes
Definition in file attributes.h.
#define AV_GCC_VERSION_AT_LEAST | ( | x, | |
y | |||
) | (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) |
Definition at line 31 of file attributes.h.
#define AV_GCC_VERSION_AT_MOST | ( | x, | |
y | |||
) | (__GNUC__ < (x) || __GNUC__ == (x) && __GNUC_MINOR__ <= (y)) |
Definition at line 32 of file attributes.h.
#define AV_HAS_BUILTIN | ( | x | ) | 0 |
Definition at line 41 of file attributes.h.
#define av_always_inline __attribute__((always_inline)) inline |
Definition at line 46 of file attributes.h.
#define av_extern_inline inline |
Definition at line 58 of file attributes.h.
#define av_warn_unused_result __attribute__((warn_unused_result)) |
Definition at line 63 of file attributes.h.
#define av_noinline __attribute__((noinline)) |
Definition at line 69 of file attributes.h.
#define av_pure __attribute__((pure)) |
Definition at line 77 of file attributes.h.
#define av_const __attribute__((const)) |
Definition at line 83 of file attributes.h.
#define av_cold __attribute__((cold)) |
Definition at line 89 of file attributes.h.
#define av_flatten __attribute__((flatten)) |
Definition at line 95 of file attributes.h.
#define attribute_deprecated __attribute__((deprecated)) |
Definition at line 101 of file attributes.h.
#define AV_NOWARN_DEPRECATED | ( | code | ) |
Disable warnings about deprecated features This is useful for sections of code kept for backward compatibility and scheduled for removal.
Definition at line 115 of file attributes.h.
#define av_unused __attribute__((unused)) |
Definition at line 132 of file attributes.h.
#define av_used __attribute__((used)) |
Mark a variable as used and prevent the compiler from optimizing it away.
This is useful for variables accessed only from inline assembler without the compiler being aware.
Definition at line 143 of file attributes.h.
union unaligned_16 av_alias __attribute__((may_alias)) |
Definition at line 149 of file attributes.h.
#define av_uninit | ( | x | ) | x=x |
Definition at line 155 of file attributes.h.
#define av_builtin_constant_p __builtin_constant_p |
Definition at line 161 of file attributes.h.
#define av_printf_format | ( | fmtpos, | |
attrpos | |||
) | __attribute__((__format__(__printf__, fmtpos, attrpos))) |
Definition at line 162 of file attributes.h.
#define av_noreturn __attribute__((noreturn)) |
Definition at line 169 of file attributes.h.