Skip to content

Commit 1257728

Browse files
sceJpegDecodeMJpegYCbCr signature
1 parent 6b77137 commit 1257728

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/mpeg/pspjpeg.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,13 @@ int sceJpegDecodeMJpeg(u8 *jpegbuf, SceSize size, void *rgba, u32 dhtMode);
6666
*
6767
* @param jpegbuf - the buffer with the mjpeg frame
6868
* @param size - size of the buffer pointed by jpegbuf
69-
* @param rgba - buffer where the decoded data in YCbCr format will be stored.
69+
* @param yCbCr - buffer where the decoded data in YCbCr format will be stored.
70+
* @param yCbCrSize - size of the buffer pointed by yCbCr
7071
* @param dhtMode - Unknown, pass 0
7172
*
7273
* @return (width * 65536) + height on success, < 0 on error
7374
*/
74-
int sceJpegDecodeMJpegYCbCr(u8 *jpegbuf, SceSize size, void *yCbCr, u32 dhtMode);
75+
int sceJpegDecodeMJpegYCbCr(u8 *jpegAddr, SceSize jpegSize, u8 *yCbCr, SceSize yCbCrSize, u32 dhtMode);
7576

7677
/**
7778
* Converts a frame from YCbCr to ABGR

0 commit comments

Comments
 (0)