aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/indeo3.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2013-06-30 23:24:54 -0400
committerMatthew Hoops2013-06-30 23:25:46 -0400
commit7da9b342aa4e416cdcf29ed2ded276081fdcb975 (patch)
treebab91e2d037a2e6e83408fd43c906b7e7721e6cd /video/codecs/indeo3.cpp
parent318200cd86b437e388adbb97b75cce3874b3736f (diff)
downloadscummvm-rg350-7da9b342aa4e416cdcf29ed2ded276081fdcb975.tar.gz
scummvm-rg350-7da9b342aa4e416cdcf29ed2ded276081fdcb975.tar.bz2
scummvm-rg350-7da9b342aa4e416cdcf29ed2ded276081fdcb975.zip
VIDEO: Fix Indeo3 luma scale
Now black is really black
Diffstat (limited to 'video/codecs/indeo3.cpp')
-rw-r--r--video/codecs/indeo3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/codecs/indeo3.cpp b/video/codecs/indeo3.cpp
index 6fbefba9e3..28e1a9c620 100644
--- a/video/codecs/indeo3.cpp
+++ b/video/codecs/indeo3.cpp
@@ -288,14 +288,14 @@ const Graphics::Surface *Indeo3Decoder::decodeImage(Common::SeekableReadStream *
if (scaleWidth == 1 && scaleHeight == 1) {
// Shortcut: Don't need to scale so we can decode straight to the surface
- YUVToRGBMan.convert410(_surface, Graphics::YUVToRGBManager::kScaleFull, srcY, tempU, tempV,
+ YUVToRGBMan.convert410(_surface, Graphics::YUVToRGBManager::kScaleITU, srcY, tempU, tempV,
fWidth, fHeight, fWidth, chromaWidth + 1);
} else {
// Need to upscale, so decode to a temp surface first
Graphics::Surface tempSurface;
tempSurface.create(fWidth, fHeight, _surface->format);
- YUVToRGBMan.convert410(&tempSurface, Graphics::YUVToRGBManager::kScaleFull, srcY, tempU, tempV,
+ YUVToRGBMan.convert410(&tempSurface, Graphics::YUVToRGBManager::kScaleITU, srcY, tempU, tempV,
fWidth, fHeight, fWidth, chromaWidth + 1);
// Upscale