aboutsummaryrefslogtreecommitdiffstats
path: root/packages/psplash
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-01-15 19:30:08 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2009-01-15 19:30:08 +0100
commita3a68e7813c67743f5ce0ee2bb2952f2319edc89 (patch)
tree5c1b4533ce3cf426cc28b91f299e000f171353c2 /packages/psplash
parentd30ad97b3ef0d0d7bd577b66b4771f8385a5a520 (diff)
downloadopenembedded-a3a68e7813c67743f5ce0ee2bb2952f2319edc89.tar.gz
psplash: add support for 2 bit per pixel grayscale
Diffstat (limited to 'packages/psplash')
-rw-r--r--packages/psplash/files/boc01/psplash-hand-img.h384
-rw-r--r--packages/psplash/files/psplash_1bpp.patch34
-rw-r--r--packages/psplash/files/psplash_grayscale.patch83
-rw-r--r--packages/psplash/psplash_svn.bb4
4 files changed, 349 insertions, 156 deletions
diff --git a/packages/psplash/files/boc01/psplash-hand-img.h b/packages/psplash/files/boc01/psplash-hand-img.h
index c94546207d..8c23e483d6 100644
--- a/packages/psplash/files/boc01/psplash-hand-img.h
+++ b/packages/psplash/files/boc01/psplash-hand-img.h
@@ -5,125 +5,269 @@
#define HAND_IMG_HEIGHT (64)
#define HAND_IMG_BYTES_PER_PIXEL (3) /* 3:RGB, 4:RGBA */
#define HAND_IMG_RLE_PIXEL_DATA ((uint8*) \
- "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\270\377" \
- "\377\377\205\0\0\0\374\377\377\377\210\0\0\0\374\377\377\377\206\0\0" \
- "\0\374\377\377\377\206\0\0\0\375\377\377\377\205\0\0\0\375\377\377\377" \
- "\205\0\0\0\374\377\377\377\206\0\0\0\215\377\377\377\203\0\0\0\354\377" \
- "\377\377\205\0\0\0\214\377\377\377\204\0\0\0\354\377\377\377\206\0\0" \
- "\0\211\377\377\377\206\0\0\0\355\377\377\377\205\0\0\0\210\377\377\377" \
- "\205\0\0\0\357\377\377\377\205\0\0\0\206\377\377\377\204\0\0\0\362\377" \
- "\377\377\205\0\0\0\205\377\377\377\203\0\0\0\364\377\377\377\205\0\0" \
- "\0\204\377\377\377\1\0\0\0\370\377\377\377\204\0\0\0\375\377\377\377" \
- "\204\0\0\0\375\377\377\377\204\0\0\0\374\377\377\377\205\0\0\0\374\377" \
- "\377\377\205\0\0\0\314\377\377\377\204\0\0\0\202\377\377\377\204\0\0" \
- "\0\240\377\377\377\202\0\0\0\204\377\377\377\204\0\0\0\256\377\377\377" \
- "\213\0\0\0\223\377\377\377\204\0\0\0\202\377\377\377\204\0\0\0\237\377" \
- "\377\377\203\0\0\0\205\377\377\377\204\0\0\0\255\377\377\377\206\0\0" \
- "\0\1\377\377\377\206\0\0\0\222\377\377\377\203\0\0\0\203\377\377\377" \
- "\203\0\0\0\236\377\377\377\203\0\0\0\207\377\377\377\204\0\0\0\256\377" \
- "\377\377\204\0\0\0\204\377\377\377\203\0\0\0\222\377\377\377\203\0\0" \
- "\0\203\377\377\377\203\0\0\0\236\377\377\377\202\0\0\0\211\377\377\377" \
- "\203\0\0\0\256\377\377\377\204\0\0\0\204\377\377\377\204\0\0\0\221\377" \
- "\377\377\203\0\0\0\203\377\377\377\203\0\0\0\235\377\377\377\202\0\0" \
- "\0\212\377\377\377\204\0\0\0\255\377\377\377\204\0\0\0\205\377\377\377" \
- "\203\0\0\0\207\377\377\377\203\0\0\0\207\377\377\377\203\0\0\0\203\377" \
- "\377\377\203\0\0\0\207\377\377\377\203\0\0\0\215\377\377\377\1\0\0\0" \
- "\206\377\377\377\203\0\0\0\211\377\377\377\204\0\0\0\254\377\377\377" \
- "\204\0\0\0\204\377\377\377\204\0\0\0\204\377\377\377\210\0\0\0\205\377" \
- "\377\377\203\0\0\0\203\377\377\377\203\0\0\0\205\377\377\377\210\0\0" \
- "\0\205\377\377\377\202\0\0\0\1\377\377\377\204\0\0\0\203\377\377\377" \
- "\207\0\0\0\210\377\377\377\203\0\0\0\254\377\377\377\204\0\0\0\203\377" \
- "\377\377\204\0\0\0\204\377\377\377\203\0\0\0\204\377\377\377\203\0\0" \
- "\0\204\377\377\377\203\0\0\0\203\377\377\377\203\0\0\0\203\377\377\377" \
- "\203\0\0\0\205\377\377\377\203\0\0\0\202\377\377\377\211\0\0\0\202\377" \
- "\377\377\202\0\0\0\204\377\377\377\203\0\0\0\207\377\377\377\204\0\0" \
- "\0\253\377\377\377\212\0\0\0\204\377\377\377\203\0\0\0\206\377\377\377" \
- "\203\0\0\0\203\377\377\377\203\0\0\0\203\377\377\377\203\0\0\0\203\377" \
- "\377\377\203\0\0\0\205\377\377\377\203\0\0\0\203\377\377\377\204\0\0" \
- "\0\205\377\377\377\202\0\0\0\206\377\377\377\203\0\0\0\207\377\377\377" \
- "\203\0\0\0\253\377\377\377\213\0\0\0\203\377\377\377\203\0\0\0\207\377" \
- "\377\377\202\0\0\0\203\377\377\377\203\0\0\0\203\377\377\377\203\0\0" \
- "\0\202\377\377\377\203\0\0\0\207\377\377\377\203\0\0\0\202\377\377\377" \
- "\203\0\0\0\206\377\377\377\213\0\0\0\207\377\377\377\203\0\0\0\253\377" \
- "\377\377\204\0\0\0\205\377\377\377\203\0\0\0\202\377\377\377\202\0\0" \
- "\0\210\377\377\377\203\0\0\0\202\377\377\377\203\0\0\0\203\377\377\377" \
- "\203\0\0\0\202\377\377\377\203\0\0\0\207\377\377\377\203\0\0\0\202\377" \
- "\377\377\203\0\0\0\205\377\377\377\214\0\0\0\210\377\377\377\203\0\0" \
- "\0\252\377\377\377\204\0\0\0\205\377\377\377\204\0\0\0\1\377\377\377" \
- "\202\0\0\0\210\377\377\377\203\0\0\0\202\377\377\377\203\0\0\0\203\377" \
- "\377\377\203\0\0\0\202\377\377\377\203\0\0\0\207\377\377\377\203\0\0" \
- "\0\202\377\377\377\203\0\0\0\205\377\377\377\203\0\0\0\221\377\377\377" \
- "\203\0\0\0\252\377\377\377\204\0\0\0\206\377\377\377\203\0\0\0\1\377" \
- "\377\377\202\0\0\0\210\377\377\377\203\0\0\0\202\377\377\377\203\0\0" \
- "\0\203\377\377\377\203\0\0\0\202\377\377\377\203\0\0\0\207\377\377\377" \
- "\203\0\0\0\202\377\377\377\203\0\0\0\205\377\377\377\203\0\0\0\222\377" \
- "\377\377\203\0\0\0\251\377\377\377\204\0\0\0\206\377\377\377\203\0\0" \
- "\0\1\377\377\377\202\0\0\0\210\377\377\377\203\0\0\0\202\377\377\377" \
- "\203\0\0\0\203\377\377\377\203\0\0\0\202\377\377\377\203\0\0\0\207\377" \
- "\377\377\203\0\0\0\202\377\377\377\203\0\0\0\205\377\377\377\203\0\0" \
- "\0\222\377\377\377\203\0\0\0\251\377\377\377\204\0\0\0\205\377\377\377" \
- "\204\0\0\0\1\377\377\377\203\0\0\0\207\377\377\377\202\0\0\0\203\377" \
- "\377\377\203\0\0\0\203\377\377\377\203\0\0\0\202\377\377\377\204\0\0" \
- "\0\206\377\377\377\203\0\0\0\202\377\377\377\203\0\0\0\206\377\377\377" \
- "\203\0\0\0\222\377\377\377\202\0\0\0\251\377\377\377\204\0\0\0\205\377" \
- "\377\377\203\0\0\0\202\377\377\377\203\0\0\0\206\377\377\377\203\0\0" \
- "\0\203\377\377\377\203\0\0\0\203\377\377\377\203\0\0\0\203\377\377\377" \
- "\203\0\0\0\205\377\377\377\203\0\0\0\203\377\377\377\203\0\0\0\206\377" \
- "\377\377\204\0\0\0\205\377\377\377\202\0\0\0\212\377\377\377\203\0\0" \
- "\0\247\377\377\377\206\0\0\0\1\377\377\377\205\0\0\0\204\377\377\377" \
- "\203\0\0\0\204\377\377\377\203\0\0\0\203\377\377\377\204\0\0\0\202\377" \
- "\377\377\204\0\0\0\204\377\377\377\203\0\0\0\203\377\377\377\203\0\0" \
- "\0\204\377\377\377\204\0\0\0\206\377\377\377\211\0\0\0\213\377\377\377" \
- "\203\0\0\0\246\377\377\377\214\0\0\0\207\377\377\377\207\0\0\0\203\377" \
- "\377\377\214\0\0\0\204\377\377\377\207\0\0\0\204\377\377\377\206\0\0" \
- "\0\206\377\377\377\207\0\0\0\215\377\377\377\202\0\0\0\376\377\377\377" \
- "\202\0\0\0\376\377\377\377\203\0\0\0\376\377\377\377\202\0\0\0\376\377" \
- "\377\377\202\0\0\0\377\377\377\377\302\377\377\377\1\0\0\0\230\377\377" \
- "\377\1\0\0\0\345\377\377\377\202\0\0\0\230\377\377\377\202\0\0\0\344" \
- "\377\377\377\202\0\0\0\230\377\377\377\202\0\0\0\344\377\377\377\202" \
- "\0\0\0\230\377\377\377\202\0\0\0\343\377\377\377\205\0\0\0\210\377\377" \
- "\377\205\0\0\0\211\377\377\377\202\0\0\0\210\377\377\377\206\0\0\0\213" \
- "\377\377\377\206\0\0\0\212\377\377\377\206\0\0\0\211\377\377\377\2\0" \
- "\0\0\377\377\377\205\0\0\0\202\377\377\377\205\0\0\0\234\377\377\377" \
- "\206\0\0\0\206\377\377\377\211\0\0\0\207\377\377\377\202\0\0\0\207\377" \
- "\377\377\210\0\0\0\210\377\377\377\211\0\0\0\210\377\377\377\210\0\0" \
- "\0\207\377\377\377\220\0\0\0\235\377\377\377\202\0\0\0\207\377\377\377" \
- "\204\0\0\0\203\377\377\377\204\0\0\0\206\377\377\377\202\0\0\0\206\377" \
- "\377\377\203\0\0\0\204\377\377\377\203\0\0\0\207\377\377\377\203\0\0" \
- "\0\204\377\377\377\203\0\0\0\206\377\377\377\203\0\0\0\204\377\377\377" \
- "\203\0\0\0\206\377\377\377\204\0\0\0\203\377\377\377\204\0\0\0\203\377" \
- "\377\377\203\0\0\0\234\377\377\377\202\0\0\0\207\377\377\377\203\0\0" \
- "\0\205\377\377\377\203\0\0\0\206\377\377\377\202\0\0\0\206\377\377\377" \
- "\202\0\0\0\206\377\377\377\202\0\0\0\206\377\377\377\203\0\0\0\206\377" \
- "\377\377\202\0\0\0\205\377\377\377\203\0\0\0\206\377\377\377\202\0\0" \
- "\0\206\377\377\377\203\0\0\0\204\377\377\377\203\0\0\0\204\377\377\377" \
- "\203\0\0\0\234\377\377\377\202\0\0\0\207\377\377\377\213\0\0\0\206\377" \
- "\377\377\202\0\0\0\205\377\377\377\214\0\0\0\205\377\377\377\202\0\0" \
- "\0\216\377\377\377\203\0\0\0\206\377\377\377\203\0\0\0\205\377\377\377" \
- "\203\0\0\0\204\377\377\377\203\0\0\0\204\377\377\377\203\0\0\0\234\377" \
- "\377\377\202\0\0\0\207\377\377\377\213\0\0\0\206\377\377\377\202\0\0" \
- "\0\205\377\377\377\214\0\0\0\204\377\377\377\203\0\0\0\216\377\377\377" \
- "\203\0\0\0\207\377\377\377\202\0\0\0\205\377\377\377\203\0\0\0\204\377" \
- "\377\377\203\0\0\0\204\377\377\377\203\0\0\0\234\377\377\377\202\0\0" \
- "\0\207\377\377\377\202\0\0\0\217\377\377\377\202\0\0\0\206\377\377\377" \
- "\202\0\0\0\216\377\377\377\202\0\0\0\216\377\377\377\203\0\0\0\206\377" \
- "\377\377\203\0\0\0\205\377\377\377\203\0\0\0\204\377\377\377\203\0\0" \
- "\0\204\377\377\377\203\0\0\0\234\377\377\377\202\0\0\0\207\377\377\377" \
- "\203\0\0\0\205\377\377\377\203\0\0\0\206\377\377\377\202\0\0\0\206\377" \
- "\377\377\202\0\0\0\206\377\377\377\202\0\0\0\206\377\377\377\203\0\0" \
- "\0\206\377\377\377\202\0\0\0\206\377\377\377\202\0\0\0\206\377\377\377" \
- "\202\0\0\0\206\377\377\377\203\0\0\0\204\377\377\377\203\0\0\0\204\377" \
- "\377\377\203\0\0\0\234\377\377\377\202\0\0\0\210\377\377\377\212\0\0" \
- "\0\206\377\377\377\202\0\0\0\206\377\377\377\212\0\0\0\207\377\377\377" \
- "\212\0\0\0\206\377\377\377\212\0\0\0\206\377\377\377\203\0\0\0\204\377" \
- "\377\377\203\0\0\0\204\377\377\377\203\0\0\0\234\377\377\377\202\0\0" \
- "\0\211\377\377\377\210\0\0\0\207\377\377\377\202\0\0\0\207\377\377\377" \
- "\210\0\0\0\211\377\377\377\210\0\0\0\210\377\377\377\210\0\0\0\207\377" \
- "\377\377\203\0\0\0\204\377\377\377\203\0\0\0\204\377\377\377\203\0\0" \
- "\0\235\377\377\377\1\0\0\0\212\377\377\377\205\0\0\0\211\377\377\377" \
- "\1\0\0\0\212\377\377\377\204\0\0\0\215\377\377\377\204\0\0\0\214\377" \
- "\377\377\204\0\0\0\212\377\377\377\1\0\0\0\206\377\377\377\1\0\0\0\206" \
- "\377\377\377\202\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377" \
- "\377\377\377\377\204\377\377\377")
+ "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\267\377" \
+ "\377\377\6\267\267\267~~~\227\227\227\265\265\265\331\331\331\371\371" \
+ "\371\372\377\377\377\11\334\334\334\234\234\234tttUUUTTTZZZ\201\201\201" \
+ "\263\263\263\347\347\347\372\377\377\377\11\354\354\354\271\271\271\200" \
+ "\200\200UUUTTTUUUvvv\267\267\267\364\364\364\372\377\377\377\3\350\350" \
+ "\350\243\243\243ccc\202TTT\3[[[\230\230\230\345\345\345\372\377\377\377" \
+ "\3\367\367\367\272\272\272iii\202TTT\3UUU\212\212\212\337\337\337\372" \
+ "\377\377\377\3\373\373\373\266\266\266aaa\202TTT\3WWW\227\227\227\356" \
+ "\356\356\217\377\377\377\2\357\357\357\367\367\367\351\377\377\377\3" \
+ "\364\364\364\240\240\240WWW\202TTT\3^^^\265\265\265\376\376\376\214\377" \
+ "\377\377\4\364\364\364\35\35\35;;;\362\362\362\352\377\377\377\2\337" \
+ "\337\337vvv\203TTT\2|||\346\346\346\213\377\377\377\1~~~\202\0\0\0\2" \
+ "<<<\362\362\362\352\377\377\377\3\374\374\374\251\251\251WWW\202TTT\2" \
+ "]]]\277\277\277\211\377\377\377\2\336\336\336\11\11\11\203\0\0\0\1AA" \
+ "A\354\377\377\377\2\327\327\327ggg\203TTT\2\232\232\232\372\372\372\207" \
+ "\377\377\377\1RRR\203\0\0\0\2\1\1\1QQQ\355\377\377\377\2\361\361\361" \
+ "~~~\203TTT\2}}}\365\365\365\205\377\377\377\1\274\274\274\203\0\0\0\2" \
+ "%%%\261\261\261\357\377\377\377\2\374\374\374\230\230\230\203TTT\2oo" \
+ "o\356\356\356\203\377\377\377\6\372\372\372+++\0\0\0\15\15\15\203\203" \
+ "\203\371\371\371\362\377\377\377\1\257\257\257\203TTT\2iii\345\345\345" \
+ "\202\377\377\377\4\241\241\241\0\0\0XXX\343\343\343\365\377\377\377\2" \
+ "\301\301\301VVV\202TTT\5eee\356\356\356\377\377\377\340\340\340\310\310" \
+ "\310\370\377\377\377\2\301\301\301VVV\202TTT\2ppp\360\360\360\373\377" \
+ "\377\377\2\301\301\301VVV\202TTT\2qqq\361\361\361\373\377\377\377\2\300" \
+ "\300\300UUU\202TTT\2~~~\374\374\374\316\377\377\377\2\351\351\351\314" \
+ "\314\314\204\377\377\377\3\367\367\367\304\304\304\375\375\375\237\377" \
+ "\377\377\3\376\376\376\336\336\336\372\372\372\202\377\377\377\1\255" \
+ "\255\255\203TTT\1\232\232\232\313\377\377\377\14\375\375\375\237\237" \
+ "\237VVV\10\10\10\2\2\2\357\357\357\377\377\377\262\262\262fff\22\22\22" \
+ "\0\0\0\301\301\301\237\377\377\377\3mmm\0\0\0UUU\203\377\377\377\1\235" \
+ "\235\235\203TTT\1\303\303\303\255\377\377\377\3\345\345\345\213\213\213" \
+ "kkk\202WWW\7;;;:::GGGWWWmmm\226\226\226\332\332\332\221\377\377\377\1" \
+ "\275\275\275\204\0\0\0\3\352\352\352\375\375\375\3\3\3\203\0\0\0\1\273" \
+ "\273\273\236\377\377\377\1\232\232\232\202\0\0\0\1LLL\203\377\377\377" \
+ "\2\373\373\373\203\203\203\202TTT\2\\\\\\\352\352\352\254\377\377\377" \
+ "\1GGG\205\0\0\0\2\11\11\11\23\23\23\203\0\0\0\3\1\1\1TTT\353\353\353" \
+ "\220\377\377\377\2\306\306\306'''\202\0\0\0\4\352\352\352\377\377\377" \
+ "\321\321\321KKK\202\0\0\0\1\273\273\273\235\377\377\377\5\310\310\310" \
+ "\11\11\11\0\0\0<<<\351\351\351\204\377\377\377\2\363\363\363iii\202T" \
+ "TT\2\201\201\201\376\376\376\253\377\377\377\3\311\311\311\237\237\237" \
+ "WWW\202\0\0\0\6""333\370\370\370\377\377\377\354\354\354\226\226\226" \
+ "\20\20\20\202\0\0\0\2""777\374\374\374\220\377\377\377\1EEE\202\0\0\0" \
+ "\1\352\352\352\202\377\377\377\1ttt\202\0\0\0\1\273\273\273\234\377\377" \
+ "\377\5\353\353\353\40\40\40\0\0\0UUU\366\366\366\206\377\377\377\2\335" \
+ "\335\335XXX\202TTT\1\276\276\276\255\377\377\377\1\226\226\226\202\0" \
+ "\0\0\1CCC\204\377\377\377\1\255\255\255\203\0\0\0\1\303\303\303\220\377" \
+ "\377\377\1EEE\202\0\0\0\1\352\352\352\202\377\377\377\1ttt\202\0\0\0" \
+ "\1\273\273\273\234\377\377\377\4^^^\0\0\0rrr\376\376\376\210\377\377" \
+ "\377\1\257\257\257\202TTT\2ccc\364\364\364\254\377\377\377\1\226\226" \
+ "\226\202\0\0\0\1CCC\204\377\377\377\2\370\370\370\4\4\4\202\0\0\0\1\266" \
+ "\266\266\204\377\377\377\7\376\376\376\324\324\324\252\252\252\242\242" \
+ "\242\244\244\244\312\312\312\372\372\372\205\377\377\377\1EEE\202\0\0" \
+ "\0\1\352\352\352\202\377\377\377\1ttt\202\0\0\0\1\273\273\273\205\377" \
+ "\377\377\2\356\356\356\267\267\267\202\242\242\242\2\265\265\265\357" \
+ "\357\357\206\377\377\377\10\374\374\374\251\251\251\356\356\356\375\375" \
+ "\375\273\273\273\242\242\242\270\270\270\376\376\376\203\377\377\377" \
+ "\2\307\307\307zzz\202\242\242\242\2\277\277\277\371\371\371\206\377\377" \
+ "\377\2\376\376\376yyy\202TTT\1\245\245\245\254\377\377\377\1\226\226" \
+ "\226\202\0\0\0\1CCC\204\377\377\377\2\314\314\314\1\1\1\202\0\0\0\1\275" \
+ "\275\275\203\377\377\377\2\261\261\261&&&\205\0\0\0\2\33\33\33\234\234" \
+ "\234\204\377\377\377\1EEE\202\0\0\0\1\352\352\352\202\377\377\377\1t" \
+ "tt\202\0\0\0\1\273\273\273\203\377\377\377\3\343\343\343WWW\5\5\5\204" \
+ "\0\0\0\3\6\6\6^^^\355\355\355\203\377\377\377\5\344\344\344PPP\0\0\0" \
+ "\203\203\203444\203\0\0\0\5\200\200\200\377\377\377\361\361\361ooo\13" \
+ "\13\13\204\0\0\0\2\30\30\30\237\237\237\206\377\377\377\5\344\344\344" \
+ "YYYTTTYYY\354\354\354\253\377\377\377\1\226\226\226\202\0\0\0\1CCC\203" \
+ "\377\377\377\2\274\274\274%%%\202\0\0\0\2+++\367\367\367\202\377\377" \
+ "\377\1\214\214\214\202\0\0\0\5@@@\267\267\267\344\344\344\261\261\261" \
+ "000\202\0\0\0\1rrr\203\377\377\377\1EEE\202\0\0\0\1\352\352\352\202\377" \
+ "\377\377\1ttt\202\0\0\0\1\273\273\273\202\377\377\377\17\326\326\326" \
+ "\33\33\33\0\0\0\24\24\24\216\216\216\331\331\331\315\315\315ooo\2\2\2" \
+ "\0\0\0!!!\344\344\344\377\377\377\234\234\234\7\7\7\202\0\0\0\1\3\3\3" \
+ "\204\0\0\0\11PPP\360\360\360666\0\0\0\13\13\13\201\201\201\322\322\322" \
+ "\271\271\271888\202\0\0\0\1\227\227\227\206\377\377\377\1\253\253\253" \
+ "\202TTT\1\234\234\234\253\377\377\377\1\226\226\226\202\0\0\0\4\24\24" \
+ "\24ZZZ\77\77\77\23\23\23\203\0\0\0\2EEE\346\346\346\202\377\377\377\1" \
+ "\265\265\265\202\0\0\0\2BBB\372\372\372\203\377\377\377\2\365\365\365" \
+ ",,,\202\0\0\0\1\247\247\247\202\377\377\377\1EEE\202\0\0\0\1\352\352" \
+ "\352\202\377\377\377\1ttt\202\0\0\0\7\273\273\273\377\377\377\367\367" \
+ "\367&&&\0\0\0\5\5\5\322\322\322\204\377\377\377\1\206\206\206\202\0\0" \
+ "\0\4\77\77\77\377\377\377\252\252\252111\202\0\0\0\12\2\2\2\257\257\257" \
+ "\274\274\274(((\33\33\33\272\272\272FFF\0\0\0\6\6\6\316\316\316\203\377" \
+ "\377\377\5\362\362\362\16\16\16\0\0\0\17\17\17\363\363\363\205\377\377" \
+ "\377\5\371\371\371iiiTTT]]]\362\362\362\252\377\377\377\1\226\226\226" \
+ "\202\0\0\0\1\4\4\4\202\21\21\21\1\5\5\5\203\0\0\0\2\16\16\16\226\226" \
+ "\226\202\377\377\377\1""999\202\0\0\0\1\305\305\305\205\377\377\377\1" \
+ "\255\255\255\202\0\0\0\4***\376\376\376\377\377\377EEE\202\0\0\0\1\352" \
+ "\352\352\202\377\377\377\1ttt\202\0\0\0\3\273\273\273\377\377\377\236" \
+ "\236\236\202\0\0\0\1aaa\205\377\377\377\2\370\370\370\32\32\32\202\0" \
+ "\0\0\3\305\305\305\377\377\377\263\263\263\202\0\0\0\1@@@\204\377\377" \
+ "\377\1\300\300\300\202\0\0\0\1$$$\203{{{\3kkkEEE\1\1\1\202\0\0\0\1\301" \
+ "\301\301\206\377\377\377\1\303\303\303\202TTT\1\261\261\261\252\377\377" \
+ "\377\1\226\226\226\202\0\0\0\1CCC\202\377\377\377\3\367\367\367\312\312" \
+ "\312\\\\\\\202\0\0\0\7\1\1\1\223\223\223\355\355\355\1\1\1\0\0\0\20\20" \
+ "\20\376\376\376\205\377\377\377\2\364\364\364\7\7\7\202\0\0\0\3\345\345" \
+ "\345\377\377\377EEE\202\0\0\0\1\352\352\352\202\377\377\377\1ttt\202" \
+ "\0\0\0\3\273\273\273\377\377\377UUU\202\0\0\0\1\250\250\250\206\377\377" \
+ "\377\1ccc\202\0\0\0\3\177\177\177\377\377\377\263\263\263\202\0\0\0\1" \
+ "xxx\204\377\377\377\1sss\212\0\0\0\2\5\5\5\316\316\316\206\377\377\377" \
+ "\5\376\376\376wwwTTTlll\375\375\375\251\377\377\377\1\226\226\226\202" \
+ "\0\0\0\1CCC\205\377\377\377\1lll\202\0\0\0\2\11\11\11\311\311\311\202" \
+ "\0\0\0\1""555\207\377\377\377\1)))\202\0\0\0\3\303\303\303\377\377\377" \
+ "EEE\202\0\0\0\1\352\352\352\202\377\377\377\1ttt\202\0\0\0\3\273\273" \
+ "\273\377\377\377333\202\0\0\0\1\310\310\310\206\377\377\377\1\216\216" \
+ "\216\202\0\0\0\3^^^\377\377\377\263\263\263\202\0\0\0\1\227\227\227\204" \
+ "\377\377\377\1YYY\202\0\0\0\1\252\252\252\207\356\356\356\1\363\363\363" \
+ "\210\377\377\377\1\314\314\314\202TTT\1\323\323\323\251\377\377\377\1" \
+ "\226\226\226\202\0\0\0\1CCC\205\377\377\377\1\332\332\332\203\0\0\0\1" \
+ "\222\222\222\202\0\0\0\1""000\207\377\377\377\1""555\202\0\0\0\3\301" \
+ "\301\301\377\377\377EEE\202\0\0\0\1\352\352\352\202\377\377\377\1ttt" \
+ "\202\0\0\0\3\273\273\273\377\377\377...\202\0\0\0\1\310\310\310\206\377" \
+ "\377\377\1\243\243\243\202\0\0\0\3YYY\377\377\377\263\263\263\202\0\0" \
+ "\0\1\231\231\231\204\377\377\377\1YYY\202\0\0\0\1\245\245\245\220\377" \
+ "\377\377\4\376\376\376vvvTTT\226\226\226\251\377\377\377\1\226\226\226" \
+ "\202\0\0\0\1CCC\205\377\377\377\2\364\364\364\4\4\4\202\0\0\0\1\231\231" \
+ "\231\202\0\0\0\2\17\17\17\376\376\376\206\377\377\377\1\34\34\34\202" \
+ "\0\0\0\3\332\332\332\377\377\377EEE\202\0\0\0\1\352\352\352\202\377\377" \
+ "\377\1ttt\202\0\0\0\3\273\273\273\377\377\377QQQ\202\0\0\0\1\245\245" \
+ "\245\206\377\377\377\1\200\200\200\202\0\0\0\3uuu\377\377\377\263\263" \
+ "\263\202\0\0\0\1\231\231\231\204\377\377\377\1ccc\202\0\0\0\1ccc\221" \
+ "\377\377\377\4\301\301\301TTT]]]\372\372\372\250\377\377\377\1\226\226" \
+ "\226\202\0\0\0\1CCC\205\377\377\377\1\272\272\272\203\0\0\0\2\277\277" \
+ "\277\"\"\"\202\0\0\0\1\302\302\302\205\377\377\377\1\337\337\337\202" \
+ "\0\0\0\4\31\31\31\375\375\375\377\377\377EEE\202\0\0\0\1\352\352\352" \
+ "\202\377\377\377\1ttt\202\0\0\0\3\273\273\273\377\377\377\205\205\205" \
+ "\202\0\0\0\1]]]\206\377\377\377\1EEE\202\0\0\0\3\261\261\261\377\377" \
+ "\377\263\263\263\202\0\0\0\1\231\231\231\204\377\377\377\1\233\233\233" \
+ "\202\0\0\0\2\15\15\15\342\342\342\205\377\377\377\2\375\375\375\323\323" \
+ "\323\211\377\377\377\4\372\372\372eeeTTT\321\321\321\250\377\377\377" \
+ "\1\220\220\220\202\0\0\0\1""555\204\377\377\377\2\346\346\346111\202" \
+ "\0\0\0\3\32\32\32\370\370\370\215\215\215\202\0\0\0\2CCC\376\376\376" \
+ "\204\377\377\377\1mmm\202\0\0\0\1\203\203\203\202\377\377\377\1EEE\202" \
+ "\0\0\0\1\352\352\352\202\377\377\377\1ttt\202\0\0\0\7\273\273\273\377" \
+ "\377\377\345\345\345\16\16\16\0\0\0\10\10\10\326\326\326\204\377\377" \
+ "\377\7\322\322\322\3\3\3\0\0\0%%%\373\373\373\377\377\377\261\261\261" \
+ "\202\0\0\0\1\224\224\224\204\377\377\377\2\363\363\363\25\25\25\202\0" \
+ "\0\0\2""000\330\330\330\203\377\377\377\4\352\352\352QQQ\0\0\0\332\332" \
+ "\332\211\377\377\377\3\244\244\244TTT\241\241\241\246\377\377\377\3\332" \
+ "\332\332\\\\\\\32\32\32\203\0\0\0\1XXX\202\230\230\230\2hhh\17\17\17" \
+ "\202\0\0\0\5\12\12\12\275\275\275\377\377\377\371\371\371LLL\202\0\0" \
+ "\0\14___\346\346\346\377\377\377\357\357\357}}}\1\1\1\0\0\0DDD\371\371" \
+ "\371\343\343\343\225\225\225\27\27\27\202\0\0\0\4{{{\305\305\305\241" \
+ "\241\241,,,\202\0\0\0\10^^^\301\301\301\377\377\377\240\240\240\1\1\1" \
+ "\0\0\0\"\"\"\276\276\276\202\375\375\375\10\270\270\270\40\40\40\0\0" \
+ "\0\17\17\17\312\312\312\377\377\377\276\276\276KKK\202\0\0\0\3""444\231" \
+ "\231\231\276\276\276\203\377\377\377\2\255\255\255\3\3\3\202\0\0\0\10" \
+ "\3\3\3BBBaaaNNN\14\14\14\0\0\0;;;\373\373\373\211\377\377\377\3\344\344" \
+ "\344UUUttt\246\377\377\377\1\234\234\234\202\0\0\0\1\3\3\3\207\0\0\0" \
+ "\3\1\1\1""888\310\310\310\203\377\377\377\15\370\370\370```\1\1\1\0\0" \
+ "\0\4\4\4\34\34\34\6\6\6\0\0\0\3\3\3ddd\371\371\371\377\377\377}}}\205" \
+ "\0\0\0\1\13\13\13\205\0\0\0\1...\202\377\377\377\2\250\250\250\22\22" \
+ "\22\202\0\0\0\2\26\26\26\21\21\21\202\0\0\0\2///\316\316\316\202\377" \
+ "\377\377\1\13\13\13\205\0\0\0\1%%%\204\377\377\377\2\255\255\255\25\25" \
+ "\25\205\0\0\0\3\2\2\2^^^\364\364\364\213\377\377\377\3vvvUUU\364\364" \
+ "\364\245\377\377\377\10\375\375\375\322\322\322\336\336\336\361\361\361" \
+ "\354\354\354\340\340\340\307\307\307\261\261\261\202\225\225\225\2\253" \
+ "\253\253\333\333\333\207\377\377\377\7\325\325\325\206\206\206___[[[" \
+ "fff\224\224\224\336\336\336\203\377\377\377\7\363\363\363\316\316\316" \
+ "\323\323\323\353\353\353\341\341\341\316\316\316\353\353\353\202\316" \
+ "\316\316\4\353\353\353\346\346\346\316\316\316\344\344\344\203\377\377" \
+ "\377\10\360\360\360\242\242\242iii[[[]]]\200\200\200\277\277\277\375" \
+ "\375\375\203\377\377\377\7\335\335\335\316\316\316\344\344\344\353\353" \
+ "\353\332\332\332\316\316\316\343\343\343\205\377\377\377\7\363\363\363" \
+ "\236\236\236jjj[[[^^^\205\205\205\324\324\324\215\377\377\377\3\257\257" \
+ "\257TTT\320\320\320\375\377\377\377\3\347\347\347TTT\257\257\257\375" \
+ "\377\377\377\3\376\376\376kkk\225\225\225\376\377\377\377\2\226\226\226" \
+ "|||\376\377\377\377\2\277\277\277sss\300\377\377\377\3\354\354\354\321" \
+ "\321\321\346\346\346\227\377\377\377\3\271\271\271\253\253\253\351\351" \
+ "\351\241\377\377\377\2\376\376\376\372\372\372\300\377\377\377\3\240" \
+ "\240\240TTT\210\210\210\227\377\377\377\3cccTTT\305\305\305\343\377\377" \
+ "\377\3\240\240\240TTT\210\210\210\227\377\377\377\3cccTTT\305\305\305" \
+ "\343\377\377\377\3\240\240\240TTT\210\210\210\213\377\377\377\2\366\366" \
+ "\366\364\364\364\212\377\377\377\3cccTTT\305\305\305\211\377\377\377" \
+ "\2\374\374\374\357\357\357\217\377\377\377\2\372\372\372\360\360\360" \
+ "\216\377\377\377\2\373\373\373\360\360\360\217\377\377\377\2\365\365" \
+ "\365\370\370\370\205\377\377\377\2\364\364\364\370\370\370\235\377\377" \
+ "\377\7\327\327\327}}}fffTTTaaa}}}\231\231\231\206\377\377\377\3\356\356" \
+ "\356\231\231\231```\202UUU\3]]]\217\217\217\345\345\345\207\377\377\377" \
+ "\3cccTTT\305\305\305\206\377\377\377\10\371\371\371\256\256\256kkkUU" \
+ "UTTTYYY|||\314\314\314\211\377\377\377\11\355\355\355\235\235\235ggg" \
+ "UUUTTTWWW{{{\273\273\273\374\374\374\207\377\377\377\10\374\374\374\261" \
+ "\261\261oooUUUTTTXXX~~~\316\316\316\207\377\377\377\5\315\315\315}}}" \
+ "\230\230\230\257\257\257eee\202UUU\5xxx\332\332\332\376\376\376\267\267" \
+ "\267ggg\202UUU\2uuu\324\324\324\233\377\377\377\1\303\303\303\205TTT" \
+ "\1rrr\205\377\377\377\2\344\344\344eee\206TTT\2\\\\\\\311\311\311\206" \
+ "\377\377\377\3cccTTT\305\305\305\205\377\377\377\2\366\366\366zzz\207" \
+ "TTT\1\254\254\254\207\377\377\377\2\321\321\321___\203TTT\1YYY\203TT" \
+ "T\2\200\200\200\370\370\370\205\377\377\377\2\367\367\367~~~\206TTT\3" \
+ "UUU\243\243\243\376\376\376\205\377\377\377\1\265\265\265\207TTT\2\\" \
+ "\\\\\210\210\210\205TTT\2YYY\340\340\340\232\377\377\377\7\372\372\372" \
+ "\344\344\344\224\224\224TTT\200\200\200\344\344\344\356\356\356\204\377" \
+ "\377\377\14\365\365\365gggTTTaaa\267\267\267\354\354\354\360\360\360" \
+ "\275\275\275iiiTTT]]]\351\351\351\205\377\377\377\3cccTTT\305\305\305" \
+ "\205\377\377\377\10\220\220\220TTTUUU\236\236\236\340\340\340\363\363" \
+ "\363\321\321\321\177\177\177\202TTT\1\277\277\277\205\377\377\377\14" \
+ "\350\350\350\\\\\\TTTiii\300\300\300\360\360\360\372\372\372\337\337" \
+ "\337\230\230\230UUUTTT\263\263\263\205\377\377\377\10\210\210\210TTT" \
+ "UUU\230\230\230\337\337\337\364\364\364\316\316\316zzz\202TTT\1\276\276" \
+ "\276\205\377\377\377\1\265\265\265\202TTT\5aaa\301\301\301\360\360\360" \
+ "\316\316\316```\202TTT\7```\276\276\276\362\362\362\323\323\323gggTT" \
+ "T\225\225\225\234\377\377\377\3\240\240\240TTT\210\210\210\206\377\377" \
+ "\377\4\262\262\262TTTUUU\325\325\325\204\372\372\372\4\351\351\351^^" \
+ "^TTT\234\234\234\205\377\377\377\3cccTTT\305\305\305\204\377\377\377" \
+ "\4\341\341\341UUUTTT\250\250\250\204\372\372\372\4\367\367\367}}}TTT" \
+ "iii\205\377\377\377\4\225\225\225TTTccc\357\357\357\205\377\377\377\3" \
+ "\305\305\305\261\261\261\372\372\372\204\377\377\377\4\335\335\335UU" \
+ "UTTT\251\251\251\204\377\377\377\5\373\373\373|||TTTggg\374\374\374\204" \
+ "\377\377\377\1\265\265\265\202TTT\1\313\313\313\203\377\377\377\1\240" \
+ "\240\240\202TTT\1\307\307\307\203\377\377\377\3\251\251\251TTTvvv\234" \
+ "\377\377\377\3\240\240\240TTT\210\210\210\206\377\377\377\1\212\212\212" \
+ "\212TTT\1xxx\205\377\377\377\3cccTTT\305\305\305\204\377\377\377\1\270" \
+ "\270\270\212TTT\2UUU\362\362\362\204\377\377\377\3fffTTT\253\253\253" \
+ "\215\377\377\377\4\261\261\261TTTaaa\372\372\372\205\377\377\377\1\322" \
+ "\322\322\202TTT\1\346\346\346\204\377\377\377\4\265\265\265TTT]]]\375" \
+ "\375\375\203\377\377\377\4\265\265\265TTTZZZ\374\374\374\203\377\377" \
+ "\377\3\277\277\277TTTiii\234\377\377\377\3\240\240\240TTT\210\210\210" \
+ "\206\377\377\377\3|||TTT[[[\210fff\1\213\213\213\205\377\377\377\3cc" \
+ "cTTT\305\305\305\204\377\377\377\3\254\254\254TTTVVV\210fff\2iii\364" \
+ "\364\364\204\377\377\377\3\\\\\\TTT\306\306\306\215\377\377\377\3\244" \
+ "\244\244TTTvvv\206\377\377\377\1\357\357\357\202TTT\1\342\342\342\204" \
+ "\377\377\377\3\265\265\265TTTttt\204\377\377\377\3\303\303\303TTTiii" \
+ "\204\377\377\377\3\277\277\277TTTiii\234\377\377\377\3\240\240\240TT" \
+ "T\210\210\210\206\377\377\377\3\220\220\220TTT}}}\206\377\377\377\3\333" \
+ "\333\333\311\311\311\375\375\375\205\377\377\377\3cccTTT\305\305\305" \
+ "\204\377\377\377\4\301\301\301TTTYYY\364\364\364\205\377\377\377\3\352" \
+ "\352\352\273\273\273\365\365\365\205\377\377\377\3hhhTTT\226\226\226" \
+ "\215\377\377\377\4\271\271\271TTT[[[\366\366\366\205\377\377\377\1\307" \
+ "\307\307\202TTT\1\353\353\353\204\377\377\377\3\265\265\265TTTttt\204" \
+ "\377\377\377\3\303\303\303TTTxxx\204\377\377\377\3\277\277\277TTTiii" \
+ "\234\377\377\377\3\240\240\240TTT\210\210\210\206\377\377\377\4\301\301" \
+ "\301TTTUUU\307\307\307\204\377\377\377\4\340\340\340]]]TTT\271\271\271" \
+ "\205\377\377\377\3cccTTT\305\305\305\204\377\377\377\5\357\357\357YY" \
+ "YTTT\232\232\232\376\376\376\203\377\377\377\4\366\366\366zzzTTT\206" \
+ "\206\206\205\377\377\377\4\236\236\236TTTXXX\317\317\317\204\377\377" \
+ "\377\4\372\372\372\221\221\221\206\206\206\352\352\352\204\377\377\377" \
+ "\5\352\352\352WWWTTT\227\227\227\376\376\376\203\377\377\377\4\364\364" \
+ "\364mmmTTTvvv\205\377\377\377\3\265\265\265TTTttt\204\377\377\377\3\303" \
+ "\303\303TTTxxx\204\377\377\377\3\277\277\277TTTiii\234\377\377\377\3" \
+ "\240\240\240TTT\210\210\210\206\377\377\377\14\376\376\376\200\200\200" \
+ "TTTWWW\224\224\224\312\312\312\310\310\310\232\232\232ZZZTTTddd\354\354" \
+ "\354\205\377\377\377\3cccTTT\305\305\305\205\377\377\377\1\255\255\255" \
+ "\202TTT\10|||\277\277\277\315\315\315\252\252\252hhhTTTVVV\314\314\314" \
+ "\205\377\377\377\14\362\362\362jjjTTTVVV\220\220\220\305\305\305\317" \
+ "\317\317\257\257\257lllTTTUUU\301\301\301\205\377\377\377\1\250\250\250" \
+ "\202TTT\10|||\275\275\275\317\317\317\255\255\255eeeTTTWWW\331\331\331" \
+ "\205\377\377\377\3\265\265\265TTTttt\204\377\377\377\3\303\303\303TT" \
+ "Txxx\204\377\377\377\3\277\277\277TTTiii\234\377\377\377\3\240\240\240" \
+ "TTT\210\210\210\207\377\377\377\2\366\366\366~~~\206TTT\2iii\343\343" \
+ "\343\206\377\377\377\3cccTTT\305\305\305\205\377\377\377\3\375\375\375" \
+ "\234\234\234UUU\205TTT\2ZZZ\300\300\300\207\377\377\377\2\352\352\352" \
+ "ttt\206TTT\2YYY\263\263\263\206\377\377\377\3\376\376\376\242\242\242" \
+ "UUU\205TTT\2^^^\312\312\312\206\377\377\377\3\265\265\265TTTttt\204\377" \
+ "\377\377\3\303\303\303TTTxxx\204\377\377\377\3\277\277\277TTTiii\234" \
+ "\377\377\377\3\323\323\323\244\244\244\307\307\307\210\377\377\377\3" \
+ "\374\374\374\303\303\303\216\216\216\202~~~\3\207\207\207\267\267\267" \
+ "\366\366\366\207\377\377\377\3\263\263\263\244\244\244\347\347\347\207" \
+ "\377\377\377\2\331\331\331\232\232\232\202~~~\3\204\204\204\245\245\245" \
+ "\354\354\354\211\377\377\377\3\373\373\373\301\301\301\221\221\221\202" \
+ "~~~\3\206\206\206\250\250\250\347\347\347\211\377\377\377\2\331\331\331" \
+ "\234\234\234\202~~~\3\204\204\204\252\252\252\356\356\356\207\377\377" \
+ "\377\3\336\336\336\244\244\244\274\274\274\204\377\377\377\3\346\346" \
+ "\346\244\244\244\276\276\276\204\377\377\377\3\344\344\344\244\244\244" \
+ "\266\266\266\377\377\377\377\377\377\377\377\377\377\377\377\377\377" \
+ "\377\377\205\377\377\377")
diff --git a/packages/psplash/files/psplash_1bpp.patch b/packages/psplash/files/psplash_1bpp.patch
deleted file mode 100644
index 3fcc0f7947..0000000000
--- a/packages/psplash/files/psplash_1bpp.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -urN psplash.orig/psplash-fb.c psplash/psplash-fb.c
---- psplash.orig/psplash-fb.c 2007-08-29 20:27:49.000000000 +0200
-+++ psplash/psplash-fb.c 2009-01-14 19:14:15.000000000 +0100
-@@ -62,7 +62,7 @@
- goto fail;
- }
-
-- if (fb_var.bits_per_pixel < 16)
-+ if (fb_var.bits_per_pixel != 1 && fb_var.bits_per_pixel < 16)
- {
- fprintf(stderr,
- "Error, no support currently for %i bpp frame buffers\n",
-@@ -143,7 +143,7 @@
- return NULL;
- }
-
--#define OFFSET(fb,x,y) (((y) * (fb)->stride) + ((x) * ((fb)->bpp >> 3)))
-+#define OFFSET(fb,x,y) (((fb)->bpp == 1) ? (((y) * ((fb)->stride << 3)) + (x)) : (((y) * (fb)->stride) + ((x) * ((fb)->bpp >> 3))))
-
- inline void
- psplash_fb_plot_pixel (PSplashFB *fb,
-@@ -188,6 +188,12 @@
- *(volatile uint16 *) (fb->data + off)
- = ((red >> 3) << 11) | ((green >> 2) << 5) | (blue >> 3);
- break;
-+ case 1:
-+ if (((11*red + 16*green + 5*blue) >> 5) >= 128)
-+ *(fb->data + (off >> 3)) |= (1 << (7 - (off & 0x07)));
-+ else
-+ *(fb->data + (off >> 3)) &= ~(1 << (7 - (off & 0x07)));
-+ break;
- default:
- /* depth not supported yet */
- break;
diff --git a/packages/psplash/files/psplash_grayscale.patch b/packages/psplash/files/psplash_grayscale.patch
new file mode 100644
index 0000000000..8f42369300
--- /dev/null
+++ b/packages/psplash/files/psplash_grayscale.patch
@@ -0,0 +1,83 @@
+diff -urN psplash.orig/psplash-fb.c psplash/psplash-fb.c
+--- psplash.orig/psplash-fb.c 2007-08-29 20:27:49.000000000 +0200
++++ psplash/psplash-fb.c 2009-01-15 18:42:11.000000000 +0100
+@@ -62,7 +62,8 @@
+ goto fail;
+ }
+
+- if (fb_var.bits_per_pixel < 16)
++ if (fb_var.bits_per_pixel != 1 && fb_var.bits_per_pixel != 2
++ && fb_var.bits_per_pixel < 16)
+ {
+ fprintf(stderr,
+ "Error, no support currently for %i bpp frame buffers\n",
+@@ -143,7 +144,18 @@
+ return NULL;
+ }
+
+-#define OFFSET(fb,x,y) (((y) * (fb)->stride) + ((x) * ((fb)->bpp >> 3)))
++static inline int
++psplash_fb_offset(PSplashFB *fb, int x, int y)
++{
++ switch (fb->bpp)
++ {
++ /* pixel offset */
++ case 2: return (y * (fb->stride << 2)) + x;
++ case 1: return (y * (fb->stride << 3)) + x;
++ /* byte offset */
++ default: return (y * fb->stride) + (x * (fb->bpp >> 3));
++ }
++}
+
+ inline void
+ psplash_fb_plot_pixel (PSplashFB *fb,
+@@ -153,7 +165,7 @@
+ uint8 green,
+ uint8 blue)
+ {
+- int off;
++ int off, shift;
+
+ if (x < 0 || x > fb->width-1 || y < 0 || y > fb->height-1)
+ return;
+@@ -161,17 +173,17 @@
+ switch (fb->angle)
+ {
+ case 270:
+- off = OFFSET (fb, fb->height - y - 1, x);
++ off = psplash_fb_offset (fb, fb->height - y - 1, x);
+ break;
+ case 180:
+- off = OFFSET (fb, fb->width - x - 1, fb->height - y - 1);
++ off = psplash_fb_offset (fb, fb->width - x - 1, fb->height - y - 1);
+ break;
+ case 90:
+- off = OFFSET (fb, y, fb->width - x - 1);
++ off = psplash_fb_offset (fb, y, fb->width - x - 1);
+ break;
+ case 0:
+ default:
+- off = OFFSET (fb, x, y);
++ off = psplash_fb_offset (fb, x, y);
+ break;
+ }
+
+@@ -188,6 +200,18 @@
+ *(volatile uint16 *) (fb->data + off)
+ = ((red >> 3) << 11) | ((green >> 2) << 5) | (blue >> 3);
+ break;
++ case 2:
++ shift = (3 - (off & 3)) << 1;
++ *(fb->data + (off >> 2)) = (*(fb->data + (off >> 2)) & ~(3 << shift))
++ | (((11*red + 16*green + 5*blue) >> 11) << shift);
++ break;
++ case 1:
++ shift = 7 - (off & 7);
++ if (((11*red + 16*green + 5*blue) >> 5) >= 128)
++ *(fb->data + (off >> 3)) |= (1 << shift);
++ else
++ *(fb->data + (off >> 3)) &= ~(1 << shift);
++ break;
+ default:
+ /* depth not supported yet */
+ break;
diff --git a/packages/psplash/psplash_svn.bb b/packages/psplash/psplash_svn.bb
index 7c4d0a0dec..7e0d7c6177 100644
--- a/packages/psplash/psplash_svn.bb
+++ b/packages/psplash/psplash_svn.bb
@@ -3,7 +3,7 @@ require psplash-ua.inc
ALTERNATIVE_PRIORITY = "10"
-PR = "r15"
+PR = "r16"
SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \
file://psplash-hand-img.h \
@@ -15,5 +15,5 @@ S = "${WORKDIR}/psplash"
# This really should be default, but due yo openmoko hack below, can't be easily
SRC_URI_append_angstrom = " file://logo-math.patch;patch=1 "
SRC_URI_append_openmoko = " file://configurability.patch;patch=1 "
-SRC_URI_append_boc01 = " file://psplash_1bpp.patch;patch=1 "
+SRC_URI_append_boc01 = " file://psplash_grayscale.patch;patch=1 "