Skip to content
Snippets Groups Projects
Commit 8dfafd48 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Digitalman and Clang agree that order of operations is too hard to

reply on.  Make it harder to merge this code from upstream in the
future instead.
parent 10368f07
No related branches found
No related tags found
No related merge requests found
......@@ -74,8 +74,8 @@ static uint32_t pixel_diff(uint32_t x, uint32_t y)
const unsigned i = df(PH,PD) + df(PH,I5) + df(PF,I4) + df(PF,PB) + (df(PE,PI)<<2); \
if (e <= i) { \
const unsigned px = df(PE,PF) <= df(PE,PH) ? PF : PH; \
if (e < i && (!eq(PF,PB) && !eq(PH,PD) || eq(PE,PI) \
&& (!eq(PF,I4) && !eq(PH,I5)) \
if ((e < i) && ((!eq(PF,PB) && !eq(PH,PD)) || (eq(PE,PI) \
&& (!eq(PF,I4) && !eq(PH,I5))) \
|| eq(PE,PG) || eq(PE,PC))) { \
const unsigned ke = df(PF,PG); \
const unsigned ki = df(PH,PC); \
......
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