Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
7.5.4.1 Reference Output
The follow structures are used by the GRC for images and fonts stored in EDS space.
External Header Structure (Non-Compressed or Compressed Resources)
Name Bits Description
Resource
Description
16 SeeResource Description Table ( see page 57)
ID 16 User defined ID
Address 32 The address in the external memory where the resource is located
Width 16 The width of the image
Height 16 The height of the image
Parameter1 32 Parameter used for the resource. For example, a compressed image will have the compressed
size, in bytes.
Parameter2 32 Parameter used for the resource. For example, a compressed image will have the uncompressed
size, in bytes.
Color Depth 16 The color depth of an image
const GFX_IMAGE_HEADER DrawingScreen_4bpp_72x72 =
{
(EDS_EPMP | IMAGE_MBITMAP | COMP_IPU),
1,
{ .edsAddress = (__eds__ char *) (0x00000A50 + GFX_EPMP_CS1_BASE_ADDRESS) },
72,
72,
931,
2632,
4
};
7.5.5 Resource Description Table
Every resource table contains a resource description entry. This entry describes the location, type and compression used in
a resource.
Resource Description Table
Name Bits Description
Location 0-7 The location of the resource.
FLASH
- resource is located in internal flash
EXTERNAL
- resource is located in an external memory device
RAM
- resource is located in internal RAM
EDS_EPMP
- resource is located in an external memory device which is accessed used eds memory
space and PMP.
Type 8-11 The type of resource.
IMAGE_MBITMAP
- The resource is a Microchip converted bitmap
IMAGE_JPEG
- The resources is a JPEG image
7.5 Converting Resources Graphics Resource Converter Resource Description Table
57
7
Protego_Release_01_05-Related-OEM-MLA-framework-gfx-utilities-grc-Graphics_Resource_Converter_Help.pdf