Skip to content
Snippets Groups Projects
Commit 44dabf1f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

postproc: simplify forwarding return codes

parent 9f9ebe63
No related branches found
No related tags found
No related merge requests found
...@@ -278,10 +278,7 @@ static inline int isVertMinMaxOk_C(const uint8_t src[], int stride, int QP) ...@@ -278,10 +278,7 @@ static inline int isVertMinMaxOk_C(const uint8_t src[], int stride, int QP)
static inline int horizClassify_C(const uint8_t src[], int stride, const PPContext *c) static inline int horizClassify_C(const uint8_t src[], int stride, const PPContext *c)
{ {
if( isHorizDC_C(src, stride, c) ){ if( isHorizDC_C(src, stride, c) ){
if( isHorizMinMaxOk_C(src, stride, c->QP) ) return isHorizMinMaxOk_C(src, stride, c->QP);
return 1;
else
return 0;
}else{ }else{
return 2; return 2;
} }
...@@ -290,10 +287,7 @@ static inline int horizClassify_C(const uint8_t src[], int stride, const PPConte ...@@ -290,10 +287,7 @@ static inline int horizClassify_C(const uint8_t src[], int stride, const PPConte
static inline int vertClassify_C(const uint8_t src[], int stride, const PPContext *c) static inline int vertClassify_C(const uint8_t src[], int stride, const PPContext *c)
{ {
if( isVertDC_C(src, stride, c) ){ if( isVertDC_C(src, stride, c) ){
if( isVertMinMaxOk_C(src, stride, c->QP) ) return isVertMinMaxOk_C(src, stride, c->QP);
return 1;
else
return 0;
}else{ }else{
return 2; return 2;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment