Go to the source code of this file.
|
| static void | init_idct_scantable (MPVContext *const s, const uint8_t *scantable, enum idct_permutation_type idct_permutation, int intra_scantable) |
| |
| static void | init_h263_test (MPVContext *const s, int16_t block[64], int last_nonzero_coeff, int qscale, int h263_aic, int ac_pred, 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)
#define i(width, name, range_min, range_max)
Definition at line 35 of file mpegvideo_unquantize.c.
Referenced by checkasm_check_mpegvideo_unquantize().
◆ TEST
| #define TEST |
( |
| NAME, |
|
|
| INTRA, |
|
|
| INTRA_SCANTABLE, |
|
|
| TYPE ) |
◆ TestType
◆ init_idct_scantable()
| static void init_idct_scantable |
( |
MPVContext *const | s, |
|
|
const uint8_t * | scantable, |
|
|
enum idct_permutation_type | idct_permutation, |
|
|
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 | h263_aic, |
|
|
int | ac_pred, |
|
|
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 | | ) |
|
◆ permutation_types
◆ ff_wmv1_scantable
| const uint8_t ff_wmv1_scantable[][64] |
|
static |
◆ scantables
| const uint8_t* const scantables[] |
|
static |
Initial value:= {
}
const uint8_t ff_zigzag_direct[64]
const uint8_t ff_alternate_horizontal_scan[64]
const uint8_t ff_alternate_vertical_scan[64]
const uint8_t ff_wmv1_scantable[WMV1_SCANTABLE_COUNT][64]
Definition at line 103 of file mpegvideo_unquantize.c.
Referenced by checkasm_check_mpegvideo_unquantize().