pspjpeg.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * pspjpeg.h - Prototypes for the sceJpeg library
00007  *
00008  * Copyright (c) 2007 dot_blank
00009  *
00010  * $Id: pspjpeg.h 2433 2008-10-15 10:00:27Z iwn $
00011  */
00012 #ifndef __PSPJPEG_H__
00013 #define __PSPJPEG_H__
00014 
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018 
00019 #include <psptypes.h>
00020 
00026 int sceJpegInitMJpeg(void);
00027 
00033 int sceJpegFinishMJpeg(void);
00034 
00043 int sceJpegCreateMJpeg(int width, int height);
00044 
00050 int sceJpegDeleteMJpeg(void);
00051 
00063 int sceJpegDecodeMJpeg(u8 *jpegbuf,     SceSize size, void *rgba, u32 unk);
00064 
00065 #ifdef __cplusplus
00066 }
00067 #endif
00068 
00069 #endif