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