video: Add a function to get the dimensions of a BMP image
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2022 14:36:17 +0000 (08:36 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:01:40 +0000 (20:01 +0100)
commite90322f87c97a4829c44fe77435c9faca87cbfc8
tree818962ae3039336c7e0f65db8272cb3c6c2765b7
parent430e1676a76bf8b7112c64e19cf64b988c281ee0
video: Add a function to get the dimensions of a BMP image

This is useful for some other users, so break this out into a function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video_bmp.c
include/video.h