aboutsummaryrefslogtreecommitdiff
path: root/graphics/decoders
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-17 12:54:08 -0400
committerMatthew Hoops2012-09-17 19:30:46 -0400
commit893a2b37ff651e69699879932fe70895a28951fa (patch)
treedd1ca1e116c46849bee52a24f3c08454858b4f6e /graphics/decoders
parent03d34f1f927cc3ac16f3f500688239f7b2f1fc8a (diff)
downloadscummvm-rg350-893a2b37ff651e69699879932fe70895a28951fa.tar.gz
scummvm-rg350-893a2b37ff651e69699879932fe70895a28951fa.tar.bz2
scummvm-rg350-893a2b37ff651e69699879932fe70895a28951fa.zip
GRAPHICS: Rework YUV->RGB code a bit
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 a871377ca1..77ca316c6d 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);
- convertYUV444ToRGB(_rgbSurface, (byte *)yComponent->pixels, (byte *)uComponent->pixels, (byte *)vComponent->pixels, yComponent->w, yComponent->h, yComponent->pitch, uComponent->pitch);
+ YUVToRGBMan.convert444(_rgbSurface, (byte *)yComponent->pixels, (byte *)uComponent->pixels, (byte *)vComponent->pixels, yComponent->w, yComponent->h, yComponent->pitch, uComponent->pitch);
return _rgbSurface;
}