# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 65
- 66
- 67
- 68
- 69
…
- 373
- 374

1.5.1.15 GFX_CONFIG_IMAGE_PADDING_DISABLE Macro
Macro disables the padding of bits on images converted by the Graphics Resource Converter (GRC).
File
gfx_config_template.h
Syntax
#define GFX_CONFIG_IMAGE_PADDING_DISABLE
Description
Macro: GFX_CONFIG_IMAGE_PADDING_DISABLE
When converting images for use in the Graphics Library, the Graphics Resource Converter has an option to set the images
to be padded or not padded. When images are padded, each horizontal line will start on a byte boundary.
Unpadded images allows the least resource space for an image. Unpadded images also allows support for display
controllers with windowing and auto-increment features.
The images are created with padding by default. When the images are set to be not padded, application must define the
macro in the configuration to correctly process the images.
Padded and unpadded images cannot be combined in one application.
Remarks
None.
1.5.1.16 GFX_CONFIG_IMAGE_RAM_DISABLE Macro
Macro that disables sourcing of image resources from RAM sources.
File
gfx_config_template.h
Syntax
#define GFX_CONFIG_IMAGE_RAM_DISABLE
Description
Macro: GFX_CONFIG_IMAGE_RAM_DISABLE
Images can be placed in multiple locations. They can be placed in FLASH memory, RAM and external memory. To reduce
code size, any one of these locations, when not used, can be disabled by defining the macros at build time.
This macro disables the use of image resources from RAM.
To disable this feature, add this macro in the configuration.
Remarks
None.
1.5.1.17 GFX_CONFIG_IPU_DECODE_DISABLE Macro
Macro that disables RLE compression of images.
File
gfx_config_template.h
1.5 Configuring the Library MLA - Graphics Library Help Configuration Options
67

- 1
- 2
…
- 65
- 66
- 67
- 68
- 69
…
- 373
- 374