Rockbox

Tasklist

FS#5816 - X5 lcd_yuv_blit ASM

Attached to Project: Rockbox
Opened by Michael Sevakis (MikeS) - Tuesday, 15 August 2006, 09:21 GMT
Task Type Patches
Category Video
Status Closed
Assigned To No-one
Operating System iAudio X5
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Adds ASM routines to lvd_yuv_blit to help with speed yielding a scorching 15.1 fps on the test video. One variant ran 15.3 but would've been way too large considering the .2 fps advantage. I'm sure there's not much more to improve in this regard and the codec is the next place to look for speed.
This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Wednesday, 16 August 2006, 05:19 GMT
Reason for closing:  Accepted
Comment by Michael Sevakis (MikeS) - Tuesday, 15 August 2006, 09:53 GMT
I'll post the faster/larger one shortly and you can use it if you think it's ok to do that.
Comment by Michael Sevakis (MikeS) - Tuesday, 15 August 2006, 11:34 GMT
x5-as-lcd_yuv_blit-faster.patch.txt contains the code that reaches the mind-warping 15.3 fps.

x5-as-lcd_yuv_blit.patch.txt has a modification to the original patch because it saved a register to the stack that it didn't have to.
Comment by Michael Sevakis (MikeS) - Tuesday, 15 August 2006, 11:59 GMT
I'm going to reality check moving the outer C code out of IRAM and leaving the high-speed ASM loops in IRAM. Results forthcoming...
Comment by Michael Sevakis (MikeS) - Tuesday, 15 August 2006, 12:20 GMT
There was absolutely no advantage anymore to having the frontend lcd functions in IRAM anymore. The main lcd functions ran at the same speed and lcd_yuv_blit even went to 15.4fps! Now there should be room for the faster incarnation. Here it is with relevant changes.

Loading...