Commit graph

27300 commits

Author SHA1 Message Date
Teruaki Kawashima
e5b1a7d423 FS#6321: Universal Image Viewer
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 13:47:56 +00:00
Andree Buschmann
eef21cb18a Change alignment macros to allow further performance optimization. Define the CACHEALIGN macros for all ARM CPUs, the used alignment size is derived from CACHEALIGN_BITS which has been defined for each supported ARM CPU with r28619. The default alignment size for ARM is set to 32 bytes as new -- not yet supported -- ARM CPUs will most probably need this alignment. To be able to differ between ARM and other CPUs a new macro called MEM_ALIGN_ATTR is introduced. This equals CACHEALIGN_ATTR for ARM, 16 byte alignment for Coldfire and is kept empty for other CPUs. MEM_ALIGN_ATTR is available system wide. From measurements it is expected that the usage of MEM_ALIGN_ATTR can give significant performance gain on ARM11 CPUs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28625 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 12:27:01 +00:00
Michael Giacomelli
f54cbfa164 Commit first part of FS#11235 by Buschel and I. Improves scheduling on arm9 for two filter macros in libmad that are almost never called. A larger speed up will be possible when the remaining ASM code is improved.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28624 a1c6a512-1295-4272-9138-f99709370657
2010-11-20 19:06:05 +00:00
Teruaki Kawashima
ee6b0dae96 rockpaint: cache font preview when browsing fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28623 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 12:54:03 +00:00
Alex Parker
579a7ebcf9 Forgot this very minor tweak.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28622 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 12:33:52 +00:00
Alex Parker
75a306e393 Minor English correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28621 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 12:30:22 +00:00
Andree Buschmann
c3574034ad Reinsert CACHEALIGN_SIZE to imx31l.h, r28619 expected another local change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28620 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 07:23:31 +00:00
Andree Buschmann
90a5a8a068 Define CACHEALIGN_BITS for missing ARM CPUs for later use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28619 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 07:17:20 +00:00
Andree Buschmann
1abc5b8ea8 Correct supported sample rates for iPod nano 2G, at least prepares the manual for recording on this target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28618 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 22:01:40 +00:00
Andree Buschmann
c08bb63eed Add section 'Running Time' to the manual. Fixes FS#11561.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28617 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 21:58:05 +00:00
Fred Bauer
9b2e9472ea FS#11608: switch cpu to async operation in boosted mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28616 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 16:37:56 +00:00
Nils Wallménius
8a2c480af7 libtremor: Use larger cachesize for codebook decoding on targets with 1MB codec buffer.
speedups as follows:
~3%/2MHz on high bitrate files (500kbps) on Gigabeat S
~1%/0.5MHz on high bitrate files (500kbps) on Fuze v1

