aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-11-12 18:45:29 -0800
committerJean-Baptiste Queru <jbq@google.com>2009-11-12 18:45:29 -0800
commita6567963ad9040df76b53fac9279e74e0864fc70 (patch)
treeb98e2b81198a37bacd603c2328eddfa2d26f8d24
parent9f5d49a1588e438ae7ceabd0c94172117e3303aa (diff)
downloadjpeg-a6567963ad9040df76b53fac9279e74e0864fc70.tar.gz
eclair snapshot
-rw-r--r--jmorecfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jmorecfg.h b/jmorecfg.h
index d699a2c..236bbcb 100644
--- a/jmorecfg.h
+++ b/jmorecfg.h
@@ -20,7 +20,7 @@
#define ANDROID_RGB
#ifdef ANDROID_RGB
-#define PACK_SHORT_565(r,g,b) ((((r)<<8)&0xf800)|(((g)<<3)&0x7C0)|((b)>>3))
+#define PACK_SHORT_565(r,g,b) ((((r)<<8)&0xf800)|(((g)<<3)&0x7E0)|((b)>>3))
#define PACK_TWO_PIXELS(l,r) ((r<<16) | l)
#define PACK_NEED_ALIGNMENT(ptr) (((int)(ptr))&3)
#define WRITE_TWO_PIXELS(addr, pixels) do { \