X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_fspp.h;h=73d8c7c771bd824b74b5d4db8bc3b9c99ae31cbc;hb=c636dc9819ebab1a84237cc017a6a3d35ebc9cdc;hp=74a34473bba7407632a58a35e64fa571ea36fe6d;hpb=a12063b118ad05409ff775ba30fab00265ad3031;p=ffmpeg diff --git a/libavfilter/vf_fspp.h b/libavfilter/vf_fspp.h index 74a34473bba..73d8c7c771b 100644 --- a/libavfilter/vf_fspp.h +++ b/libavfilter/vf_fspp.h @@ -31,9 +31,7 @@ #define DCTSIZE 8 #define DCTSIZE_S "8" -#define FIX(x,s) ((int) ((x) * (1 << s) + 0.5) & 0xffff) -#define C64(x) ((uint64_t)((x) | (x) << 16)) <<32 | (uint64_t)(x) | (uint64_t)(x) << 16 -#define FIX64(x,s) C64(FIX(x,s)) +#define FIX(x,s) ((x) * (1 << s) + 0.5) #define MULTIPLY16H(x,k) (((x) * (k)) >> 16) #define THRESHOLD(r,x,t) \