diff options
author | Matthew Hoops | 2012-09-18 15:54:45 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-09-18 16:50:01 -0400 |
commit | 09269fce8c61b8193b25266b681c7849a6ad058d (patch) | |
tree | d5bb74ccb845d878a5bf09713c8aaf75bf07aaec /video/theora_decoder.cpp | |
parent | 065b996d1551c9fb2ba927dac47a5fb907ac8d8e (diff) | |
download | scummvm-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 'video/theora_decoder.cpp')
-rw-r--r-- | video/theora_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/theora_decoder.cpp b/video/theora_decoder.cpp index 8b579321ac..bf953b0de9 100644 --- a/video/theora_decoder.cpp +++ b/video/theora_decoder.cpp @@ -328,7 +328,7 @@ void TheoraDecoder::TheoraVideoTrack::translateYUVtoRGBA(th_ycbcr_buffer &YUVBuf assert(YUVBuffer[kBufferU].height == YUVBuffer[kBufferY].height >> 1); assert(YUVBuffer[kBufferV].height == YUVBuffer[kBufferY].height >> 1); - YUVToRGBMan.convert420(&_surface, YUVBuffer[kBufferY].data, YUVBuffer[kBufferU].data, YUVBuffer[kBufferV].data, YUVBuffer[kBufferY].width, YUVBuffer[kBufferY].height, YUVBuffer[kBufferY].stride, YUVBuffer[kBufferU].stride); + YUVToRGBMan.convert420(&_surface, Graphics::YUVToRGBManager::kScaleITU, YUVBuffer[kBufferY].data, YUVBuffer[kBufferU].data, YUVBuffer[kBufferV].data, YUVBuffer[kBufferY].width, YUVBuffer[kBufferY].height, YUVBuffer[kBufferY].stride, YUVBuffer[kBufferU].stride); } static vorbis_info *info = 0; |