FFmpeg 5.1.6
|
simple assert() macros that are a bit more flexible than ISO C assert(). More...
Go to the source code of this file.
Macros | |
#define | av_assert0(cond) |
assert() equivalent, that is always enabled. More... | |
#define | av_assert1(cond) ((void)0) |
assert() equivalent, that does not lie in speed critical code. More... | |
#define | av_assert2(cond) ((void)0) |
assert() equivalent, that does lie in speed critical code. More... | |
#define | av_assert2_fpu() ((void)0) |
Functions | |
void | av_assert0_fpu (void) |
Assert that floating point operations can be executed. More... | |
simple assert() macros that are a bit more flexible than ISO C assert().
Definition in file avassert.h.
#define av_assert0 | ( | cond | ) |
assert() equivalent, that is always enabled.
Definition at line 37 of file avassert.h.
#define av_assert1 | ( | cond | ) | ((void)0) |
assert() equivalent, that does not lie in speed critical code.
These asserts() thus can be enabled without fearing speed loss.
Definition at line 53 of file avassert.h.
#define av_assert2 | ( | cond | ) | ((void)0) |
assert() equivalent, that does lie in speed critical code.
Definition at line 64 of file avassert.h.
#define av_assert2_fpu | ( | ) | ((void)0) |
Definition at line 65 of file avassert.h.
void av_assert0_fpu | ( | void | ) |
Assert that floating point operations can be executed.
This will av_assert0() that the cpu is not in MMX state on X86