mbox series

[U-Boot,0/2] Fix BMP decode when BMP size is bigger than framebuffer

Message ID 20191120104418.1179-1-patrice.chotard@st.com
Headers show
Series Fix BMP decode when BMP size is bigger than framebuffer | expand

Message

Patrice CHOTARD Nov. 20, 2019, 10:44 a.m. UTC
This series is fixing 2 issues found when trying to decode BMP
bigger than the framebuffer:
 - video_splash_align_axis() must calculate the absolute value of
   difference between panel_size and picture_size.
 - Don't rely on BMP's width and height but in width and height
   value computed by video_bmp_display().



Patrice Chotard (2):
  video: bmp: Fix video_splash_align_axis()
  video: bmp: Fix video_display_rle8_bitmap()

 drivers/video/video_bmp.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)