summaryrefslogtreecommitdiff
path: root/apps/recorder (follow)
Commit message (Collapse)AuthorAge
...
* Adjust AC decode such that decode *always* stops before storing an unneeded ↵Andrew Mahone2009-06-14
| | | | | | coefficient. Remove extra lines from zag[] as it should not be possible to store a coefficient for k>63, even for corrupted files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21283 a1c6a512-1295-4272-9138-f99709370657
* Fix red.Andrew Mahone2009-06-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21257 a1c6a512-1295-4272-9138-f99709370657
* ARMv4 and ARMv5 inline assembly for 4-point IDCT.Andrew Mahone2009-06-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21256 a1c6a512-1295-4272-9138-f99709370657
* Move +128 offset out of range_limit, and add it to the DC coefficient in ↵Andrew Mahone2009-06-11
| | | | | | each idct*h routine, for a small binsize improvement on idct4h, idct8h, and idct16h, and a negligible speed increase. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21255 a1c6a512-1295-4272-9138-f99709370657
* Don't compensate for lack of shift in second IDCT stage, allowing ↵Andrew Mahone2009-06-11
| | | | | | quantization table to be reduced to 16-bit. Reduce IDCT workspace to 16-bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21254 a1c6a512-1295-4272-9138-f99709370657
* Undo the delta on ARM but making the loop variables signed as before r21205. ↵Jens Arnold2009-06-07
| | | | | | GCC is weird... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21206 a1c6a512-1295-4272-9138-f99709370657
* Convert a number of places in core and plugins to use the BIT_N() macro ↵Jens Arnold2009-06-07
| | | | | | instead of 1<<n. Speeds up things on SH1, and also reduces core binsize. Most notable speedups: 1 bit lcd driver: drawpixel +20%, drawline + 27%, hline +5%; jpeg viewer: +8% for 1/8 scaling. Other targets are unaffected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21205 a1c6a512-1295-4272-9138-f99709370657
* Don't perform YUV->RGB conversion before row output for unscaled loads of ↵Andrew Mahone2009-06-03
| | | | | | greyscale JPEG, as store_row_jpeg already does this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21174 a1c6a512-1295-4272-9138-f99709370657
* Don't recheck for track art when checking track art first.Andrew Mahone2009-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21127 a1c6a512-1295-4272-9138-f99709370657
* Change the search_albumart_files "ignore track art" option to check track ↵Andrew Mahone2009-05-29
| | | | | | art last. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21126 a1c6a512-1295-4272-9138-f99709370657
* Describe the magic of search_albumart_files (still not complete)Alexander Levin2009-05-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21120 a1c6a512-1295-4272-9138-f99709370657
* Suggested by Thomas Martitz, don't check for track-specific files when ↵Andrew Mahone2009-05-28
| | | | | | searching for covers in PictureFlow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21111 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow when building with HAVE_ALBUMART, without HAVE_JPEG/HAVE_BMP_SCALING.Andrew Mahone2009-05-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21092 a1c6a512-1295-4272-9138-f99709370657
* Use pre-multiplication in scaler to save one multiply per color component on ↵Andrew Mahone2009-05-26
| | | | | | | | ARM and Coldfire, at the cost of an extra add/shift in the horizontal scaler to reduce values to a workable range. SH-1 retains the same basic math, as the use of 16x16->32 hardware multiplication in the earlier scaler stages saves more than removing the 32x32->40 multiply to descale output. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21091 a1c6a512-1295-4272-9138-f99709370657
* Should fix redMaurus Cuelenaere2009-05-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21082 a1c6a512-1295-4272-9138-f99709370657
* Fix FORMAT_RETURN_SIZE in read_bmp_*() when scaling (thanks to Andrew Mahone)Maurus Cuelenaere2009-05-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21078 a1c6a512-1295-4272-9138-f99709370657
* * read_bmp_*(): add FORMAT_RETURN_SIZEMaurus Cuelenaere2009-05-25
| | | | | | | | * Lua: add luaL_checkboolean() & luaL_optboolean() * Lua: add read_bmp_file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21074 a1c6a512-1295-4272-9138-f99709370657
* FS#10230 - Remove 'start new file if not recording' functionality from ↵Marc Guay2009-05-22
| | | | | | ACTION_REC_NEWFILE git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21034 a1c6a512-1295-4272-9138-f99709370657
* Fix duplicate #includesBertrik Sikken2009-05-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20977 a1c6a512-1295-4272-9138-f99709370657
* Clean up some unused #includesBertrik Sikken2009-05-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20975 a1c6a512-1295-4272-9138-f99709370657
* Clean up albumart.c a bit, reducing use of USE_JPEG_COVER inside ↵Andrew Mahone2009-05-16
| | | | | | search_albumart_files to only around the folder.jpg test and a strlen call. 0 delta vs previous code for #undef HAVE_JPEG. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20958 a1c6a512-1295-4272-9138-f99709370657
* Define a symbol and use it instead of repeating the conditionAlexander Levin2009-05-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20956 a1c6a512-1295-4272-9138-f99709370657
* Make variables static where possibleAlexander Levin2009-05-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20955 a1c6a512-1295-4272-9138-f99709370657
* FS#10201, skip folder.jpg in search_albumart_files if size_string is not empty.Andrew Mahone2009-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20951 a1c6a512-1295-4272-9138-f99709370657
* Remove unneeded function call (radio_load_presets does clear the memory)Alexander Levin2009-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20941 a1c6a512-1295-4272-9138-f99709370657
* Flag EOF and empty buffer conditions as UNLIKELY in JPEG decoder.Andrew Mahone2009-05-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20907 a1c6a512-1295-4272-9138-f99709370657
* Fix a bug reading JPEG when the output data is smaller than sizeof(struct ↵Andrew Mahone2009-05-11
| | | | | | jpeg), and add more optional debugging output in the decoder. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20906 a1c6a512-1295-4272-9138-f99709370657
* Remove unneeded #include "backdrop.h"Bertrik Sikken2009-05-09
| | | | | | | Remove unneeded #include "statusbar.h" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20891 a1c6a512-1295-4272-9138-f99709370657
* Don't build 16-point IDCT on greyscale targets, since it's only used for ↵Andrew Mahone2009-05-09
| | | | | | chroma components. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20887 a1c6a512-1295-4272-9138-f99709370657
* Inline output_row_8_native when building bmp.c in core without HAVE_JPEG or ↵Andrew Mahone2009-05-09
| | | | | | HAVE_BMP_SCALING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20886 a1c6a512-1295-4272-9138-f99709370657
* Fix test for direct JPEG output, bump plugin API as r20884 changed struct ↵Andrew Mahone2009-05-09
| | | | | | custom_format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20885 a1c6a512-1295-4272-9138-f99709370657
* Split 8-bit-to-native conversion in bmp.c into a function, add support for ↵Andrew Mahone2009-05-09
| | | | | | plugging unscaled output in BMP and JPEG loaders, use output_row_8_native in JPEG decoder when possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20884 a1c6a512-1295-4272-9138-f99709370657
* Convert Huffman decode from inline function to macro, for small code size ↵Andrew Mahone2009-05-08
| | | | | | saving on ARM and on Coldfire color, only finish DC decode on greyscale targets if decoding luma channel. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20874 a1c6a512-1295-4272-9138-f99709370657
* Small size improvement for JPEG on ARM/Coldfire.Andrew Mahone2009-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20873 a1c6a512-1295-4272-9138-f99709370657
* Fix red.Andrew Mahone2009-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20872 a1c6a512-1295-4272-9138-f99709370657
* Plugin JPEG decoder for data in memory, along with test_mem_jpeg.c and ↵Andrew Mahone2009-05-08
| | | | | | bench_mem_jpeg.c plugins to test and benchmark it, and a line-length clean up in jpeg_load.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20871 a1c6a512-1295-4272-9138-f99709370657
* Never use upscaling IDCT for luma (to reduce blockiness), plus some small ↵Andrew Mahone2009-05-07
| | | | | | size optimizations by not calculating or storing scale factors or k_need/zero_need for chroma on greyscale. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20866 a1c6a512-1295-4272-9138-f99709370657
* Build pictureflow using overlay on lowmem targets, support JPEG AA in PF on ↵Andrew Mahone2009-05-07
| | | | | | all targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20864 a1c6a512-1295-4272-9138-f99709370657
* Move YUV->RGB in JPEG load from before scaler to after scaler. Required ↵Andrew Mahone2009-05-06
| | | | | | change to struct custom_format, so sorted the plugin API as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20856 a1c6a512-1295-4272-9138-f99709370657
* Make JPEG and BMP scaler optional with HAVE_JPEG and HAVE_BMP_SCALING, both ↵Andrew Mahone2009-05-04
| | | | | | | | defined for all targets that have HAVE_ALBUMART. Disable JPEG in PictureFlow and pluginlib album art search with 32KiB plugin buffer until PictureFlow gets overlay support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20851 a1c6a512-1295-4272-9138-f99709370657
* Make local function static in jpeg_load.c, add missing header file in ↵Bertrik Sikken2009-05-03
| | | | | | read_image.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20848 a1c6a512-1295-4272-9138-f99709370657
* Fix AA search for file with same basename to test all extensions.Andrew Mahone2009-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20838 a1c6a512-1295-4272-9138-f99709370657
* Search for, and load, JPEG album art files.Andrew Mahone2009-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20837 a1c6a512-1295-4272-9138-f99709370657
* Add core JPEG reader, adapted from the JPEG plugin's decoder, with some ↵Andrew Mahone2009-05-01
| | | | | | changes to prevent include conflicts between the two decoders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20836 a1c6a512-1295-4272-9138-f99709370657
* Improve scaler reciprocal precision by 1 bit, and remove unused SC_NUM, ↵Andrew Mahone2009-04-08
| | | | | | SC_FIX, and SC_SHIFT. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20654 a1c6a512-1295-4272-9138-f99709370657
* Some Sansa Fuze keymap work, enable line editing for the keyboard, copy from ↵Thomas Martitz2009-03-30
| | | | | | the e200 keymap mostly, but use the home key for some jobs (stopping playback, exiting some screens,i.e. what REC+POWER do on the e200 is only home on the fuze) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20578 a1c6a512-1295-4272-9138-f99709370657
* Correct Björn's name in various file headers.Nicolas Pennequin2009-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20491 a1c6a512-1295-4272-9138-f99709370657
* D2: Enable FM radio (based on FS#10035 by Michael Burtin with some changes ↵Rob Purchase2009-03-21
| | | | | | by myself). Also updates the LV24020 driver to add optional logf debugging. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20420 a1c6a512-1295-4272-9138-f99709370657
* Invert albumart when LCD Mode is set to inverse.Jonas Häggqvist2009-03-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20357 a1c6a512-1295-4272-9138-f99709370657
* small speedup for scaler on sh-1, via use of hardware multiply instruction ↵Andrew Mahone2009-03-14
| | | | | | where possible git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20322 a1c6a512-1295-4272-9138-f99709370657