Fixing the mMaxInputWidth scaling bug
scaleToMax int to float
Add test for maxInputWidth

Move it together with minimal integration test, split out from performance test
Compare resizing+processing time to reference
Move maxWidth resizing to the whole detection