38 const int16_t *qmatrix,
42 for (
int i = 0;
i < 64;
i++) {
44 input[
i] =
rnd() % 16384 - 8192;
52 call_ref(ref_output, 16, input, qmatrix, 10, 4);
53 call_new(new_output, 16, input, qmatrix, 10, 4);
55 if (memcmp(new_output, ref_output, 64 *
sizeof(*ref_output)))
58 bench_new(new_output, 16, input, qmatrix, 10, 4);
void(* decode_transquant)(void *output, ptrdiff_t pitch, const int16_t *input, const int16_t *qmatrix, int bit_depth, int qp_shift)