summaryrefslogtreecommitdiff
path: root/tests/checkasm/checkasm.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-04-11 17:16:56 -0300
committerJames Almer <jamrial@gmail.com>2017-06-14 19:20:10 -0300
commit5b10f484e2b35e06825973970423744d81f91df2 (patch)
treec8c15e986cc106d240d6e09c8ab757ecd7ac0a50 /tests/checkasm/checkasm.h
parent37388b119cf814c2af349e7acba32e33ea30c343 (diff)
checkasm: add float_dsp tests
Ported from libavutil/tests/float_dsp.c Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/checkasm/checkasm.h')
-rw-r--r--tests/checkasm/checkasm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h
index 03a1eda73e..4a4099dcb4 100644
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -39,6 +39,7 @@ void checkasm_check_bswapdsp(void);
void checkasm_check_colorspace(void);
void checkasm_check_fixed_dsp(void);
void checkasm_check_flacdsp(void);
+void checkasm_check_float_dsp(void);
void checkasm_check_fmtconvert(void);
void checkasm_check_h264dsp(void);
void checkasm_check_h264pred(void);
@@ -70,6 +71,9 @@ int float_near_abs_eps_array(const float *a, const float *b, float eps,
unsigned len);
int float_near_abs_eps_array_ulp(const float *a, const float *b, float eps,
unsigned max_ulp, unsigned len);
+int double_near_abs_eps(double a, double b, double eps);
+int double_near_abs_eps_array(const double *a, const double *b, double eps,
+ unsigned len);
extern AVLFG checkasm_lfg;
#define rnd() av_lfg_get(&checkasm_lfg)