From 125772869a92453f2c47217cce3e1527989c06ea Mon Sep 17 00:00:00 2001 From: Reg <69511985+RegularRabbit05@users.noreply.github.com> Date: Fri, 4 Jul 2025 19:34:10 +0200 Subject: [PATCH] sceJpegDecodeMJpegYCbCr signature --- src/mpeg/pspjpeg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mpeg/pspjpeg.h b/src/mpeg/pspjpeg.h index cfa23334..b79311a0 100644 --- a/src/mpeg/pspjpeg.h +++ b/src/mpeg/pspjpeg.h @@ -66,12 +66,13 @@ int sceJpegDecodeMJpeg(u8 *jpegbuf, SceSize size, void *rgba, u32 dhtMode); * * @param jpegbuf - the buffer with the mjpeg frame * @param size - size of the buffer pointed by jpegbuf - * @param rgba - buffer where the decoded data in YCbCr format will be stored. + * @param yCbCr - buffer where the decoded data in YCbCr format will be stored. + * @param yCbCrSize - size of the buffer pointed by yCbCr * @param dhtMode - Unknown, pass 0 * * @return (width * 65536) + height on success, < 0 on error */ -int sceJpegDecodeMJpegYCbCr(u8 *jpegbuf, SceSize size, void *yCbCr, u32 dhtMode); +int sceJpegDecodeMJpegYCbCr(u8 *jpegAddr, SceSize jpegSize, u8 *yCbCr, SceSize yCbCrSize, u32 dhtMode); /** * Converts a frame from YCbCr to ABGR