summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-01-11 00:46:09 +0000
committerJens Arnold <amiconn@rockbox.org>2008-01-11 00:46:09 +0000
commit753b65737f65296914bcf5055f82272af3ef2e65 (patch)
treeff1417794385a6fc675b4692ac9ed989fa45d67b /apps/plugins/mpegplayer/mpegplayer.h
parent59f0e7023c86e64db4e6d95aa501ea5a48a35cdf (diff)
downloadrockbox-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.h19
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"