#include "libavutil/mem_internal.h"
#include "libavutil/tx.h"
#include "libavutil/error.h"
#include "checkasm.h"
#include <stdlib.h>
Go to the source code of this file.
|
#define | EPS 0.00005 |
|
#define | SCALE_NOOP(x) (x) |
|
#define | SCALE_INT20(x) (av_clip64(lrintf((x) * 2147483648.0), INT32_MIN, INT32_MAX) >> 12) |
|
#define | randomize_complex(BUF, LEN, TYPE, SCALE) |
|
#define | CHECK_TEMPLATE(PREFIX, TYPE, DATA_TYPE, SCALE, LENGTHS, CHECK_EXPRESSION) |
|
◆ EPS
◆ SCALE_NOOP
#define SCALE_NOOP |
( |
|
x | ) |
(x) |
◆ SCALE_INT20
#define SCALE_INT20 |
( |
|
x | ) |
(av_clip64(lrintf((x) * 2147483648.0), INT32_MIN, INT32_MAX) >> 12) |
◆ randomize_complex
Value: do { \
TYPE *buf = (
TYPE *)BUF; \
for (
int i = 0;
i <
LEN;
i++) { \
double fre = (double)
rnd() / UINT_MAX; \
double fim = (double)
rnd() / UINT_MAX; \
} \
} while (0)
Definition at line 32 of file av_tx.c.
◆ CHECK_TEMPLATE
#define CHECK_TEMPLATE |
( |
|
PREFIX, |
|
|
|
TYPE, |
|
|
|
DATA_TYPE, |
|
|
|
SCALE, |
|
|
|
LENGTHS, |
|
|
|
CHECK_EXPRESSION |
|
) |
| |
◆ free_tx_refs()
static void free_tx_refs |
( |
void |
| ) |
|
|
static |
◆ checkasm_check_av_tx()
void checkasm_check_av_tx |
( |
void |
| ) |
|
◆ check_lens
◆ tx_refs
◆ init