#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.0005 |
|
#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, DIR, DATA_TYPE, SCALE_TYPE, 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++) { \
} \
} while (0)
Definition at line 32 of file av_tx.c.
◆ CHECK_TEMPLATE
#define CHECK_TEMPLATE |
( |
|
PREFIX, |
|
|
|
TYPE, |
|
|
|
DIR, |
|
|
|
DATA_TYPE, |
|
|
|
SCALE_TYPE, |
|
|
|
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
Initial value:= {
2, 4, 8, 16, 32, 64, 120, 960, 1024, 1920, 16384,
}
Definition at line 42 of file av_tx.c.
Referenced by checkasm_check_av_tx().
◆ tx_refs
◆ init