29 { 64, 64, 64, 64, 64, 64, 64, 64 },
30 { 89, 75, 50, 18, -18, -50, -75, -89 },
31 { 84, 35, -35, -84, -84, -35, 35, 84 },
32 { 75, -18, -89, -50, 50, 89, 18, -75 },
33 { 64, -64, -64, 64, 64, -64, -64, 64 },
34 { 50, -89, 18, 75, -75, -18, 89, -50 },
35 { 35, -84, 84, -35, -35, 84, -84, 35 },
36 { 18, -50, 75, -89, 89, -75, 50, -18 },
120 const int16_t *input,
123 for (
int n = 0; n < 256; n++) {
127 int qp_shift = qp / 6;
135 for (
int i = 0;
i < 64;
i++)
138 for (
int i = 0;
i < 64;
i++)
147 call_ref(ref_output, 16, input, ref_constants);
148 call_new(new_output, 16, input, new_constants);
150 if (memcmp(new_output, ref_output, 64 *
sizeof(*ref_output))) {
160 for (
int i = 0;
i < 64;
i++)
167 call_ref(ref_output, 16, input, ref_constants);
168 call_new(new_output, 16, input, new_constants);
169 if (memcmp(new_output, ref_output, 64 *
sizeof(*ref_output)))
172 bench_new(new_output, 16, input, new_constants);
void(* prepare_constants)(void *constants, const int16_t *qmatrix, int bit_depth, int qp_shift)
Fill the constants buffer used by decode_transquant() for all blocks with the same quantisation param...
void(* decode_transquant)(void *output, ptrdiff_t pitch, const int16_t *input, const void *constants)
Run transquant for a single block.