summaryrefslogtreecommitdiffstats
path: root/src/itdb_device.c
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2007-10-27 13:11:35 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2007-10-27 13:11:35 +0000
commit995be247dc8e35a5139a30c830dcf586a5bf7675 (patch)
tree08fb6aa2409bce45fd4c2eae12d701c86b1cd03a /src/itdb_device.c
parentc1c0138d5f2386c8afdeee6b88bb6258710e8203 (diff)
downloadlibgpod-995be247dc8e35a5139a30c830dcf586a5bf7675.tar.gz
libgpod-995be247dc8e35a5139a30c830dcf586a5bf7675.tar.xz
libgpod-995be247dc8e35a5139a30c830dcf586a5bf7675.zip
* src/itdb_device.c (ipod_classic_1_artwork_info)
src/ithumb-writer.c (pack_RGB_888, pack_RGB_565, pack_RGB_555, pack_rec_RGB_555, ithumb_writer_write_thumbnail) src/db-image-parser.h (_888 definitions) src/itdb_device.h (RGB888 thumb format enum definitions) src/itdb_artwork.c (unpack_RGB_888, unpack_experimental, itdb_thumb_get_rgb_data) Partial support for photos on new iPod Nano 3G and iPod Classics. Photos should be displayed correctly on the iPod but the video output will show garbage (couldn't try video output per se, but from the data iTunes produces this is clear). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1741 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_device.c')
-rw-r--r--src/itdb_device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/itdb_device.c b/src/itdb_device.c
index d6ace10..13d6d11 100644
--- a/src/itdb_device.c
+++ b/src/itdb_device.c
@@ -314,9 +314,10 @@ static const Itdb_ArtworkFormat ipod_classic_1_artwork_info[] = {
{ITDB_THUMB_COVER_XLARGE, 320, 320, 1060, THUMB_FORMAT_RGB565_LE},
/* not sure if the THUMB_FORMAT is correct */
- {ITDB_THUMB_PHOTO_TV_SCREEN, 720, 480, 1067, THUMB_FORMAT_UYVY_BE},
+/* {ITDB_THUMB_PHOTO_TV_SCREEN, 720, 480, 1067, THUMB_FORMAT_UYVY_BE},*/
+ {ITDB_THUMB_PHOTO_TV_SCREEN, 720, 480, 1067, THUMB_FORMAT_RGB565_BE},
/* not sure if the THUMB_FORMAT is correct */
- {ITDB_THUMB_PHOTO_FULL_SCREEN,320, 240, 1064, THUMB_FORMAT_RGB565_LE},
+ {ITDB_THUMB_PHOTO_FULL_SCREEN,320, 240, 1064, THUMB_FORMAT_RGB888_LE},
{ITDB_THUMB_PHOTO_SMALL, 64, 64, 1066, THUMB_FORMAT_RGB565_LE},
/* These are the same as for the iPod video... -- labeled by the iPod as
"chapter images" */