From 32bd0f8ab1526e32011937a827b6e44476a6743e Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 4 Apr 2008 22:13:53 +0000 Subject: Greyscale library: Optionally put the greyscale ISR on COP on portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mpegplayer/stream_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/mpegplayer/stream_mgr.c') diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c index b962c5b..778ed0d 100644 --- a/apps/plugins/mpegplayer/stream_mgr.c +++ b/apps/plugins/mpegplayer/stream_mgr.c @@ -1005,7 +1005,7 @@ int stream_init(void) graymem = mem; #endif - success = grey_init(rb, graymem, memsize, GREY_BUFFERED, + success = grey_init(rb, graymem, memsize, GREY_BUFFERED|GREY_ON_COP, LCD_WIDTH, LCD_HEIGHT, &graysize); /* This can run on another processor - align size */ -- cgit v1.1