Searched refs:is_idct (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/tests/ |
D | dct.c | 119 static void init_block(int16_t block[64], int test, int is_idct, AVLFG *prng, int vals) in init_block() argument 129 if (is_idct) { in init_block() 179 static int dct_error(const struct algo *dct, int test, int is_idct, int speed, const int bits) in dct_error() argument 181 void (*ref)(int16_t *block) = is_idct ? ff_ref_idct : ff_ref_fdct; in dct_error() 201 init_block(block1, test, is_idct, &prng, vals); in dct_error() 251 spec_err = is_idct && (err_inf > 1 || omse > 0.02 || fabs(ome) > 0.0015); in dct_error() 253 … spec_err = is_idct && ((double) err2_max / NB_ITS > 0.06 || (double) sysErrMax / NB_ITS > 0.015); in dct_error() 256 is_idct ? "IDCT" : "DCT", dct->name, err_inf, in dct_error() 270 init_block(block, test, is_idct, &prng, vals); in dct_error() 285 printf("%s %s: %0.1f kdct/s\n", is_idct ? "IDCT" : "DCT", dct->name, in dct_error()
|