PSPSDK 2024-12-24
Loading...
Searching...
No Matches
pspjpeg.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
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 */
11#ifndef __PSPJPEG_H__
12#define __PSPJPEG_H__
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#include <psptypes.h>
19
26
33
42int sceJpegCreateMJpeg(int width, int height);
43
50
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif
int sceJpegDeleteMJpeg(void)
Deletes the current decoder context.
int sceJpegCreateMJpeg(int width, int height)
Creates the decoder context.
int sceJpegDecodeMJpeg(u8 *jpegbuf, SceSize size, void *rgba, u32 unk)
Decodes a mjpeg frame.
int sceJpegFinishMJpeg(void)
Finishes the MJpeg library.
int sceJpegInitMJpeg(void)
Inits the MJpeg library.
unsigned int SceSize
Definition pspkerneltypes.h:27
unsigned char size
Definition pspsysmem_kernel.h:6
unsigned char unk
Definition pspsysmem_kernel.h:5
uint8_t u8
Definition psptypes.h:38
float x
Definition psptypes.h:0
uint32_t u32
Definition psptypes.h:41