summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/alloc.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-01-16 01:22:56 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-01-16 01:22:56 +0000
commit0c7f2372d5887f6a1e9d76f04cd4ddbd1b5e402b (patch)
tree2dac505f17d2ec7a8fb63b8f1009f4c385b10ab1 /apps/plugins/mpegplayer/alloc.c
parent74d61058dcaf1c0d036a708fd3fcdc35139a1fab (diff)
downloadrockbox-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/alloc.c')
-rw-r--r--apps/plugins/mpegplayer/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c
index 1ff75d4..f6661d4 100644
--- a/apps/plugins/mpegplayer/alloc.c
+++ b/apps/plugins/mpegplayer/alloc.c
@@ -144,7 +144,7 @@ bool mpeg_alloc_init(unsigned char *buf, size_t mallocsize)
return false;
}
- IF_COP(flush_icache());
+ IF_COP(invalidate_icache());
return true;
}