]> granicus.if.org Git - libjpeg-turbo/commit
Fix issues with RGB565 color conversion on big endian machines. The RGB565 routines...
authorDRC <dcommander@users.sourceforge.net>
Sat, 30 Aug 2014 20:37:50 +0000 (20:37 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sat, 30 Aug 2014 20:37:50 +0000 (20:37 +0000)
commit72a3cc0ecd83bffad1c6e5dae90a8b405dd22c64
tree4228f28ecd7f76cf82afa7d431cd8ea98180b158
parenteb8d096ba6fea5360b8cddacd8f492a68f34811a
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.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1399 632fc199-4ca6-4c93-a231-07263d6284db
ChangeLog.txt
jdcol565.c
jdcolor.c
jdmerge.c
jdmrg565.c [new file with mode: 0644]
wrbmp.c