Commit graph

12737 commits

Author SHA1 Message Date
Mohamed Tarek
d884af2b99 Partial conversion of the wmapro decoder to fixed point arithmetic. Currently inverse quantization & rescaling,
imdct and windowing are all in fixed point.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27302 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 22:33:37 +00:00
Andree Buschmann
4158192975 Submit FS#11450. Change compile option for libfaad to -O2 for ARM target and -O1 for other CPUs. This speeds up decoding by 1-5%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27297 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 19:29:09 +00:00
Torne Wuff
db1b823ac3 Provide the option to automatically update existing bookmark files on stop, without creating ones that don't already exist.
Idea from FS#6272, but implemented differently. If you set "Update on stop" then it will check if the bookmark file exists on stop, and if so, write a new one without prompting. If the file doesn't exist, it will do whatever the "Bookmark on stop" setting tells it to do.

This works quite well if you have an audiobook/podcast/etc folder/playlist: just bookmark it manually once and it will get bookmarked automatically after that, without creating bookmarks for regular music.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27294 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 16:39:00 +00:00
Yoshihisa Uchida
d265bcf965 text viewer: fixed StatusBar randomly appears (FS#11455).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27293 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 12:14:26 +00:00
Bertrik Sikken
fb6a6591ce Serbian translation update, FS #11456 by Ivan Pesic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27291 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 09:28:14 +00:00
Michael Giacomelli
fe4713f0cf Move the test and benchmark plugins to the top of the viewers list, since if someone compiles a build with them, they're probably going to use them frequently. Shouldn't change anything for normal builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27289 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 03:16:59 +00:00
Wincent Balin
38fe596cd5 pdbox: Optimizations in the audio output code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27288 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 01:35:04 +00:00
Wincent Balin
d5342fd129 pdbox: Added Sansa e200 to supported devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27287 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 01:31:57 +00:00
Wincent Balin
53425ad604 pdbox: Added different sampling rates based on hardware capabilities.
Also a minor code cleanup.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27286 a1c6a512-1295-4272-9138-f99709370657
2010-07-05 01:26:41 +00:00
Rafaël Carré
3982f1e932 Simulator: build recording code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27280 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 13:37:52 +00:00
Rafaël Carré
4acfdbc12a chessbox: fix 'i = i++', based on gnuchess4.0-pl80
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27278 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 13:27:50 +00:00
Marianne Arnold
a902adf31b Include 16-Adobe-Helvetica.fnt on targets with LCD_HEIGHT <= 400 (Ondas) as default font to make Cabbiev2 look as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27275 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 12:43:47 +00:00
Frank Gevaerts
64276fc0ff Add -lm to pdbox sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27261 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 21:16:59 +00:00
Frank Gevaerts
b8286d45be Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in older gcc output when not linking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 20:58:22 +00:00
Nils Wallménius
a89fea6754 We already build with -fomit-frame-pointer so there's no need to specify that again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27255 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 11:36:35 +00:00
Michael Giacomelli
33df565584 Commit FS#7831. Corrects our flac decoder to not reject files that have samplecount set to 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27244 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 18:39:11 +00:00
Yoshihisa Uchida
2cdf332f01 text viewer: for tv_action and tv_bookmark, the prototype of the initializer is the same arguments as other modules.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27243 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 12:16:47 +00:00
Marcin Bukat
91ed5bd695 HD200 - rework keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27241 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 11:49:55 +00:00
Yoshihisa Uchida
426f4c1e87 text viewer: fixed garbage data are not stored in the setting file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27240 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 11:35:28 +00:00
Andree Buschmann
1e5327eee0 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27232 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 04:40:24 +00:00
Andree Buschmann
bcbe317565 r27225 broke AAC HE profile decoding due to missing check for buffersize. Introduce a check of needed buffersize and decide whether to use a static buffer from IRAM or faad's internal allocation routines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27231 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 04:35:37 +00:00
Andree Buschmann
5633ece5a8 Remove false comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27228 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 22:32:46 +00:00
Andree Buschmann
c794c1feae Fix red and yellow. Needed to remove one codebook from IRAM due to full IRAM on iPod4G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27226 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 21:39:55 +00:00
Andree Buschmann
52f17dfe9d Submit FS#11445. Speed up of faad (aac) decoder via several optimizations like refactoring some requantization routines, moving several arrays and code tables to IRAM, using an optimized swap32() function and inlining several huffman decoder functions. Decoding is sped up by ~10% (PP5002, PP5022, MCF5249) and ~22% (MCF5250).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27225 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 21:18:42 +00:00
Nils Wallménius
01f91ed14d Factor out sane code list bisection code and use instead of insane code, clean up some tests for readability's sake. Gives a small speedup on h300 (coldfire, 0.1-0.6MHz) and a tiny speedup on gigabeat s (armv6 0.1-0.2MHz), no real difference on PP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27223 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 20:31:07 +00:00
Rafaël Carré
a64fa107d1 mp3 encoder (codec): left and right channels were inverted in mono
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27219 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 14:21:28 +00:00
Teruaki Kawashima
ffe8ceccf3 metronome: fix issue that backlight doesn't turn off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27218 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 13:35:16 +00:00
Tobias Diedrich
18accff9d2 open Pictureflow -> öffne Pictureflow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27217 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 12:38:53 +00:00
Tobias Diedrich
c89826113b Added some missing german translations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27216 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 12:30:35 +00:00
Teruaki Kawashima
f06f6543c6 text editor: use plugin_get_buffer() to allocate buffer. if size of the file is bigger than the buffer, use the audio buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27213 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 12:08:47 +00:00
Yoshihisa Uchida
ea09608012 text viewer:
- if the file fits on one screen, there is no horizontal scrollbar.
- the callback function in tv_reader doesn't do useless processing when the preferences changes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27212 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 11:31:28 +00:00
Rafaël Carré
7da040bf22 encoders are not built in sim builds
no need to check for SIMULATOR in the .c files

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27209 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 08:40:00 +00:00
Michael Sevakis
ceab0b04eb PacBox: Premultiply sound prom data on load rather than during emulation. Use 16-bit data for 'raw' output instead of int.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27208 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 03:57:37 +00:00
Michael Sevakis
2cfa7ba746 Fix r27202 red. MCF5249 plugin IRAM is already very occupied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27203 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 00:46:15 +00:00
Michael Sevakis
cf73340f1e Enable game sounds in PacBox. Sound is OFF by default but can be enabled from the menu. Enable a function for SWCODEC in the middle of the plugin API, so plugins must be made incompatible (full update).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27202 a1c6a512-1295-4272-9138-f99709370657
2010-07-01 00:26:01 +00:00
Frank Gevaerts
94aa0d741e Change "features" and "genlang-features" targets to no longer use multiple targets in one rule.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27195 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 16:29:55 +00:00
Yoshihisa Uchida
6fa312b221 text viewer: the display of the statusbar is synchronized actual battery, time, etc. and deletes unnecessary lcd_set_backdrop().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27194 a1c6a512-1295-4272-9138-f99709370657
2010-06-30 11:49:36 +00:00
Bertrik Sikken
5565a28c7d Remove some redundant #include's
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27183 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:13:22 +00:00
Rafaël Carré
8056313781 Fuze: USB HID keymap copy/pasted from e200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27177 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 17:28:54 +00:00
Nils Wallménius
7c716d6eac Clean up a leftover preprocessor symbol and improve the workaround for the 'arm-elf and static functions in iram' quirk so it doesn't affect builds with eabi toolchain (only affects nano2g).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27176 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 14:57:52 +00:00
Teruaki Kawashima
5af120f1cb some improvements for simple viewer.
* displays a scrollbar if there is more text than currently displayed.
* enables to scroll text by scrollwheel.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27175 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 13:33:19 +00:00
Yoshihisa Uchida
470226dbbf text viewer: some members of preferences change to bool. And simplify menu setting functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27174 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 12:23:41 +00:00
Yoshihisa Uchida
25f44c2e1f text viewer: move and delete #include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27173 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 11:37:58 +00:00
Yoshihisa Uchida
07d03729ff text_viewer: callback functions are changed to the function that returns int value.
And the text viewer quits when the problem occurs by callback functions.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27172 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 11:05:36 +00:00
Michael Sevakis
7195f3a30c r27159 broke mpegplayer but not the mpa codec because its libmad init wasn't also updated to be compatible with the changes. Fix that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27171 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 10:07:04 +00:00
Yoshihisa Uchida
cf6554d891 text viewer: tv_window doesn't depend on the layout of the text viewer.
And display functions change the following.
- some functions change to static functions.
- fix the problem that font_changing flag is invalid value.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27165 a1c6a512-1295-4272-9138-f99709370657
2010-06-28 11:17:47 +00:00
Andree Buschmann
df238bcaf5 Remove unneeded libmad files from build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27163 a1c6a512-1295-4272-9138-f99709370657
2010-06-28 06:28:05 +00:00
Andree Buschmann
c6ced1c466 Comment further unused code in libmad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27160 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 18:59:54 +00:00
Andree Buschmann
4c026f0c7f Comment unused code in libmad. Clean up initialization and memset'ing of decoder arrays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27159 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 18:11:07 +00:00
Nils Wallménius
99517d6319 Fix inline asm argument. Shouldn't have much impact in practice but might save a load if gcc is clever.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27157 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 15:15:46 +00:00