'bmp display' convert 24bit bmp to 16bit lcd format

qianfan qianfanguijin at qq.com
Wed Dec 29 04:05:23 CET 2021

在 2021/12/28 16:52, Simon Glass 写道:
> Hi Qianfan,
> +Anatolij Gustschin
> On Mon, 20 Dec 2021 at 18:22, qianfan <qianfanguijin at qq.com> wrote:
>> Hi:
>> I had tested 'bmp display' command with 24bits bmp picture,
>> **video_bmp_display** function always convert 24bits picture to RGB555
>> format if the lcd is 16bits. But most of all lcd controller is RGB565
>> format. Should we improve this?
> See also:
> https://patchwork.ozlabs.org/project/uboot/patch/20211119202408.1815506-16-sjg@chromium.org/

Hi, I read this patch and it is resolved this question. But I don't know 
if it is a good idea that just replace RGB555 to RGB565.

Maybe somedays after this patch merged, someone will complain about 
video_bmp_display doesn't support RGB555 mode.

> Regards,
> Simon

More information about the U-Boot mailing list