Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libjpeg-turbo
/
9665f5e3f9a73ae44f011a20d382af331fdfd594
/
jdcol565.c
72a3cc0
Fix issues with RGB565 color conversion on big endian machines. The RGB565 routines are now abstracted in a separate file, with separate little-endian and big-endian versions defined at compile time through the use of macros (this is similar to how the colorspace extension routines work.) This allows big-endian machines to take advantage of the same performance optimizations as little-endian machines, and it retains the performance on little-endian machines, since the conditional branch for endianness is at a very coarse-grained level.
by DRC
· 10 years ago
78df2e6
Add support for decompressing to RGB565 (16-bit) pixels
by DRC
· 10 years ago