Skip to content
Snippets Groups Projects
Commit f33f066b 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 0c28f019
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2253 passed
......@@ -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.
Please register or to comment