X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_fspp.h;h=6623af450c8370739075d757c281e1c9a9d6af9c;hb=5d9af1670ef2be16722f2ce8c9d8365bfbcaca23;hp=802db1452a3d0054d1fc250b2ae631f6f502ced7;hpb=c3aa4844f393f781df604878ef7896a99917f37b;p=ffmpeg diff --git a/libavfilter/vf_fspp.h b/libavfilter/vf_fspp.h index 802db1452a3..6623af450c8 100644 --- a/libavfilter/vf_fspp.h +++ b/libavfilter/vf_fspp.h @@ -31,7 +31,7 @@ #define DCTSIZE 8 #define DCTSIZE_S "8" -#define FIX(x,s) ((int) ((x) * (1 << s) + 0.5) & 0xffff) +#define FIX(x,s) ((x) * (1 << s) + 0.5) #define MULTIPLY16H(x,k) (((x) * (k)) >> 16) #define THRESHOLD(r,x,t) \ @@ -65,8 +65,8 @@ typedef struct FSPPContext { int prev_q; uint8_t *src; int16_t *temp; - uint8_t *non_b_qp_table; - int non_b_qp_alloc_size; + int8_t *non_b_qp_table; + int non_b_qp_stride; int use_bframe_qp; void (*store_slice)(uint8_t *dst, int16_t *src,