Go to the source code of this file.
|
| static void | init_idct_scantable (MPVContext *const s, int intra_scantable) |
| |
| static void | init_h263_test (MPVContext *const s, int16_t block[64], int last_nonzero_coeff, int qscale, int intra) |
| |
| static void | init_mpeg12_test (MPVContext *const s, int16_t block[64], int last_nonzero_coeff, int qscale, int intra, enum TestType type) |
| |
| void | checkasm_check_mpegvideo_unquantize (void) |
| |
◆ randomize_struct
| #define randomize_struct |
( |
|
TYPE, |
|
|
|
s |
|
) |
| |
Value: do { \
static_assert(!(_Alignof(
TYPE) % 4), \
"can't use aligned stores"); \
unsigned
char *ptr = (
unsigned char*)
s; \
for (
size_t i = 0;
i <
sizeof(*s) & ~3;
i += 4) \
for (
size_t i =
sizeof(*
s) & ~3;
i <
sizeof(*s); ++
i) \
} while (0)
Definition at line 35 of file mpegvideo_unquantize.c.
◆ TEST
| #define TEST |
( |
|
NAME, |
|
|
|
INTRA, |
|
|
|
INTRA_SCANTABLE, |
|
|
|
TYPE |
|
) |
| |
Value:
.intra = INTRA, .intra_scantable = INTRA_SCANTABLE, .type =
TYPE }
◆ TestType
◆ init_idct_scantable()
| static void init_idct_scantable |
( |
MPVContext *const |
s, |
|
|
int |
intra_scantable |
|
) |
| |
|
static |
◆ init_h263_test()
| static void init_h263_test |
( |
MPVContext *const |
s, |
|
|
int16_t |
block[64], |
|
|
int |
last_nonzero_coeff, |
|
|
int |
qscale, |
|
|
int |
intra |
|
) |
| |
|
static |
◆ init_mpeg12_test()
| static void init_mpeg12_test |
( |
MPVContext *const |
s, |
|
|
int16_t |
block[64], |
|
|
int |
last_nonzero_coeff, |
|
|
int |
qscale, |
|
|
int |
intra, |
|
|
enum TestType |
type |
|
) |
| |
|
static |
◆ checkasm_check_mpegvideo_unquantize()
| void checkasm_check_mpegvideo_unquantize |
( |
void |
| ) |
|