[Scummvm-cvs-logs] scummvm master -> 7da9b342aa4e416cdcf29ed2ded276081fdcb975

clone2727 clone2727 at gmail.com
Mon Jul 1 05:26:43 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7da9b342aa VIDEO: Fix Indeo3 luma scale


Commit: 7da9b342aa4e416cdcf29ed2ded276081fdcb975
    https://github.com/scummvm/scummvm/commit/7da9b342aa4e416cdcf29ed2ded276081fdcb975
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2013-06-30T20:25:46-07:00

Commit Message:
VIDEO: Fix Indeo3 luma scale

Now black is really black

Changed paths:
    video/codecs/indeo3.cpp



diff --git a/video/codecs/indeo3.cpp b/video/codecs/indeo3.cpp
index 6fbefba..28e1a9c 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






More information about the Scummvm-git-logs mailing list