summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
AgeCommit message (Collapse)Author
2010-05-14another cast ssize_t -> longRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26034 a1c6a512-1295-4272-9138-f99709370657
2010-05-07mpegplayer: One last dealie-O for now: Change all "WVS" usage in the code ↵Michael Sevakis
for identifiers to "OSD". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25873 a1c6a512-1295-4272-9138-f99709370657
2010-05-07mpegplayer: make button timeout half the OSD update interval so that it ↵Michael Sevakis
updates the indicators properly when not holding a key. Add capability to show OSD without changing volume, seeking, etc. Enable this functionality on Gigabeat S using the back (<--) button since it wasn't used in playback mode at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25872 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Add support for the next/prev side buttons to mpegplayer on the Gigabeat S ↵Michael Sevakis
to control seeking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25871 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Fix some size_t related warnings (hopefully, they seem system dependant).Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25852 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-02Improve motion compensation for ARM: * Use less registers in the simple copy ↵Jens Arnold
routines -> less stack usage. * Save a few instructions in constants + jumptable handling. * ARM6 optimisations. Unfortunately we can't just use uhadd8 because that rounds down, while we have to round up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25776 a1c6a512-1295-4272-9138-f99709370657
2010-05-02Gigabeat S: Reduce stalling in the ARMv6 IDCT. Also save one instruction per ↵Jens Arnold
loop, and fix comments. Speeds up fullscreen video decoding by about 5% (excluding video output). Still not perfect... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25775 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Add MPIO HD200 port - changed filesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-03-28Fuzev2: add dithering option for mpegplayerRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25364 a1c6a512-1295-4272-9138-f99709370657
2010-03-25fix redRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25338 a1c6a512-1295-4272-9138-f99709370657
2010-03-25mpegplayer: align video output data structure only on multicoreRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25330 a1c6a512-1295-4272-9138-f99709370657
2010-03-09Get rid of unnecessary alignment of struct member which also caused ↵Jens Arnold
arm-elf-eabi-gcc to mess up parameter passing to mpeg2_idct_add(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25092 a1c6a512-1295-4272-9138-f99709370657
2010-02-14Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for ↵Szymon Dziok
the target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
2010-01-21mpegplayer: reset foreground/background color and clear display in case they ↵Teruaki Kawashima
are changed in menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24308 a1c6a512-1295-4272-9138-f99709370657
2010-01-13mpegplayer:Teruaki Kawashima
* use upper case for enum constants. * rename MPEG_START_TIME_SCROLL_DOWN/SCROLL_UP to MPEG_START_TIME_LEFT2/RIGHT2 as they are equivalent to MPEG_START_TIME_LEFT/RIGHT. * simplify some code. no functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24224 a1c6a512-1295-4272-9138-f99709370657
2009-12-15Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev
to target naming conventions in general git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-07Yet more GoGear SA9200 plugin keymaps. Almost done!Robert Menes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23893 a1c6a512-1295-4272-9138-f99709370657
2009-11-20Merge mpeg_malloc_reason_t and mpeg2_alloc_t, add STATE_INTERNAL_NORETURN to ↵Andrew Mahone
mpeg2_state_t, to fix warnings with short enums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23677 a1c6a512-1295-4272-9138-f99709370657
2009-11-09Make the codecs use more IRAM on S5L870x, as we have plenty of it.Michael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23594 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Fix red caused by ancient incorrect #ifdefs.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23303 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz
multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 * Fix plugin keymaps for VX777Maurus Cuelenaere
* Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
2009-08-27fix red.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22519 a1c6a512-1295-4272-9138-f99709370657
2009-08-27Rearange menu of mpegplayer. Add new menu with "settings" and "quit", and ↵Teruaki Kawashima
remove quit item from settings menu. The setting menu was bit wierd as it had "quit" item at it's buttom. Also, there are 2 almost same menu definitions in mpeg_menu and it doesn't looks good, imo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22518 a1c6a512-1295-4272-9138-f99709370657
2009-08-20Make the formatter functions used by the settings return a pointer to avoid ↵Nils Wallménius
usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22440 a1c6a512-1295-4272-9138-f99709370657
2009-08-15FS#10526: mpegplayer audio out of sync, reverts r22280Jeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22321 a1c6a512-1295-4272-9138-f99709370657
2009-08-12FS#10504: Make mpegplayer audio thread use correct sample countJeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22280 a1c6a512-1295-4272-9138-f99709370657
2009-08-04Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann ↵Michael Giacomelli
with improvements and bitmap graphics by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
2009-07-17Revert r21912 : "Storage API : remove undeeded target-specific functions"Rafaël Carré
After a discussion mixed on mailing list and irc, it was agreed that more abstraction for plugins is better (so developers don't have to add a check to HAVE_DISK_STORAGE when writing disk-specific code) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21923 a1c6a512-1295-4272-9138-f99709370657
2009-07-17Storage API : remove undeeded target-specific functionsRafaël Carré
storage_sleep, storage_spin, storage_spindown are only defined if #defiend (HAVE_DISK_STORAGE), not for MMC/ATA/SD remove already unneeded nand_disk_is_active, nand_soft_reset git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21912 a1c6a512-1295-4272-9138-f99709370657
2009-07-15Gigabeat S can do dithered YUV blitting too, so put it into the plugin API ↵Jens Arnold
and enable it in mpegplayer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21888 a1c6a512-1295-4272-9138-f99709370657
2009-07-15Further ARMv6 imdct optimisation, ~5.5% speedup.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21884 a1c6a512-1295-4272-9138-f99709370657
2009-07-14FS#10080Nils Wallménius
* Move strncpy() from core to the pluginlib * Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins * Drop strncpy() from the codec api as no codec used it * Bump codec and plugin api versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-07-12* Fix overlooked r12 usage possibility in mpegplayer ARM idct Jens Arnold
* ARM dualcore: Don't save r12 in switch_thread_core() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21830 a1c6a512-1295-4272-9138-f99709370657
2009-07-12* ARM asm DSP and codec/plugin functions: Use r12 scratch register properlyJens Arnold
* Fix saving another unused reg in dsp code * Use less regs in the generic ARM mpegplayer adding idct pure DC case * Fix ARMv6 mpegplayer adding idct using an unsaved register in pure DC case git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21803 a1c6a512-1295-4272-9138-f99709370657
2009-07-11Fix plugins for the changed pitch scale from r21781Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21794 a1c6a512-1295-4272-9138-f99709370657
2009-07-08Accept FS#10210: "Mpegplayer playback controls on portrait oriented players" ↵Bertrik Sikken
by Matthew Bonnett. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21718 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Faster idct for ARMv6. Overall mpegplayer speedup is quite minimal though.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21392 a1c6a512-1295-4272-9138-f99709370657
2009-06-16Accept FS#10094 by Teruaki Kawashima:Jonathan Gordon
Replace the old menu API with the "new" one (a very long time overdue so huge thanks for the work.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21306 a1c6a512-1295-4272-9138-f99709370657
2009-05-13Sansa Fuze : Fix r20680/FS#10075 (long HOME to exit plugins)Rafaël Carré
Some plugins were forgotten : mpegplayer, test_fps, test_scanrate Some plugins use button_status() and can't use BUTTON_REL or BUTTON_REPEAT flags rockblox1d : use single press BUTTON_HOME doom : use single press BUTTON_HOME and BUTTON_POWER to open doors I may have forgotten some plugins, I didn't test them one by one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20925 a1c6a512-1295-4272-9138-f99709370657
2009-05-12FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20919 a1c6a512-1295-4272-9138-f99709370657
2009-05-06M:Robe 500: Make some plugins work with the touchscreen (remote support ↵Karl Kurbjun
needs to be added back later) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20855 a1c6a512-1295-4272-9138-f99709370657
2009-04-07Enable plugins on the Onda VX747Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-04-01Fix warningsKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20601 a1c6a512-1295-4272-9138-f99709370657
2009-04-01Add initial support for changing the LCD mode in MPEG player for hardware ↵Karl Kurbjun
YUV conversion (256 color palette mode will also be added for doom and rockboy). This fixes the LCD mode/colors when MPEGPlayer exits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20600 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Rework lcd_enabled and lcd_set/call_enable hookThomas Martitz
a) lcd_enabled() is now lcd_active(), and is available for HAVE_LCD_SLEEP only targets (e.g. ipod video) too. It was depandent on HAVE_LCD_ENALE only before b) rename the hook accordingly, and implement the hook for other other targets too (e.g. the clip [the only mono target with lcd_enable/lcd_sleep yet, so the code is still in the lcd driver], ipod, fuze, c200) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20331 a1c6a512-1295-4272-9138-f99709370657
2009-02-13Philips HDD1630 - add LCD YUV functions so mpegplayer works.Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19997 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Make basic cache functions into calls, and get rid of ↵Michael Sevakis
CACHE_FUNCTION_WRAPPERS and CACHE_FUNCTIONS_AS_CALL macros. Rename flush/invalidate_icache to cpucache_flush/invalidate. They're inlined only if an implementation isn't provided by defining HAVE_CPUCACHE_FLUSH/INVALIDATE. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19971 a1c6a512-1295-4272-9138-f99709370657
2009-02-03Gigabeat S: Get remote keymaps up to snuff and working. Do a couple tweaks ↵Michael Sevakis
on main unit ones. Cleanup keymap file a bit. Fix main button scanner to not clobber remote button. Fix a bug in actions.c where 'LAST_ITEM_IN_LIST' didn't really terminate scanning immediately. It would do an additional call into get_context_map and silently pick up ACTION_STD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19909 a1c6a512-1295-4272-9138-f99709370657