This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7763 - Speed up of video rendering for iPOD Video
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Wednesday, 12 September 2007, 18:05 GMT+2
Last edited by Thom Johansen (preglow) - Friday, 28 September 2007, 13:25 GMT+2
Opened by Andree Buschmann (Buschel) - Wednesday, 12 September 2007, 18:05 GMT+2
Last edited by Thom Johansen (preglow) - Friday, 28 September 2007, 13:25 GMT+2
|
DetailsSpeeding up the lcd_yuv_blit()-function for iPOD Video. Measured with "elephants dream" the fps has gone up from 9.1 to 9.9 fps.
|
This task depends upon
Closed by Thom Johansen (preglow)
Friday, 28 September 2007, 13:25 GMT+2
Reason for closing: Accepted
Friday, 28 September 2007, 13:25 GMT+2
Reason for closing: Accepted
- saved 4 multiplies and 2 substraction
- saved 3 variables
- simplified range-limitation (added 4 shift through this)
Changes:
- took over conversion parameters from sansa/gigabeat; these look more reasonable than the former ones
- added some documentation about conversion and constants
- split range-check of RB- and G-components to save 4 shifts (this is faster than only one check with additional shifts)
Bugfix:
- in the former code (also in trunk!) the "-16" in the operation (Y'-16) * RGBYFAC was missing
- in trunk code an allowed value (up to 0x3f) of the green component would always lead to boundary check of all components
Keep up the good work all these little tweaks add up and help to make the iPod ports just that little bit nicer :)