/usr/include/plib/ssgaScreenDump.h is in libplib-dev 1.8.5-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | /* Dump to disk in '.rgb' format */
void ssgaScreenDump ( char *filename,
int width, int height,
int frontBuffer = TRUE ) ;
/* Put low order 24 bits to disk (R=lsb, G=middle byte, B=msb) */
void ssgaScreenDepthDump ( char *filename,
int width, int height,
int frontBuffer = TRUE ) ;
/* Dump to a memory buffer - three bytes per pixel */
unsigned char *ssgaScreenDump ( int width, int height,
int frontBuffer = TRUE ) ;
unsigned int *ssgaScreenDepthDump ( int width, int height,
int frontBuffer = TRUE ) ;
|