diff options
author | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-09 19:59:31 +0000 |
---|---|---|
committer | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-09 19:59:31 +0000 |
commit | 447dea0d8e1c0b0990b70ec8eff0597718c1aaf3 (patch) | |
tree | 90ec090cd1aa0fb8becadd885f43ee60160f4186 /src/itdb_device.h | |
parent | 69a7740761b910d3d1286e017b164979a8977884 (diff) | |
download | libgpod-447dea0d8e1c0b0990b70ec8eff0597718c1aaf3.tar.gz libgpod-447dea0d8e1c0b0990b70ec8eff0597718c1aaf3.tar.xz libgpod-447dea0d8e1c0b0990b70ec8eff0597718c1aaf3.zip |
* src/itdb_device.c:
* src/itdb_device.h:
* src/itdb_sysinfo_extended_parser.c:
* src/itdb_sysinfo_extended_parser.h: merge Itdb_ArtworkFormat and
SysInfoImageFormat, use artwork formats from SysInfoExtended when
it's available instead of using the hardcoded tables from libgpod
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2011 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_device.h')
-rw-r--r-- | src/itdb_device.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/src/itdb_device.h b/src/itdb_device.h index 2d733a4..4152f28 100644 --- a/src/itdb_device.h +++ b/src/itdb_device.h @@ -94,16 +94,23 @@ struct _Itdb_Device }; -struct _Itdb_ArtworkFormat -{ - gint16 width; - gint16 height; - gint16 format_id; - ItdbThumbFormat format; - gint32 padding; - /* If true, crop the artwork to completely fill the target size, - rather than leaving empty bars on the top or sides. */ - gboolean crop; +struct _Itdb_ArtworkFormat { + gint16 format_id; + gint16 width; + gint16 height; + ItdbThumbFormat format; + gint32 padding; /* not found in SysInfoExtended, added + * for compatibility with hardcoded artwork formats */ + gboolean crop; + gint rotation; + guint back_color; + + gint display_width; + gboolean interlaced; + gboolean align_row_bytes; + gint color_adjustment; + gdouble gamma; + gint associated_format; }; G_GNUC_INTERNAL GList *itdb_device_get_photo_formats (const Itdb_Device *device); |