aboutsummaryrefslogtreecommitdiff
path: root/graphics/decoders
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-18 15:54:45 -0400
committerMatthew Hoops2012-09-18 16:50:01 -0400
commit09269fce8c61b8193b25266b681c7849a6ad058d (patch)
treed5bb74ccb845d878a5bf09713c8aaf75bf07aaec /graphics/decoders
parent065b996d1551c9fb2ba927dac47a5fb907ac8d8e (diff)
downloadscummvm-rg350-09269fce8c61b8193b25266b681c7849a6ad058d.tar.gz
scummvm-rg350-09269fce8c61b8193b25266b681c7849a6ad058d.tar.bz2
scummvm-rg350-09269fce8c61b8193b25266b681c7849a6ad058d.zip
GRAPHICS: Implement different luminance ranges
Bink and Theora are now much improved
Diffstat (limited to 'graphics/decoders')
-rw-r--r--graphics/decoders/jpeg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/decoders/jpeg.cpp b/graphics/decoders/jpeg.cpp
index 77ca316c6d..748275b84b 100644
--- a/graphics/decoders/jpeg.cpp
+++ b/graphics/decoders/jpeg.cpp
@@ -81,7 +81,7 @@ const Surface *JPEGDecoder::getSurface() const {
const Graphics::Surface *uComponent = getComponent(2);
const Graphics::Surface *vComponent = getComponent(3);
- YUVToRGBMan.convert444(_rgbSurface, (byte *)yComponent->pixels, (byte *)uComponent->pixels, (byte *)vComponent->pixels, yComponent->w, yComponent->h, yComponent->pitch, uComponent->pitch);
+ YUVToRGBMan.convert444(_rgbSurface, Graphics::YUVToRGBManager::kScaleFull, (byte *)yComponent->pixels, (byte *)uComponent->pixels, (byte *)vComponent->pixels, yComponent->w, yComponent->h, yComponent->pitch, uComponent->pitch);
return _rgbSurface;
}