to support cross-platform LD32 in scroll detection

see:
https://rbcommons.com/s/OpenH264/r/518/