1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2008-01-11 00:46:09 +00:00
parent 59f0e7023c
commit 753b65737f
7 changed files with 9 additions and 96 deletions

View file

@ -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"