Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Patch to increase lcd speed on the ipod video.

Patch to increase lcd speed on the ipod video.

From: <postmaster_at_diffenbach.org>
Date: Fri, 26 May 2006 01:58:45 -0400

Patch to increase lcd speed on the ipod video.

Decreases runtime of lcd_update_rect by an average of 0.1 ticks per
call, or 1 millisecond; and up to three milliseconds max. This
increases the maximum frame rate by about one to one-and-one-half
frames per second.

Using the test_fps plugin, the results for the unmodified code, on my
ipod, are:
1/1 21.5 fps, 1/4 44.5 fps, with CPU at 30MHz
1/1 37.0 fps, 1/4 57.0 fps, with CPU at 75MHz

With this patch, my results are:
1/1 22.5 fps, 1/4 46.0 fps, with CPU at 30MHz
1/1 38.5 fps, 1/4 58.0 fps, with CPU at 75MHz

The patch uses Duff's Device to unroll a loop.

Patch can be found here: http://www.rockbox.org/tracker/task/5432
Received on 2006-05-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy