diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-01-11 00:46:09 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-01-11 00:46:09 +0000 |
| commit | 753b65737f65296914bcf5055f82272af3ef2e65 (patch) | |
| tree | ff1417794385a6fc675b4692ac9ed989fa45d67b /apps/plugins/mpegplayer/mpegplayer.h | |
| parent | 59f0e7023c86e64db4e6d95aa501ea5a48a35cdf (diff) | |
| download | rockbox-753b65737f65296914bcf5055f82272af3ef2e65.zip rockbox-753b65737f65296914bcf5055f82272af3ef2e65.tar.gz rockbox-753b65737f65296914bcf5055f82272af3ef2e65.tar.bz2 rockbox-753b65737f65296914bcf5055f82272af3ef2e65.tar.xz | |
Greyscale mpegplayer: * Use uncached greyscale buffers on dual core targets, removing the need for special cache handling. * Make the OSD properly disappear when viewing a widescreen or small video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16052 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.h')
| -rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.h b/apps/plugins/mpegplayer/mpegplayer.h index 01ab9bd..11bc1ea 100644 --- a/apps/plugins/mpegplayer/mpegplayer.h +++ b/apps/plugins/mpegplayer/mpegplayer.h @@ -89,25 +89,6 @@ enum mpeg_malloc_reason_t #define DRAW_WHITE GREY_WHITE #define lcd_(fn) grey_##fn -#if defined(CPU_PP) && NUM_CORES > 1 -#define GRAY_FLUSH_ICACHE() \ - IF_COP(flush_icache()) -#define GRAY_INVALIDATE_ICACHE() \ - IF_COP(invalidate_icache()) -#define GRAY_VIDEO_FLUSH_ICACHE() \ - IF_COP(parser_send_video_msg(VIDEO_GRAY_CACHEOP, 0)) -#define GRAY_VIDEO_INVALIDATE_ICACHE() \ - IF_COP(parser_send_video_msg(VIDEO_GRAY_CACHEOP, 1)) - -#define GRAY_CACHE_MAINT -#endif -#endif - -#ifndef GRAY_CACHE_MAINT -#define GRAY_FLUSH_ICACHE() -#define GRAY_INVALIDATE_ICACHE() -#define GRAY_VIDEO_FLUSH_ICACHE() -#define GRAY_VIDEO_INVALIDATE_ICACHE() #endif #include "mpeg2.h" |