mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-23 18:30:46 +00:00
Typo
This commit is contained in:
parent
d0c5a721b0
commit
6bcf1705ec
@ -38,7 +38,7 @@ void __JpegDoState(PointerWrap &p) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
u32 convertYCbCrToABGR (int y, int cb, int cr) {
|
u32 convertYCbCrToABGR (int y, int cb, int cr) {
|
||||||
//see http://en.wikipedia.org/wiki/Yuv#Y.27UV444_to_RGB888_conversion for mor information.
|
//see http://en.wikipedia.org/wiki/Yuv#Y.27UV444_to_RGB888_conversion for more information.
|
||||||
cb = cb - 128;
|
cb = cb - 128;
|
||||||
cr = cr - 128;
|
cr = cr - 128;
|
||||||
int r = y + cr + (cr >> 2) + (cr >> 3) + (cr >> 5);
|
int r = y + cr + (cr >> 2) + (cr >> 3) + (cr >> 5);
|
||||||
|
@ -1354,7 +1354,7 @@ u32 sceMpegAvcResourceInit(u32 mpeg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
u32 convertARGBToYCbCr(u32 abgr) {
|
u32 convertARGBToYCbCr(u32 abgr) {
|
||||||
//see http://en.wikipedia.org/wiki/Yuv#Y.27UV444_to_RGB888_conversion for mor information.
|
//see http://en.wikipedia.org/wiki/Yuv#Y.27UV444_to_RGB888_conversion for more information.
|
||||||
u8 r = (abgr >> 16) & 0xFF;
|
u8 r = (abgr >> 16) & 0xFF;
|
||||||
u8 g = (abgr >> 8) & 0xFF;
|
u8 g = (abgr >> 8) & 0xFF;
|
||||||
u8 b = (abgr >> 0) & 0xFF;
|
u8 b = (abgr >> 0) & 0xFF;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user