From 9f9ebe631dc1162c89115c9cf408a348dd3e46aa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 18 Sep 2014 14:06:43 +0200 Subject: libpostproc/postprocess: avoid some if() Signed-off-by: Michael Niedermayer --- libpostproc/postprocess.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 01ec0f9867..3396f56eb7 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -209,13 +209,13 @@ static inline int isHorizDC_C(const uint8_t src[], int stride, const PPContext * const int dcThreshold= dcOffset*2 + 1; for(y=0; y c->ppMode.flatnessThreshold; @@ -233,14 +233,14 @@ static inline int isVertDC_C(const uint8_t src[], int stride, const PPContext *c src+= stride*4; // src points to begin of the 8x8 Block for(y=0; y c->ppMode.flatnessThreshold; -- cgit v1.2.3