pspsdk-1.0+beta2
pspjpeg.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  * pspjpeg.h - Prototypes for the sceJpeg library
7  *
8  * Copyright (c) 2007 dot_blank
9  *
10  * $Id: pspjpeg.h 2433 2008-10-15 10:00:27Z iwn $
11  */
12 #ifndef __PSPJPEG_H__
13 #define __PSPJPEG_H__
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include <psptypes.h>
20 
26 int sceJpegInitMJpeg(void);
27 
33 int sceJpegFinishMJpeg(void);
34 
43 int sceJpegCreateMJpeg(int width, int height);
44 
50 int sceJpegDeleteMJpeg(void);
51 
63 int sceJpegDecodeMJpeg(u8 *jpegbuf, SceSize size, void *rgba, u32 unk);
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif