Optimized functions to write a row of pixels.
More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
void | gp_write_pixels_1BPP_DB (void *start, uint8_t off, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 1BPP_DB pixels.
|
|
void | gp_write_pixels_1BPP_UB (void *start, uint8_t off, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 1BPP_UB pixels.
|
|
void | gp_write_pixels_2BPP_DB (void *start, uint8_t off, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 2BPP_DB pixels.
|
|
void | gp_write_pixels_2BPP_UB (void *start, uint8_t off, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 2BPP_UB pixels.
|
|
void | gp_write_pixels_4BPP_DB (void *start, uint8_t off, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 4BPP_DB pixels.
|
|
void | gp_write_pixels_4BPP_UB (void *start, uint8_t off, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 4BPP_UB pixels.
|
|
void | gp_write_pixels_8BPP (void *start, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 8BPP pixels.
|
|
void | gp_write_pixels_16BPP (void *start, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 16BPP pixels.
|
|
void | gp_write_pixels_24BPP (void *start, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 24BPP pixels.
|
|
void | gp_write_pixels_32BPP (void *start, size_t cnt, unsigned int val) |
| Optimized function to draw a row of 32BPP pixels.
|
|
Optimized functions to write a row of pixels.
These functions writes cnt pixels using value val starting at start address and additionally (for pixel sizes that are not aligned to the whole bytes) at off offset in the first byte (i.e. byte at the start address).
Definition in file gp_write_pixels.gen.h.
◆ gp_write_pixels_16BPP()
void gp_write_pixels_16BPP |
( |
void * |
start, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 16BPP pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_1BPP_DB()
void gp_write_pixels_1BPP_DB |
( |
void * |
start, |
|
|
uint8_t |
off, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 1BPP_DB pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
off | Number of pixels to skip in the first byte |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_1BPP_UB()
void gp_write_pixels_1BPP_UB |
( |
void * |
start, |
|
|
uint8_t |
off, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 1BPP_UB pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
off | Number of pixels to skip in the first byte |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_24BPP()
void gp_write_pixels_24BPP |
( |
void * |
start, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 24BPP pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_2BPP_DB()
void gp_write_pixels_2BPP_DB |
( |
void * |
start, |
|
|
uint8_t |
off, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 2BPP_DB pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
off | Number of pixels to skip in the first byte |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_2BPP_UB()
void gp_write_pixels_2BPP_UB |
( |
void * |
start, |
|
|
uint8_t |
off, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 2BPP_UB pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
off | Number of pixels to skip in the first byte |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_32BPP()
void gp_write_pixels_32BPP |
( |
void * |
start, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 32BPP pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_4BPP_DB()
void gp_write_pixels_4BPP_DB |
( |
void * |
start, |
|
|
uint8_t |
off, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 4BPP_DB pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
off | Number of pixels to skip in the first byte |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_4BPP_UB()
void gp_write_pixels_4BPP_UB |
( |
void * |
start, |
|
|
uint8_t |
off, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 4BPP_UB pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
off | Number of pixels to skip in the first byte |
cnt | A number of pixels to write |
val | A pixel value to be written. |
◆ gp_write_pixels_8BPP()
void gp_write_pixels_8BPP |
( |
void * |
start, |
|
|
size_t |
cnt, |
|
|
unsigned int |
val |
|
) |
| |
Optimized function to draw a row of 8BPP pixels.
- Parameters
-
start | A pointer to starting byte in the buffer |
cnt | A number of pixels to write |
val | A pixel value to be written. |