Sylwester Nawrocki
38e18d6392
video: Fix line padding calculation for 16 and 24 BPP bitmaps
...
Each row in the pixel array in the bitmap file is padded
if necessary so the row size is always a multiple of 4 bytes.
In current code the complement of row size to a multiple of
4 bytes is further unnecessarily multiplied by the pixel size.
This results in incorrect displaying of bitmaps having row size
that is not a multiple of 4 bytes. Fix this by removing
the unnecessary multiplication.
Tested with 24BPP bitmap and XRGB32 display.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com >
Tested-by: Jaehoon Chung <jh80.chung@samsung.com >
2021-04-10 17:09:59 +02:00
..
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-01-02 17:45:42 +01:00
2020-12-13 16:51:09 -07:00
2021-02-15 10:16:45 -05:00
2020-07-29 08:43:40 -04:00
2021-04-10 11:57:03 +02:00
2021-03-11 17:55:09 +01:00
2021-03-03 10:03:15 +01:00
2021-04-10 17:07:35 +02:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:23 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-01-05 16:20:26 -05:00
2018-10-09 04:40:27 -06:00
2021-02-18 11:59:08 +01:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2021-04-10 16:51:04 +02:00
2020-07-09 12:33:24 +08:00
2020-07-09 12:33:24 +08:00
2020-12-13 08:00:25 -07:00
2021-03-27 15:04:30 +13:00
2021-02-02 15:33:42 -05:00
2018-05-07 09:34:12 -04:00
2020-12-13 16:51:08 -07:00
2019-10-13 23:34:43 +02:00
2020-05-18 21:19:23 -04:00
2021-03-11 17:55:44 +01:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:23 -04:00
2021-02-02 15:33:42 -05:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2021-02-19 23:38:06 +01:00
2018-05-07 09:34:12 -04:00
2020-12-13 08:00:25 -07:00
2021-02-02 15:33:42 -05:00
2021-04-10 16:50:07 +02:00
2020-05-18 21:19:23 -04:00
2021-01-05 12:26:35 -07:00
2018-08-11 09:18:44 +02:00
2018-08-11 09:18:44 +02:00
2020-12-13 08:00:25 -07:00
2018-08-11 09:18:44 +02:00
2021-02-19 23:38:06 +01:00
2021-02-02 15:33:42 -05:00
2020-02-05 19:33:46 -07:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:23 -04:00
2021-02-02 15:33:42 -05:00
2021-02-19 22:45:47 +01:00
2020-12-13 16:51:09 -07:00
2018-10-09 04:40:27 -06:00
2021-04-10 16:07:12 +02:00
2020-05-18 21:19:18 -04:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:23 -04:00
2020-12-13 08:00:25 -07:00
2020-12-13 08:00:25 -07:00
2018-09-28 18:26:52 +02:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:23 -04:00
2021-01-15 13:12:38 -05:00
2021-02-19 22:26:57 +01:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2018-03-19 09:47:02 +01:00
2020-12-13 08:00:25 -07:00
2021-01-15 13:12:38 -05:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2021-01-06 07:57:33 -05:00
2021-04-10 17:09:59 +02:00
2018-09-28 18:26:32 +02:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-04-18 12:54:43 +02:00