Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Images/ImageProcessing.h @ 4529:5774fe497ff2
fix decoding of images on big-endian architectures
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 24 Feb 2021 21:06:34 +0100 |
parents | fd958175c5b9 |
children | 7053502fbf97 |
comparison
equal
deleted
inserted
replaced
4528:93a51d228d80 | 4529:5774fe497ff2 |
---|---|
198 unsigned int width, | 198 unsigned int width, |
199 unsigned int height); | 199 unsigned int height); |
200 | 200 |
201 // https://en.wikipedia.org/wiki/YCbCr#JPEG_conversion | 201 // https://en.wikipedia.org/wiki/YCbCr#JPEG_conversion |
202 static void ConvertJpegYCbCrToRgb(ImageAccessor& image /* inplace */); | 202 static void ConvertJpegYCbCrToRgb(ImageAccessor& image /* inplace */); |
203 | |
204 static void SwapEndianness(ImageAccessor& image /* inplace */); | |
203 }; | 205 }; |
204 } | 206 } |