Hi, Alberto.
xpoint mode does not work at full possible speed, because FLAGSEARCH has default value of 2 (SEARCH_BOTH); then at thread_process you have following condition:
calculate_y = FLAGSEARCH == SEARCH_UNCOMPRESS || FLAGSEARCH == SEARCH_BOTH || FLAGCRYPTO == CRYPTO_ETH;
If you add an exception there for xpoint, unnecessary calculations of Y-coordinate will not occur and this will at least 1.5x speed in xpoint mode I think.
Hi, thank you very much to point to this, yes you are right with this it is not working at full speed. A big facepalm for me.
I will correct it ASAP and update the code.
Maybe i should use separate functions for those modes to also avoid unnecesary switch-case opcions.
Regards!