pspdisplay_kernel.h File Reference

Go to the source code of this file.

Defines

#define sceDisplaySetFrameBufferInternal   sceDisplay_driver_63E22A26
#define sceDisplayGetFrameBufferInternal   sceDisplay_driver_5B5AEFAD

Functions

int sceDisplay_driver_63E22A26 (int pri, void *topaddr, int bufferwidth, int pixelformat, int sync)
 Display set framebuf.
int sceDisplay_driver_5B5AEFAD (int pri, void **topaddr, int *bufferwidth, int *pixelformat, int sync)
 Get Display Framebuffer information.
void sceDisplaySetBrightness (int level, int unk1)
 Set Display brightness to a particular level.
void sceDisplayGetBrightness (int *level, int *unk1)
 Get current display brightness.


Define Documentation

#define sceDisplayGetFrameBufferInternal   sceDisplay_driver_5B5AEFAD

#define sceDisplaySetFrameBufferInternal   sceDisplay_driver_63E22A26


Function Documentation

int sceDisplay_driver_5B5AEFAD ( int  pri,
void **  topaddr,
int *  bufferwidth,
int *  pixelformat,
int  sync 
)

Get Display Framebuffer information.

Parameters:
pri - Priority
topaddr - pointer to void* to receive address of start of framebuffer
bufferwidth - pointer to int to receive buffer width (must be power of 2)
pixelformat - pointer to int to receive one of PspDisplayPixelFormats.
sync - One of PspDisplaySetBufSync
Returns:
0 on success

int sceDisplay_driver_63E22A26 ( int  pri,
void *  topaddr,
int  bufferwidth,
int  pixelformat,
int  sync 
)

Display set framebuf.

Parameters:
pri - Priority
topaddr - address of start of framebuffer
bufferwidth - buffer width (must be power of 2)
pixelformat - One of PspDisplayPixelFormats.
sync - One of PspDisplaySetBufSync
Returns:
0 on success

void sceDisplayGetBrightness ( int *  level,
int *  unk1 
)

Get current display brightness.

Parameters:
level - Pointer to int to receive the current brightness level (0-100)
unk1 - Pointer to int, receives unknown, it's 1 or 0

void sceDisplaySetBrightness ( int  level,
int  unk1 
)

Set Display brightness to a particular level.

Parameters:
level - Level of the brightness. it goes from 0 (black screen) to 100 (max brightness)
unk1 - Unknown can be 0 or 1 (pass 0)


Generated on Tue Jul 24 15:21:24 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2