diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2008-01-16 01:22:56 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2008-01-16 01:22:56 +0000 |
| commit | 0c7f2372d5887f6a1e9d76f04cd4ddbd1b5e402b (patch) | |
| tree | 2dac505f17d2ec7a8fb63b8f1009f4c385b10ab1 /apps/plugins/mpegplayer/mpeg2dec_config.h | |
| parent | 74d61058dcaf1c0d036a708fd3fcdc35139a1fab (diff) | |
| download | rockbox-0c7f2372d5887f6a1e9d76f04cd4ddbd1b5e402b.zip rockbox-0c7f2372d5887f6a1e9d76f04cd4ddbd1b5e402b.tar.gz rockbox-0c7f2372d5887f6a1e9d76f04cd4ddbd1b5e402b.tar.bz2 rockbox-0c7f2372d5887f6a1e9d76f04cd4ddbd1b5e402b.tar.xz | |
libmpeg2: Decode only Y on grayscale targets. The chroma skip code is probably less than optimal since it's basically the decoding code with minimum reading of the bitstream but it does the trick for now and gets some more FPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16093 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg2dec_config.h')
| -rw-r--r-- | apps/plugins/mpegplayer/mpeg2dec_config.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpeg2dec_config.h b/apps/plugins/mpegplayer/mpeg2dec_config.h index b8ad116..dff19e6 100644 --- a/apps/plugins/mpegplayer/mpeg2dec_config.h +++ b/apps/plugins/mpegplayer/mpeg2dec_config.h @@ -1,2 +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 */ |