20#define SCE_JPEG_ERROR_BAD_MARKER_LENGTH (0x80650004)
21#define SCE_JPEG_ERROR_INVALID_POINTER (0x80650010)
22#define SCE_JPEG_ERROR_UNSUPPORT_COLORSPACE (0x80650013)
23#define SCE_JPEG_ERROR_UNSUPPORT_SAMPLING (0x80650016)
24#define SCE_JPEG_ERROR_UNSUPPORT_IMAGE_SIZE (0x80650020)
25#define SCE_JPEG_ERROR_UNKNOWN_MARKER (0x80650035)
112int sceJpegCsc(
u8 *imageAddr,
u8 *yCbCrAddr,
int widthHeight,
int bufferWidth,
int colourInfo);
int sceJpegDecodeMJpegYCbCr(u8 *jpegbuf, SceSize size, u8 *yCbCr, SceSize yCbCrSize, u32 unk)
Decodes a mjpeg frame to YCbCr encoding.
int sceJpegDeleteMJpeg(void)
Deletes the current decoder context.
int sceJpegCsc(u8 *imageAddr, u8 *yCbCrAddr, int widthHeight, int bufferWidth, int colourInfo)
Converts a frame from YCbCr to RGBA.
int sceJpegCreateMJpeg(int width, int height)
Creates the decoder context.
int sceJpegFinishMJpeg(void)
Finishes the MJpeg library.
int sceJpegGetOutputInfo(u8 *jpegbuf, SceSize size, int *colourInfo, int unk)
Reads information from mjpeg frame.
int sceJpegDecodeMJpeg(u8 *jpegbuf, SceSize size, u8 *rgba, u32 unk)
Decodes a mjpeg frame to RGBA encoding.
int sceJpegInitMJpeg(void)
Inits the MJpeg library.
unsigned int SceSize
Definition psptypes.h:103
uint8_t u8
Definition psptypes.h:38
uint32_t u32
Definition psptypes.h:41