diff options
author | Matthew Hoops | 2011-07-02 23:43:52 -0400 |
---|---|---|
committer | Johannes Schickel | 2012-03-20 01:06:48 +0100 |
commit | b6d2a11432c16b12fea48830f7aa131dba091ef7 (patch) | |
tree | 0c272b0dee19fd58949452d95e38824f5574e9cf /graphics/yuv_to_rgb.h | |
parent | 765a8704454d705acc9ce5aa7a90c1c3079fb989 (diff) | |
download | scummvm-rg350-b6d2a11432c16b12fea48830f7aa131dba091ef7.tar.gz scummvm-rg350-b6d2a11432c16b12fea48830f7aa131dba091ef7.tar.bz2 scummvm-rg350-b6d2a11432c16b12fea48830f7aa131dba091ef7.zip |
GRAPHICS: Make the JPEG code use the new YUV to RGB converter
Diffstat (limited to 'graphics/yuv_to_rgb.h')
-rw-r--r-- | graphics/yuv_to_rgb.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/yuv_to_rgb.h b/graphics/yuv_to_rgb.h index 259ba09810..8e025042dc 100644 --- a/graphics/yuv_to_rgb.h +++ b/graphics/yuv_to_rgb.h @@ -23,6 +23,7 @@ /** * @file * YUV to RGB conversion used in engines: + * - mohawk * - scumm (he) * - sword25 */ @@ -36,6 +37,20 @@ namespace Graphics { /** + * Convert a YUV444 image to an RGB surface + * + * @param dst the destination surface + * @param ySrc the source of the y component + * @param uSrc the source of the u component + * @param vSrc the source of the v component + * @param yWidth the width of the y surface + * @param yHeight the height of the y surface + * @param yPitch the pitch of the y surface + * @param uvPitch the pitch of the u and v surfaces + */ +void convertYUV444ToRGB(Graphics::Surface *dst, const byte *ySrc, const byte *uSrc, const byte *vSrc, int yWidth, int yHeight, int yPitch, int uvPitch); + +/** * Convert a YUV420 image to an RGB surface * * @param dst the destination surface |