PicoVGA  1.0-cmake
VGA/TV display on Raspberry Pico
vga_util.h File Reference

File Description

VGA utilities.

Author
Miroslav Nemecek Panda.nosp@m.38@s.nosp@m.eznam.nosp@m..cz
See also
Configurating Video Mode
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void Attr8Conv (u8 *dst, u8 *attr, const u8 *src, int w, int h, const u8 *pal)
 Convert image from 16-color to 8x8 attribute format. More...
 
void Plane2Conv (u8 *plane0, u8 *plane1, const u8 *src, int w, int h)
 Convert image from 4-color to 2-plane format (width must be multiply of 8) More...
 
void ImgInvert (u8 *dst, int num)
 Invert image. More...
 
int DecUNum (char *buf, u32 num)
 Decode unsigned number into ASCIIZ text buffer. More...
 
int DecNum (char *buf, s32 num)
 Decode signed number into ASCIIZ text buffer. More...
 
void CopyWhiteImg (u8 *dst, const u8 *src, int num)
 Prepare image with white key transparency (copy and increment pixels) More...