|
Embedded SDK
Embedded SDK
|
Utilities for Ledger image files processing. More...

Go to the source code of this file.
Macros | |
| #define | WIDTH_OFFSET 0 |
| #define | HEIGHT_OFFSET 2 |
| #define | BPP_COMPRESS_OFFSET 4 |
| #define | BUFFER_LEN_OFFSET 5 |
| #define | BUFFER_OFFSET 8 |
| #define | IMAGE_FILE_HEADER_SIZE 8 |
| #define | GET_IMAGE_FILE_WIDTH(image_file) |
| macro to get the width of the image file | |
| #define | GET_IMAGE_FILE_HEIGHT(image_file) |
| macro to get the height of the image file | |
| #define | GET_IMAGE_FILE_BPP(image_file) |
| macro to get the bpp of the image file | |
| #define | GET_IMAGE_FILE_COMPRESSION(image_file) |
| macro to get the compression of the image file | |
| #define | GET_IMAGE_FILE_BUFFER_LEN(image_file) |
| macro to get the buffer len of the image file | |
| #define | GET_IMAGE_FILE_BUFFER(image_file) |
| macro to get the buffer of the image file | |
Utilities for Ledger image files processing.
Definition in file nbgl_image_utils.h.
| #define BPP_COMPRESS_OFFSET 4 |
BPP & Compression offset in image file
Definition at line 37 of file nbgl_image_utils.h.
| #define BUFFER_LEN_OFFSET 5 |
Buffer length offset in image file
Definition at line 43 of file nbgl_image_utils.h.
| #define BUFFER_OFFSET 8 |
Buffer offset in image file
Definition at line 49 of file nbgl_image_utils.h.
| #define GET_IMAGE_FILE_BPP | ( | image_file | ) |
macro to get the bpp of the image file
| image_file | uint8_t* buffer representing the image file |
Definition at line 78 of file nbgl_image_utils.h.
| #define GET_IMAGE_FILE_BUFFER | ( | image_file | ) |
macro to get the buffer of the image file
| image_file | uint8_t* buffer representing the image file |
Definition at line 98 of file nbgl_image_utils.h.
| #define GET_IMAGE_FILE_BUFFER_LEN | ( | image_file | ) |
macro to get the buffer len of the image file
| image_file | uint8_t* buffer representing the image file |
Definition at line 90 of file nbgl_image_utils.h.
| #define GET_IMAGE_FILE_COMPRESSION | ( | image_file | ) |
macro to get the compression of the image file
| image_file | uint8_t* buffer representing the image file |
Definition at line 84 of file nbgl_image_utils.h.
| #define GET_IMAGE_FILE_HEIGHT | ( | image_file | ) |
macro to get the height of the image file
| image_file | uint8_t* buffer representing the image file |
Definition at line 71 of file nbgl_image_utils.h.
| #define GET_IMAGE_FILE_WIDTH | ( | image_file | ) |
macro to get the width of the image file
| image_file | uint8_t* buffer representing the image file |
Definition at line 64 of file nbgl_image_utils.h.
| #define HEIGHT_OFFSET 2 |
Height offset in image file
Definition at line 32 of file nbgl_image_utils.h.
| #define IMAGE_FILE_HEADER_SIZE 8 |
Size in bytes of an image file header
Definition at line 54 of file nbgl_image_utils.h.
| #define WIDTH_OFFSET 0 |
Width offset in image file
Definition at line 27 of file nbgl_image_utils.h.