summaryrefslogtreecommitdiff
path: root/apps (follow)
Commit message (Collapse)AuthorAge
...
* lcd-charcell: Correct get_icon_width() stub, everything is 1 char wide.Thomas Martitz2014-01-07
| | | | Change-Id: I2a76c306be8f11827cb8d1f12641d710f49274aa
* lcd-charcell: Add set_drawmode() wrapper to multi-screen API.Thomas Martitz2014-01-07
| | | | Change-Id: Idb6477aca8b19cb346ba2c2f5b91074e4679b0dd
* lcd-16bit: Introduce lcd_gradient_fillrect_part().Thomas Martitz2014-01-07
| | | | | | | | It is similar to lcd_gradient_fillrect(), except that it only draws a part of the complete gradient. This can be used to draw only the bottom half of a full gradient. Change-Id: Ib47cc5237f6966e35ba07988bddbb00fd97adf96
* lcd-common/scroll_engine: Introduce lcd_putsxy_scroll_func().Thomas Martitz2014-01-07
| | | | | | | | | | | This function supports installing a custom scroll callback. This will be called when the scrollengine redraws the line. It allows to draw extended styles (or anything your can possible imagine) along with the text. It is also strictly pixel-based, the first pixel-based function that supports scrolling. Change-Id: I57f81ac7b3d08b877aea4cb8afa882f175ebcdfc
* bmp.c: Undo debug stuff that got in by accident.Thomas Martitz2014-01-05
| | | | Change-Id: Ic37658ab8d81405e28a4097d38785900fd0951cd
* Do not include kernel.h in system.h.Thomas Martitz2014-01-05
| | | | | | | system.h doesn't need it on its own and this change makes it less dependant on Rockbox internals. Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6
* apps/bitmaps: Replace pseudo-native default icons with mono ones.Thomas Martitz2014-01-05
| | | | | | | | | | The old icons looked exactly like the mono version, and all >1 bpp drivers support rendering mono bitmaps. Therefore a mono bitmap can be used which requires less ram. This affects only the builtin icons, not the ones used by cabbiev2. Change-Id: I3b02b5b04fe8b4bcc69e83310871254d336b648a
* Fix Chinese translation and missing "Attack Time" stringPurlingNayuki2014-01-05
| | | | | | | | Change-Id: Ia4ae29bfe8739da93369a497a55680c7d445f730 Reviewed-on: http://gerrit.rockbox.org/700 Reviewed-by: Purling Nayuki <cyq.yzfl@gmail.com> Tested: Purling Nayuki <cyq.yzfl@gmail.com> Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
* Revert "Fix data abort introduced by ef92ed4a."Thomas Martitz2014-01-05
| | | | | | | | | | | This reverts commit 61a096499b72f82dd8efc782e30cfeb1a31ef400. The original issue was caused by a new structure member which caused bmp_args::buf to be unaligned for 2-byte reads. Enforcing that alignment should be the faster fix. Aligning to cache (while at it) should improve bmp loading times even more. Change-Id: I58a2caaf08c0ce46e2fb9666de628a30a36ea5f4
* Fix data abort introduced by ef92ed4a.Frank Gevaerts2014-01-04
| | | | Change-Id: I3e1bf2434238835d2d2b8f5f2a8f44b0df97b33d
* Fix build errorJonathan Gordon2013-12-30
| | | | Change-Id: I32e06cc41c70e225622c87539feaca5f92131065
* skin_engine: unload skin backdrops when the skins are resetJonathan Gordon2013-12-29
| | | | | | | Hopefully this will fix various skin related bugs which happen on usb plug/unplug! Change-Id: Ie1d8378fca38dae02e42ed02a68bdb3663651b4d
* recording: Fix sloppy return value check. This caused an OOM panic.Thomas Martitz2013-12-24
| | | | Change-Id: I30bbc5623d81ad7cbbee52a439fb5909af2761b7
* hwcodec: core_alloc_maximum() returned 0 bytes if talk.c controls the audio ↵Thomas Martitz2013-12-24
| | | | | | | | | | | | | buffer. On hwcodec talk.c has the entire audio buffer (not just parts of it), therefore it must give up everything and cannot count on core_alloc_maximum() to return the remaining space. This is equivalent to it was handled before 22e802e. You could probaby do smarter and shrink for example the .talk clip buffer but is it really worth it? Change-Id: Idc3431c59fb41b05338559c615093358c5d8ed9b
* Fix more reds.Thomas Martitz2013-12-23
| | | | Change-Id: I13e9a0398efe0dab222f2a9c4f5d9295570e4dfd
* Fix yellow.Thomas Martitz2013-12-23
| | | | Change-Id: Ib46e4d0896de4227a508abf5806c00ec3d59db51
* hwcodec: Need to grab audio buffer before recording.Thomas Martitz2013-12-23
| | | | | | | This was missed in 22e802e because I didn't realize that hwcodec doesn't compile pcm_record.c. Change-Id: I48cd4c2beec0a3d01caf06f2a2ced98be22a3673
* fix some reds.Thomas Martitz2013-12-23
| | | | Change-Id: Iecb1305dbd1519434e0f476d2199e728b96091f9
* playback,talk: Share audiobuffer via core_alloc_maximum().Thomas Martitz2013-12-23
| | | | | | | | | | | | | | | | This fixes the radioart crash that was the result of buffering.c working on a freed buffer at the same time as buflib (radioart uses buffering.c for the images). With this change the buffer is owned by buflib exclusively so this cannot happen. As a result, audio_get_buffer() doesn't exist anymore. Callers should call core_alloc_maximum() directly. This buffer needs to be protected as usual against movement if necessary (previously it was not protected at all which cased the radioart crash), To get most of it they can adjust the willingness of the talk engine to give its buffer away (at the expense of disabling voice interface) with the new talk_buffer_set_policy() function. Change-Id: I52123012208d04967876a304451d634e2bef3a33
* Fix errors introduced by a62bd92.Thomas Martitz2013-12-22
| | | | Change-Id: I3f65ca5347d08e1b77196c73ccb3a0951f14c850
* Fix warning and re-order code a bit.Thomas Martitz2013-12-22
| | | | Change-Id: I1d733b3d0bd17cc541218f9a2b7712712ad314dd
* Support GIMP bmp files.Thomas Martitz2013-12-22
| | | | Change-Id: I7380ceeaf696b67e1641d24e7b932e3d74770932
* DSP Compressor: Sidechain, Exponential Atk/RlsRyan Billing2013-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an improvement to the current compressor which I have added to my own Sansa Fuze V2 build. I am submitting here in case others find it interesting. Features added to the existing compressor: Attack, Look-ahead, Sidechain Filtering. Exponential attack and release characteristic response. Benefits from adding missing features: Attack: Preserve perceived "brightness" of tone by letting onset transients come through at a higher level than the rest of the compressed program material. Look-ahead: With Attack comes clipping on the leading several cycles of a transient onset. With look-ahead function, this can be pre-emptively mitigated with a slower gain change (less distortion). Look-ahead limiting is implemented to prevent clipping while keeping gain change ramp to an interval near 3ms instead of instant attack. The existing compressor implementation distorts the leading edge of a transient by causing instant gain change, resulting in log() distortion. This sounds "woofy" to me. Exponential Attack/Release: eMore natural sounding. On attack, this is a true straight line of 10dB per attack interval. Release is a little different, however, sounds natural as an analog compressor. Sidechain Filtering: Mild high-pass filter reduces response to low frequency onsets. For example, a hard kick drum is less likely to make the whole of the program material appear to fade in and out. Combined with a moderate attack time, such a transient will ride through with minimal audible artifact. Overall these changes make dynamic music sound more "open", more natural. The goal of a compressor is to make dyanamic music sound louder without necessarily sounding as though it has been compressed. I believe these changes come closer to this goal. Enjoy. If not, I am enjoying it Change-Id: I664eace546c364b815b4dc9ed4a72849231a0eb2 Reviewed-on: http://gerrit.rockbox.org/626 Tested: Purling Nayuki <cyq.yzfl@gmail.com> Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
* Introduce IHIFI760/960 targets.Andrew Ryabinin2013-12-16
| | | | Change-Id: Ie36e48742c0ed9aa3fd6f49aa034a11d2492327c
* Fix more reds.Thomas Martitz2013-12-15
| | | | Change-Id: Ie62386a8f3e9986381f96eb83abb69bfc42b42e1
* Bump plugin api and sort.Thomas Martitz2013-12-14
| | | | Change-Id: I8b8ab58abbd40726326b8b47bd6bbb07580b5ce4
* scroll_engine: Major rework to support pixel-based scrolling and scroll ↵Thomas Martitz2013-12-14
| | | | | | | | | | | | | | | | | | | callbacks. Much of the scrolling work is moved from lcd-bitmap-common to lcd-scroll.c, a small scroll callback routine remains. This callback can potentially be overridden by more extensive scrollers. The callback also gets fed with pixel-based scrolling information, which finally removes the strict line-based nature of the scroll engine. Along with this is the change from scroll_stop_viewport_line() to scroll_stop_viewport_rect() which works on a pixel-based rectangle instead of lines. The ultimate goal is to move most of the scroll work to apps, which can much better decide which line decorations to apply etc. This work is laying the ground work. Change-Id: I3b2885cf7d8696ddd9253d5a9a73318d3d42831a
* scroll_engine: Rename scroll_stop* functions to be more consistent with the ↵Thomas Martitz2013-12-14
| | | | | | lcd api. Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
* Initial commit for the YP-Z5 portLorenzo Miori2013-12-02
| | | | | | | | The port uses the imx233 soc, it's a STMP3650 based Samsung player Change-Id: I50b6d7e77fd292fab5ed26de87853cd5aaf9eaa4 Reviewed-on: http://gerrit.rockbox.org/490 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Introduce volume_{present,removable} and fix invalid calls in apps/Amaury Pouly2013-11-20
| | | | | | | | | | The code was trying to probe for volume presence by calling drive layer with volume index. It is a miracle it get unnoticed so far. Introduce proper volume probing using the vol->drive map in the disk layer. Change-Id: I463a5bcc8170f007cad049536094207d2ba3c6fc Reviewed-on: http://gerrit.rockbox.org/669 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* sonynwz: rework keymap based on lebellium's work and enable volume in listAmaury Pouly2013-11-20
| | | | Change-Id: Ieb015e78d1c0aa74c61591e442bfdf5f883f3811
* Fix typo in apps/plugins/lib/pluginlib_actions.cBenjamin Brown2013-11-17
| | | | | | | | | BUTOTN_REL should be BUTTON_REL Change-Id: I5b4aaeb87f31c5c0779656651b074512e22bcc4e Reviewed-on: http://gerrit.rockbox.org/663 Reviewed-by: Benjamin Brown <foolshperson@gmail.com> Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* sonynwz: add pluginlib keymapAmaury Pouly2013-11-14
| | | | Change-Id: I7753fb8d9a5f9e2e95dfaa03ce8d2469ae0bd74a
* sonynwz: add battery_bench keymapAmaury Pouly2013-11-14
| | | | Change-Id: I7be9131356b8655f2dbb90f203b44b2225257450
* Updated IAP commands.Ralf Ertzinger2013-11-10
| | | | | | | | | | | | | | | | | | Originally written and uploaded by Lalufu (Ralf Ertzinger) in Feb 2012. They have been condensed into a single patch and some further additions by Andy Potter. Currently includes Authentication V2 support from iPod to Accessory, RF/BlueTooth transmitter support, selecting a playlist and selecting a track from the current playlist. Does not support uploading Album Art or podcasts. Has been tested on the following iPods, 4th Gen Grayscale, 4th Gen Color/Photo, Mini 2nd Gen, Nano 1st Gen and Video 5.5Gen. Change-Id: Ie8fc098361844132f0228ecbe3c48da948726f5e Co-Authored by: Andy Potter <liveboxandy@gmail.com> Reviewed-on: http://gerrit.rockbox.org/533 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
* playback: Fix build with LOGF_ENABLE.Andrew Ryabinin2013-11-10
| | | | Change-Id: I01154d4a9441f44852748c910c267419f7f4149e
* Initial commit for the Creative ZEN MozaicAmaury Pouly2013-10-22
| | | | Change-Id: Ib65aad9f5de37e514047955cad7ca40dc0af4f74
* debug_menu: add tea5760uk tuner debug infoAmaury Pouly2013-10-21
| | | | Change-Id: I18ee5374a312335498777713c20f5de9014dacf3
* Add missing keymapAmaury Pouly2013-09-25
| | | | Change-Id: Ica8738905e7666f4e76621a84fa9ee18c7c2ac6e
* Initial commit for the sony NWZ-E360 and NWZ-E370Amaury Pouly2013-09-25
| | | | Change-Id: I52d21e136a98eaf481615d641795cf7ecf325465
* apps: factor depth3d capability in features.txtAmaury Pouly2013-09-25
| | | | | | Currently the 3 possible sources for this setting are: imx233, wm8750, wm8978 Change-Id: I4f2b23dbe203f2b357a264b77f801c7b4c28bdee
* fuze+/keymaps: Add action_std_cancel to bookmark and recording screenJean-Louis Biasini2013-09-20
| | | | | | | | | This fix FS#12902 and prevent same bug in bookmark screen. thanks to Julian67 for reporting Change-Id: Ifd2a383fd0f24aa3e242a8c72668de85526f0a70 Reviewed-on: http://gerrit.rockbox.org/622 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* fuze+/keymaps: define Cancel over Menu in EQ contextJean-Louis Biasini2013-09-18
| | | | | | | | This fix FS#12895, Menu has no effect in EQ context anyway... Change-Id: I31f8e1fdfea1479efd75cb411125e08eafade403 Reviewed-on: http://gerrit.rockbox.org/620 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* radio: fix FS#12747Jonathan Gordon2013-09-09
| | | | | | | Change-Id: I57448a29d986cca0535c47c0ebfa2f4f3846a936 Reviewed-on: http://gerrit.rockbox.org/614 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com> Tested-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
* touch devices: Disable touch on softlock.Jean-Louis Biasini2013-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Target that have a touchpad/touchscreen should disable it while being locked (In order to avoid LCD to drain battery power due to "key locked" constant reporting messages. If they a have a keylock button this was already handled at driver level. If not (e.g. fuze+), they will have to implement a switch at driver level that action.c can operate on softlock. This patch does the following for any target having a touchpad or a touchscreen and no HAS_BUTTON_HOLD (ie any softlock target) 1) it implements the code to call button_enable_touch(bool en) in action.c. 2) button_enable_touch is implemented in button.c and call either touchpad_enable or touchscreen_enable 3) those two function are implemented respectively in touchscreen.c and a new touchpad.c file. They provide a generic way to silents touch's device and call a function at driver level where target specific code can be implemented if possible/needed (for power saving for instance). Those function name are touchpad_enable_device and touchscreen_enable_device 4) we implement an empty function at driver level of targets that need it to have them still being able to compiled. Change-Id: I9ead78a25bd33466a8533f5b9f259b395cb5ce49 Reviewed-on: http://gerrit.rockbox.org/569 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* fuze+/keymaps: Implement the ACTION_STD_MENUJean-Louis Biasini2013-09-05
| | | | | | | | | | ACTION_STD_MENU seems to be an important keymaps. We map it to BUTTON_BACK and keep cancel on the BUTTON_LEFT Change-Id: Iea4a1e4671faee376ad4200b08ca82c2d00d1ff9 Reviewed-on: http://gerrit.rockbox.org/571 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* zenxfi2: use sensible keymap and simulator keysAmaury Pouly2013-08-28
| | | | Change-Id: Icd718b34924e1d228bbd6662617152646ef0c3a5
* lua: Switch memory allocator from dl to tlsfMarcin Bukat2013-08-26
| | | | | | | | | | | | | | | | | | Instead of providing yet another memory allocator implementation use tlsf and simply link tlsf library. Another small improvement is to *grow* memory pool by grabbing audiobuffer instead of just switching to use audiobuf exclusively. Tested with simple lua 'memory eater' script. This patch extends tlsf lib slightly. You can provide void *get_new_area(size_t * size) function which will override weak dummy implementation provided in lib itself. This allows to automaticaly initialize memory pool as well as grow memory pool if needed (for example grab audiobuffer when pluginbuffer is exhaused). Change-Id: I841af6b6b5bbbf546c14cbf139a7723fbb982f1b
* Change CODECFLAGS to a "simply-expanded" var to give the individualNils Wallménius2013-08-23
| | | | | | | | | | | | codec makefiles larger freedom in what they can do to it. Use this in libopus to prepend the libopus searchpaths to CODECFLAGS so that its internal config.h will be picked up before our global one. This avoids having to do a s/config.h/opus_config.h/ when syncing which will be handy soon. Change-Id: I018d729aa0c8300fa3149f22a5a8c5668b339dfa Reviewed-on: http://gerrit.rockbox.org/496 Reviewed-by: Nils Wallménius <nils@rockbox.org>
* zenxfi2: rework keymap to add softlockAmaury Pouly2013-08-23
| | | | | | | Map power button to soft key lock in WPS and radio screen, also correct fallback of WPS. Change-Id: If257e4b4f9f37848ba9f81dc2e8b52f020d4cde0