summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-01-13 14:41:29 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-01-13 14:41:29 +0000
commit738a5643ad3248ee9fb9fc47134160681a19068c (patch)
treeb3d329d0a47431e81382e9a9f95b5adccf3811b2 /firmware/export/config.h
parent2fbf09752d385af861279af195d68f920859202d (diff)
downloadrockbox-738a5643ad3248ee9fb9fc47134160681a19068c.tar.gz
rockbox-738a5643ad3248ee9fb9fc47134160681a19068c.zip
support pixel aspect ratio compensation in recalc_dimension, with PAR defined as 1:1 by default, and set to 4:5 for archos bitmap targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19759 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 9bc6c7c775..15b137588e 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -379,6 +379,16 @@
379#endif 379#endif
380#endif 380#endif
381 381
382/* Pixel aspect ratio is defined in terms of a multiplier for pixel width and
383 * height, and is set to 1:1 if the target does not set a value
384 */
385#ifndef LCD_PIXEL_ASPECT_HEIGHT
386#define LCD_PIXEL_ASPECT_HEIGHT 1
387#endif
388#ifndef LCD_PIXEL_ASPECT_WIDTH
389#define LCD_PIXEL_ASPECT_WIDTH 1
390#endif
391
382/* define this in the target config.h to use a different size */ 392/* define this in the target config.h to use a different size */
383#ifndef CONFIG_DEFAULT_ICON_HEIGHT 393#ifndef CONFIG_DEFAULT_ICON_HEIGHT
384#define CONFIG_DEFAULT_ICON_HEIGHT 8 394#define CONFIG_DEFAULT_ICON_HEIGHT 8