From 79c7b5f23f01bb866ca86e7e4a341d3a6fdb16d3 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 4 Oct 2007 12:44:16 +0000 Subject: change double arrays to float (this should be accurate enough) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24700 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_ow.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vf_ow.c b/libmpcodecs/vf_ow.c index 1bba558deb..e1fb763305 100644 --- a/libmpcodecs/vf_ow.c +++ b/libmpcodecs/vf_ow.c @@ -17,7 +17,7 @@ */ /** - * @todo change to float or int + * @todo try to change to int * @todo try lifting based implementation * @todo optimize optimize optimize * @todo hard tresholding @@ -60,7 +60,7 @@ struct vf_priv_s { float delta; int mode; int depth; - double *plane[16][4]; + float *plane[16][4]; int stride; }; @@ -105,7 +105,7 @@ static inline int mirror(int x, int w){ return x; } -static inline void decompose(double *dstL, double *dstH, double *src, int stride, int w){ +static inline void decompose(float *dstL, float *dstH, float *src, int stride, int w){ int x, i; for(x=0; x