~3%/1MHz (128kbps) - 12%/7MHz (500kbps) on H300
~2%/0.5MHz (128kbps) - 10%/3.5MHz (500kbps) on C200 v1



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28615 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 15:51:59 +00:00
Jonathan Gordon
3806584dbe fix reds, not so nice fiddling with simulator stubs to make it all works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28614 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 11:57:51 +00:00
Jonathan Gordon
1ce7ba4931 Make the %tr (radio RSSI) tag work as a bar tag or as a conditional.
As a conditional it scales its value to the number of options you give it (like volume)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28613 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 11:47:42 +00:00
Teruaki Kawashima
62b8efe674 rockpaint: change browse_fonts to use dircache and use whole screen. add scrollbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28612 a1c6a512-1295-4272-9138-f99709370657
2010-11-17 14:50:43 +00:00
Nils Wallménius
bd2011bc6a Remove old Makefile for the database tool as it isn't working anymore and the database tool is built with a configure generated Makefile these days.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28611 a1c6a512-1295-4272-9138-f99709370657
2010-11-17 09:35:16 +00:00
Michael Giacomelli
b965c24c0b ffmpeg flac does actually support up to 192k sample rates, and my test file seems to decode fine, so lets enable it. Note that using 192khz is over 6 times slower then 44.1khz on my test file, so I recommend sticking to more reasonable bitrates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28609 a1c6a512-1295-4272-9138-f99709370657
2010-11-17 00:49:09 +00:00
Jonathan Gordon
7270e5eafd Accept FS#11722 by Michael Hohmuth
Wait for the db to be ready before trying to to any runtime stats

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28608 a1c6a512-1295-4272-9138-f99709370657
2010-11-16 13:17:37 +00:00
Teruaki Kawashima
36f623d2ca rockpaint: change the way to handle tools to improve readability.
make ROCKPAINT_QUIT cancel drawing if it is in progress.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28607 a1c6a512-1295-4272-9138-f99709370657
2010-11-16 12:55:20 +00:00
Andree Buschmann
e464656b88 Implement udelay() for S5L870x. Exchange sleep() with udelay() during CPU voltage scaling. Voltage scaling was measured stable with 50us delay, to have some headroom we use 100us.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28606 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 21:13:58 +00:00
Marcin Bukat
d1302940b9 mkmpioboot - Add support for HD300, increase verbosity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28605 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 20:42:58 +00:00
Nils Wallménius
76027b5951 libtremor: correct constraint for coldfire asm, swap can only be used on data registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28604 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 16:02:17 +00:00
Teruaki Kawashima
2142628a2d FS#11751: increase buffer size of settings to store path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28603 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 12:33:47 +00:00
Dominik Riebeling
7ee3b11022 Set svn:mime-type on cabbie image files lacking it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28602 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 07:35:40 +00:00
Michael Sparmann
6574040b18 iPod Nano 2G LCD sleep: Powering down LDO2 also affects USB, so we can't do that to shut off the LCD. Leave it on for now, and use the lightweight approach for waking up the Leadis LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28601 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 20:39:18 +00:00
Andree Buschmann
ba64cf697e Move pcm doublebuffer to IRAM on nano 2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28600 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 19:49:20 +00:00
Thomas Martitz
4523db1333 Small improvements for the on screen popup on 320x480 cabbiev2 wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28599 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 19:20:25 +00:00
Thomas Martitz
61a8d50c13 Add a few cabbiev2 source images in the biggest scale I've found. I've used them for the 320x480 and 480x800 ports. Hopefully makes porting cabbiev2 easier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28598 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 18:58:54 +00:00
Mustapha Senhaji
0c47ec7c35 Add Franz-Josef Haider (aka liar) to the CREDITS for his works on FS#11604 committed in r28591.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28597 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 18:17:13 +00:00
Thomas Martitz
997316e213 Make the grey background of the images brighter to better match existing cabbiev2 WPSes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28596 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 17:31:39 +00:00
Thomas Martitz
5e81da60fb Better quality images for the 320x480x16 cabbiev2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28595 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 17:03:32 +00:00
Michael Sparmann
cdbaa09fb7 iPod Nano 2G LCD sleep: Send LCD_EVENT_ACTIVATION event
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28593 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:46:17 +00:00
Thomas Martitz
9321ce3feb Fix path detection for app builds in configure and buildzip.pl.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28592 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:29:11 +00:00
Michael Sparmann
a5ad3f8a72 iPod Nano 2G: Implement LCD sleep (FS#11604 by Franz-Josef Haider), adds up to 5 hours of battery life
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28591 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:29:05 +00:00
Michael Sparmann
bbebaa406f iPod Nano 2G: Dynamic Vcore scaling, based on current CPU clock. Adds 1-2 hours of battery life.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28590 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:20:06 +00:00
Michael Sparmann
81381a36b4 iPod Nano 2G: Set I2C clock to 374400 Hz, now that we know what it is derived from.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28589 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:19:30 +00:00
Michael Sparmann
b18d220e48 iPod Nano 2G: Use sane (150 microseconds) PLL locking delays and properly set a third CLKCON register I just discovered
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28588 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:18:05 +00:00
Michael Sparmann
316986df67 Oops, forgot to add CLKCON3 to the CPU header. Fixes red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28587 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:11:37 +00:00
Michael Sparmann
59d9361f75 iPod Nano 2G: Show all PLLPMS and CLKCON values in the battery debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28586 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:08:38 +00:00
Teruaki Kawashima
e95bca0f8e rockpaint: fix gradient functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28585 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 14:03:00 +00:00
Magnus Holmgren
4480e3a82c Hopefully fix FS#11696: scrollwheel doesn't respond in some cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28584 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 13:13:06 +00:00
Andree Buschmann
91beb7a46d Use same loop count for writing and memset'ing in test_mem to have same precision in the result.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28583 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 13:03:39 +00:00
Bertrik Sikken
0d5e470a45 si4700/rda5802 tuners: prevent hang when changing radio region. Probably fixes bug FS#11754 .
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28582 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 09:25:08 +00:00
Michael Sparmann
b491421c5a iPod Nano 2G: Fix I2S clocking. All sampling rates should work now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28581 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 04:46:38 +00:00
Michael Sparmann
23fd886c4f iPod Nano 2G: Finally FIQ-less and glitch-free PCM. This should allow for IRQ latencies high enough to allow re-locking PLLs and changing and stabilizing Vcore when switching CPU frequency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28580 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 21:08:15 +00:00
Michael Sparmann
9156dbaef5 Damn. Remove another typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28579 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 17:49:45 +00:00
Michael Sparmann
fc86352e27 Fix a typo in a comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28578 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 17:39:21 +00:00
Frank Gevaerts
1960a8029b Fix multivolume case
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28577 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 15:46:38 +00:00
Michael Sparmann
79d26ed7f9 Reduce the amount of stack space needed by fat_rename and mkdir_uncached.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28576 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 15:41:18 +00:00
Teruaki Kawashima
47bbd6a466 rockpaint: disable playback control if the buffer is taken from the audio buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28575 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 14:06:55 +00:00