resonance 1.0.1
Loading...
Searching...
No Matches
abmpfile.h File Reference
#include "rndartt/agfxfile.h"
Include dependency graph for abmpfile.h:

Go to the source code of this file.

Classes

class  ABmpFile
 Reader and writer for Windows bitmap files. More...

Functions

void Convert24To32InPlace (unsigned char *pPixels, int nCount)
 Widen a row of three-byte pixels to four bytes in place, with full alpha.

Function Documentation

◆ Convert24To32InPlace()

void Convert24To32InPlace ( unsigned char * pPixels,
int nCount )

Widen a row of three-byte pixels to four bytes in place, with full alpha.

Walks from the last pixel back to the first. The widened row can therefore overlap the source.

Parameters
pPixelsThe row.
nCountThe number of pixels.
Ghidra address:
NTSC-U/C: 0x0061d620
Ghidra address:
PAL: 0x0065e1b0