| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * Detlev Zundel, DENX Software Engineering, dzu@denx.de. |
| /************************************************************************/ |
| /* ** Layout of a bmp file */ |
| /************************************************************************/ |
| struct __packed bmp_color_table_entry { |
| /* When accessing these fields, remember that they are stored in little |
| endian format, so use linux macros, e.g. le32_to_cpu(width) */ |
| struct __packed bmp_header { |
| struct bmp_header header; |
| /* We use a zero sized array just as a placeholder for variable |
| struct bmp_color_table_entry color_table[0]; |
| /* Data in the bmp_image is aligned to this length */ |
| /* Constants for the compression field */ |