mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-22 05:35:54 +00:00
Rename u24 to u24_be.
This commit is contained in:
parent
d8f1ddd6fa
commit
54492732b5
@ -28,13 +28,13 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef struct u24 {
|
||||
struct u24_be {
|
||||
unsigned char value[3];
|
||||
|
||||
operator unsigned int(){
|
||||
return 0x00000000 | (value[0] << 16) | (value[1] << 8) | (value[2] << 0);
|
||||
}
|
||||
} u24;
|
||||
};
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
|
@ -230,7 +230,7 @@ u32 convertRGBToYCbCr(u32 rgb) {
|
||||
}
|
||||
|
||||
int __JpegDecodeMJpegYCbCr(const void *data, u32 bufferOutputAddr, int width, int height) {
|
||||
u24 *imageBuffer = (u24*)data;
|
||||
u24_be *imageBuffer = (u24_be*)data;
|
||||
int sizeY = width * height;
|
||||
int sizeCb = sizeY >> 2;
|
||||
u8 *Y = (u8*)Memory::GetPointer(bufferOutputAddr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user