increase epsilon for TVL1 sanity test
(cherry picked from commit 5dff283b39139008923eeb81d0ef5d351ac04522)
increase epsilon for ResizeSameAsHost test
(cherry picked from commit 86e12b607416644ec037ca8b34e4eebc6a585165)
use downscaled frames in FGDStatModel test
(cherry picked from commit 599f5ef51bfb7a9e71a8c4e50a5f942fb2898cdb)
fix BGR->BGR5x5 color convertion
(cherry picked from commit 62f27b28edb6406b6cf8f2c16370187ce8c24e30)
Several fixes for lintian varnings

(cherry picked from commit 634ffed488052efb5cab1fb5cdd90d192f0121a9)