PSPSDK 2024-12-24
|
#include <psptypes.h>
Go to the source code of this file.
Functions | |
int | sceJpegInitMJpeg (void) |
Inits the MJpeg library. | |
int | sceJpegFinishMJpeg (void) |
Finishes the MJpeg library. | |
int | sceJpegCreateMJpeg (int width, int height) |
Creates the decoder context. | |
int | sceJpegDeleteMJpeg (void) |
Deletes the current decoder context. | |
int | sceJpegDecodeMJpeg (u8 *jpegbuf, SceSize size, void *rgba, u32 unk) |
Decodes a mjpeg frame. | |
Creates the decoder context.
width | - The width of the frame |
height | - The height of the frame |
Decodes a mjpeg frame.
jpegbuf | - the buffer with the mjpeg frame |
size | - size of the buffer pointed by jpegbuf |
rgba | - buffer where the decoded data in RGBA format will be stored. It should have a size of (width * height * 4). |
unk | - Unknown, pass 0 |
Deletes the current decoder context.