#include <stdint.h>
#include <string.h>
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/ac3dsp.h"
#include "checkasm.h"
Go to the source code of this file.
◆ randomize_exp
#define randomize_exp |
( |
|
buf, |
|
|
|
len |
|
) |
| |
Value: do { \
buf[
i] = (uint8_t)
rnd(); \
} \
} while (0)
Definition at line 32 of file ac3dsp.c.
◆ randomize_i24
#define randomize_i24 |
( |
|
buf, |
|
|
|
len |
|
) |
| |
Value: do { \
int32_t
u = (v & 0xFFFFFF); \
buf[
i] = (v < 0) ? -
u :
u; \
} \
} while (0)
Definition at line 40 of file ac3dsp.c.
◆ randomize_float
#define randomize_float |
( |
|
buf, |
|
|
|
len |
|
) |
| |
Value: do { \
float
f = (
float)
rnd() / (UINT_MAX >> 5) - 16.0
f; \
} \
} while (0)
Definition at line 50 of file ac3dsp.c.
◆ MAX_COEFS
◆ MAX_CTXT
◆ EXP_SIZE
◆ MAX_EXPS
◆ BUF_SIZE
◆ ELEMS
◆ check_ac3_exponent_min()
◆ check_ac3_extract_exponents()
◆ check_float_to_fixed24()
◆ check_ac3_sum_square_butterfly_int32()
static void check_ac3_sum_square_butterfly_int32 |
( |
AC3DSPContext * |
c | ) |
|
|
static |
◆ check_ac3_sum_square_butterfly_float()
static void check_ac3_sum_square_butterfly_float |
( |
AC3DSPContext * |
c | ) |
|
|
static |
◆ checkasm_check_ac3dsp()
void checkasm_check_ac3dsp |
( |
void |
| ) |
|