-
Committer:
Adam Jackson
-
Author(s):
Siarhei Siamashka
-
Date:
2018-07-06 18:44:22 UTC
-
Revision ID:
git-v1:018bf2f23033ea0c82df3e4cf48dbb330bec9414
test: Fix stride calculation in stress-test
Currently the number of bits per pixel is used instead of the
number of bytes per pixel when calculating image strides. This
does not cause any real problems, but the gaps between scanlines
are excessively large.
This patch actually converts bits to bytes and rounds up the result
to the nearest byte boundary.
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Reviewed-by: soren.sandmann@gmail.com