vitasdk
Documentation of the vitasdk
jpegarm.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_JPEGARM_H_
7 #define _PSP2_JPEGARM_H_
8 
9 #include <psp2/types.h>
10 #include <psp2/jpeg.h>
11 
15 typedef enum SceJpegArmErrorCode {
16  SCE_JPEG_ARM_OK = 0
18 
20  SceSize isize,
21  SceInt decodeMode,
22  void* pRGBA,
23  SceSize osize,
24  void* pCoefBuffer,
25  SceSize coefBufferSize);
26 
28  SceSize isize,
29  SceInt decodeMode,
30  SceUInt8* pYCbCr,
31  SceSize osize,
32  void* pCoefBuffer,
33  SceSize coefBufferSize);
34 
36  SceSize isize,
37  SceInt decodeMode,
38  SceInt outputFormat,
39  SceJpegOutputInfo* pOutputInfo);
40 
41 #endif /* _PSP2_JPEGARM_H_ */
int sceJpegArmDecodeMJpeg(const SceUInt8 *pJpeg, SceSize isize, SceInt decodeMode, void *pRGBA, SceSize osize, void *pCoefBuffer, SceSize coefBufferSize)
int sceJpegArmDecodeMJpegYCbCr(const SceUInt8 *pJpeg, SceSize isize, SceInt decodeMode, SceUInt8 *pYCbCr, SceSize osize, void *pCoefBuffer, SceSize coefBufferSize)
SceJpegArmErrorCode
Error Codes.
Definition: jpegarm.h:15
int sceJpegArmGetOutputInfo(const SceUInt8 *pJpeg, SceSize isize, SceInt decodeMode, SceInt outputFormat, SceJpegOutputInfo *pOutputInfo)
@ SCE_JPEG_ARM_OK
Definition: jpegarm.h:16
Definition: jpeg.h:29
unsigned int SceSize
Definition: types.h:56
int32_t SceInt
Definition: types.h:47
uint8_t SceUInt8
Definition: types.h:36