summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mpegplayer/libmpeg2/mpeg2dec_config.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-02-22 21:44:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-02-22 21:44:15 +0000
commit652463ecc0085c9e04da17631aa1fdb2703eee80 (patch)
treea05cac6777f599f0e8cabc2306e4f3af69428254 /apps/plugins/mpegplayer/libmpeg2/mpeg2dec_config.h
parentec6e64ce9011281e6ecbbc0d93b91ce4db2f42dc (diff)
downloadrockbox-652463ecc0085c9e04da17631aa1fdb2703eee80.tar.gz
rockbox-652463ecc0085c9e04da17631aa1fdb2703eee80.tar.bz2
rockbox-652463ecc0085c9e04da17631aa1fdb2703eee80.zip
mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29381 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/libmpeg2/mpeg2dec_config.h')
-rw-r--r--apps/plugins/mpegplayer/libmpeg2/mpeg2dec_config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/libmpeg2/mpeg2dec_config.h b/apps/plugins/mpegplayer/libmpeg2/mpeg2dec_config.h
new file mode 100644
index 0000000000..c34ee374df
--- /dev/null
+++ b/apps/plugins/mpegplayer/libmpeg2/mpeg2dec_config.h
@@ -0,0 +1,15 @@
+/* $Id$ */
+#ifndef MPEG2DEC_CONFIG_H
+#define MPEG2DEC_CONFIG_H
+
+#define ATTRIBUTE_ALIGNED_MAX 16
+
+#ifdef HAVE_LCD_COLOR
+#define MPEG2_COLOR 1
+#define MPEG2_COMPONENTS 3
+#else
+#define MPEG2_COLOR 0
+#define MPEG2_COMPONENTS 1
+#endif
+
+#endif /* MPEG2DEC_CONFIG_H */