From 4ac4ea38dd0a6dcd587f0baf147cf64540748fe4 Mon Sep 17 00:00:00 2001 From: shenweip Date: Sat, 5 Oct 2013 08:40:55 +0800 Subject: [PATCH] Rename __JpegDecodeMJpegYCbCr to __JpegConvertRGBToYCbCr. --- Core/HLE/sceJpeg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceJpeg.cpp b/Core/HLE/sceJpeg.cpp index c29a3f2e64..68d5ce7858 100644 --- a/Core/HLE/sceJpeg.cpp +++ b/Core/HLE/sceJpeg.cpp @@ -229,7 +229,7 @@ u32 convertRGBToYCbCr(u32 rgb) { return (y << 16) | (cb << 8) | cr; } -int __JpegDecodeMJpegYCbCr(const void *data, u32 bufferOutputAddr, int width, int height) { +int __JpegConvertRGBToYCbCr (const void *data, u32 bufferOutputAddr, int width, int height) { u24_be *imageBuffer = (u24_be*)data; int sizeY = width * height; int sizeCb = sizeY >> 2; @@ -285,7 +285,7 @@ int sceJpegDecodeMJpegYCbCr(u32 jpegAddr, int jpegSize, u32 yCbCrAddr, int yCbCr if (jpegBuf == NULL) return getWidthHeight(0, 0); if (actual_components == 3) - __JpegDecodeMJpegYCbCr(jpegBuf, yCbCrAddr, width, height); + __JpegConvertRGBToYCbCr(jpegBuf, yCbCrAddr, width, height); // TODO: There's more... return getWidthHeight(width, height);