pspsdk-1.0+beta2
pspdisplay_kernel.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * pspdisplay_kernel.h - Prototypes for the sceDisplay_driver library.
7  *
8  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11  * Copyright (c) 2007 Alexander Berl <raphael@fx-world.org>
12  *
13  * $Id: pspdisplay_kernel.h 2271 2007-07-20 13:08:41Z oopo $
14  */
15 #ifndef __DISPLAYKERNEL_H__
16 #define __DISPLAYKERNEL_H__
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
33 int sceDisplay_driver_63E22A26(int pri, void *topaddr, int bufferwidth, int pixelformat, int sync);
34 
46 int sceDisplay_driver_5B5AEFAD(int pri, void **topaddr, int *bufferwidth, int *pixelformat, int sync);
47 
48 /* Define some names to make it nicer */
49 #define sceDisplaySetFrameBufferInternal sceDisplay_driver_63E22A26
50 #define sceDisplayGetFrameBufferInternal sceDisplay_driver_5B5AEFAD
51 
58 void sceDisplaySetBrightness(int level,int unk1);
59 
66 void sceDisplayGetBrightness(int *level,int *unk1);
67 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif