From 783b56d54788f177881d68ae2ec7a7cb4bb38ac4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 18 Apr 2004 01:35:53 +0000 Subject: Initial commit git-svn-id: file:///home/lennart/svn/public/vfax/trunk@3 541b366f-4dd8-0310-ae39-b2612fd50714 --- interpol.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 interpol.h (limited to 'interpol.h') diff --git a/interpol.h b/interpol.h new file mode 100644 index 0000000..e4ba740 --- /dev/null +++ b/interpol.h @@ -0,0 +1,17 @@ +#ifndef foointerpolhfoo +#define foointerpolhfoo + +struct interpol_state { + int frac; + float *coeff; + int *coeff_valid; + int radius; +}; + + +void interpol_init(struct interpol_state *s, int frac, int radius); +void interpol_done(struct interpol_state *s); + +float interpol_get(struct interpol_state *s, float *p, int l, float x); + +#endif -- cgit