Mohamed Tarek
466b2ae248
Factor out bytestream reading functions needed in rm parsers/codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22308 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 15:13:14 +00:00
Mohamed Tarek
0b6aa38516
Move main() outside atrac3.c and create atrac3.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22307 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 08:24:39 +00:00
Mohamed Tarek
ebd67b1c6f
Replace av_log() with DEBUGF and drop some now-useless files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22306 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 08:12:28 +00:00
Mohamed Tarek
4f72502329
Fix a (stupid) mistake in libatrac/atrac3.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22305 a1c6a512-1295-4272-9138-f99709370657
2009-08-14 03:41:59 +00:00
Mohamed Tarek
a0092593c9
Call the asm definitions of fixmul functions when possible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22303 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 21:18:30 +00:00
Jens Arnold
b736f26fdc
Fix ccache auto-detection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22302 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 21:09:09 +00:00
Mohamed Tarek
b8693f9908
Remove a forgotten DEBUGF from librm/rm.c - No functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22300 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 20:56:22 +00:00
Mohamed Tarek
e17d3edf87
Remove mallocs from libatrac.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22299 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 20:51:03 +00:00
Mohamed Tarek
432e2ecc13
Modify libatrac to use fixed-point arithmetic.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22298 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 20:38:59 +00:00
Mohamed Tarek
c956059ec5
Modify libcook to use rockbox's mdct library in its standalone test program.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22297 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 20:26:31 +00:00
Mohamed Tarek
8036207190
Also modify mdct_lookup.c for compiling outside rockbox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22296 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 20:19:33 +00:00
Mohamed Tarek
272954954c
Modify the mdct library to enable using it outside rockbox - No functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22295 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 20:02:31 +00:00
Frank Gevaerts
e98c198fd8
don't treat extremely quick transfers as errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22294 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 18:50:43 +00:00
Mustapha Senhaji
3ebf602968
Add Laurent Papier to credits for FS#10514 reworked and committed in r22255.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22293 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 16:44:44 +00:00
Mustapha Senhaji
351d47ce50
Update the french translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22292 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 16:40:03 +00:00
Thomas Martitz
279ef752cb
Make quickscreen items enum name lower-case, as per docs/CONTRIBUTING.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22291 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 14:39:31 +00:00
Thomas Martitz
20b9bc5c0a
Make gui_syncquickscreen_run() static as it's not used anywhere.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22290 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 14:27:06 +00:00
Andrew Mahone
e04f95eab9
LCD bitmap driver code consolidation from FS#4817:
...
Move text-drawing code into firmware-drivers/lcd-bitmap-common.c, included by the various driver files.
Add new static function LCDFN(putsxyofs_style) to draw styled text, and use it in both LCDFN(puts_style_offset) and LCDFN(scroll_fn).
Merge lcd_gradient_rect functions, with new function containing simplified code for drawing one line of a multi-line gradient.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22289 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 08:02:29 +00:00
Karl Kurbjun
ce00e283b5
M:Robe 500: Forgot one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22288 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:21:36 +00:00
Karl Kurbjun
5ca8bf022c
M:Robe 500: Put more interrupts in iram, reduce stack usage when ARM/DSP transfers happen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22287 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:20:46 +00:00
Frank Gevaerts
f026a0fed7
fix typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22286 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 20:57:38 +00:00
Frank Gevaerts
f10a3c7bed
Limit usb_serial packets to 32 bytes. It's unclear why this is needed, but usb serial packets larger than 96 bytes seem to never be sent.
...
Thanks to Amaury Pouly for investigating this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22285 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 20:35:01 +00:00
Rob Purchase
e783d0c82a
TCC: Implement ECC error correction for sectors read from NAND. Tested on D2 (78x, MLC) and M200 (77x, SLC).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22284 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:26:04 +00:00
Rob Purchase
4c5ae4b068
D2: Re-enable SD(HC) driver as there have been no further reports of damaged cards.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22283 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:14:46 +00:00
Jeffrey Goode
e3f36a1f47
FS#10446: Bug defense in dsp.c, minor tweaks and comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22282 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:00:31 +00:00
Jeffrey Goode
24bd4923fd
FS#10512: Bookmarking does not behave correctly (fixes r22192)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22281 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 18:42:13 +00:00
Jeffrey Goode
d5592a6710
FS#10504: Make mpegplayer audio thread use correct sample count
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22280 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 18:28:30 +00:00
Jeffrey Goode
0dc2fb5760
Adds DSP testing and WAV writing to test_codec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22279 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 18:12:25 +00:00
Rafaël Carré
27934e26b7
Fix a wrong memcpy in logf() introduced in r22253
...
Flyspray: FS#10515
Author: Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22276 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 16:10:04 +00:00
Jeffrey Goode
5c29277d97
New committer!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22275 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 16:04:49 +00:00
Thomas Martitz
7b6e166c77
Protect viewport.h against multiple inclusion.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22274 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 15:34:41 +00:00
Thomas Martitz
98f1aa6025
Fix mistake at checking the return in rockboy. Thanks Al Le for spotting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22273 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 15:00:16 +00:00
Thomas Martitz
50d09bd84c
Fix yellows.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22271 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 14:51:16 +00:00
Thomas Martitz
3290f1f025
Both of this isn't needed anymore as it's done at the end of the function.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22270 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 14:51:12 +00:00
Thomas Martitz
18e40e0f4c
Make kbd_input() show a cancel splash to indicate user abort better and for better consistency all over the place. Change checking for its return value (style-wise) at some places too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22269 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 14:38:25 +00:00
Alexander Levin
345920fe7e
Remove dead code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22268 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:49:29 +00:00
Alexander Levin
d353a7fd4e
Change the function name in strnatsort so that the code doesn't contradict itself
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22267 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:44:50 +00:00
Alexander Levin
3bfc0e7a7e
Remove unneeded symbols and improve the comment to the VP parsing function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22266 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:37:07 +00:00
Thomas Martitz
e4bdc08d0c
Fix FS#10505 - "Background changes to inverted when cleared" as well as a problem that lets the viewport parser reject correct WPSes, both introduced by r22222
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22264 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:04:12 +00:00
Karl Kurbjun
4b7a2ba276
M:Robe 500: Put the irq stack and fiq stack in iram. Reduce memory for fiq stack since it is currently unused.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22263 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 02:34:07 +00:00
Karl Kurbjun
771b35b7be
M:Robe 500: Make endpoint requests more flexible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22262 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 02:29:07 +00:00
Frank Gevaerts
cc4be72d15
Fix endpoint allocation
...
Flyspray: FS#10510
Author: Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22261 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 21:01:00 +00:00
Dominik Riebeling
e9d81ba089
Fix Rockbox Utility build on W32.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22260 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 20:40:02 +00:00
Frank Gevaerts
ceccec503e
Move yearday_to_daymonth() to usb_storage.c. It's the only user, this function is pretty specific, and it seems to be the cleanest way to avoid ram usage increases for unrelated targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22259 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 20:03:59 +00:00
Frank Gevaerts
2dc50471ca
Consolidate day of week calculation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22258 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 19:30:19 +00:00
Frank Gevaerts
eadfa483d1
rework new time handling functions a bit to be more memory efficient
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22257 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 18:54:13 +00:00
Frank Gevaerts
61cf783371
Fix "statement with no effect" warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22256 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 18:07:14 +00:00
Frank Gevaerts
ed73a3274c
Add support for setting the clock using a special SCSI command. This is the same method that itunes uses, and there are host-side tools for it (e.g. libgpod)
...
Flyspray: FS#10514
Author: Laurent Papier and myself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22255 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 17:54:47 +00:00
Dominik Riebeling
6cea3308d0
Clean up accessing system setting values for a specific player.
...
Remove the ugly "save, change and restore platform" accesses and extend the settings class to allow accessing player specific system values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22254 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 17:02:35 +00:00
Rafaël Carré
9a5174c8a3
Fix logf() multilines handling
...
Each line (of MAX_LOGF_ENTRY characters) would be marked with
LOGF_TERMINATE_CONTINUE_LINE, but still be padded with a '\0'
This also reverts r22250 which worked around the problem in logfdump()
Flyspray: FS#10513
Author: Amaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22253 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 16:12:03 +00:00