summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer (follow)
Commit message (Collapse)AuthorAge
...
* Greyscale mpegplayer: * Use uncached greyscale buffers on dual core targets, ↵Jens Arnold2008-01-11
| | | | | | removing the need for special cache handling. * Make the OSD properly disappear when viewing a widescreen or small video. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16052 a1c6a512-1295-4272-9138-f99709370657
* Fully clone the gray_show(false) procedure without the forced lcd update.Michael Sevakis2008-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16048 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to ↵Jonathan Gordon2008-01-10
| | | | | | make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer on grayscale targets: use greylib to display all text and ↵Michael Sevakis2008-01-09
| | | | | | graphics with the video images. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16042 a1c6a512-1295-4272-9138-f99709370657
* Prevent idle poweroff in the MPEG player plugin. Also save the settings when ↵Linus Nielsen Feltzing2008-01-09
| | | | | | receiving SYS_POWEROFF and SYS_USB_CONNECTED. Fixes FS#8439 and FS#8388. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16033 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: Fix a bitflag value. Add some commenting to the WVS code to help ↵Michael Sevakis2008-01-07
| | | | | | readability. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16017 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: Misc seeking tweaks 1) Consolidate some code amongst functions. ↵Michael Sevakis2008-01-07
| | | | | | 2) Be sure times retured from stream_get_seek_time are never before the start of the movie 3) Stop PCM when clearing it so the current audio being sent to the audio device is also cleared. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16014 a1c6a512-1295-4272-9138-f99709370657
* All-new greyscale library, replacing the old one. Features: (1) ↵Jens Arnold2008-01-04
| | | | | | Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
* Stop wasting binary size + ram for several plugins. Plugins are supposed to ↵Jens Arnold2008-01-04
| | | | | | be linked with --gc-sections, in case they use plugin library elements. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15997 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer seek tweak: Have video keep the time and duration of the last ↵Michael Sevakis2008-01-04
| | | | | | decoded frame up to date at all times. Make sure streams that have reported and EOS condition are placed back on active list when seeking which it seems is the cause of a video glitch where the initial frame may be presented after a seek but video playback wouldn't restart. Set logical seek time to video start in the parser after after initial load. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15995 a1c6a512-1295-4272-9138-f99709370657
* Ok...really fix the red. :)Michael Sevakis2008-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15993 a1c6a512-1295-4272-9138-f99709370657
* Fix some warnings/errors.Michael Sevakis2008-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15992 a1c6a512-1295-4272-9138-f99709370657
* Initial WVS for mpegplayer. Adjusts to the user's preferred font and uses ↵Michael Sevakis2008-01-03
| | | | | | FF/RW preferences set for playback. Picked a random color for the base WVS color but it could be configured. Some engine tweaks to accomodate it since certain nescessities are clearer now. Fix a clipped YUV output bug in the SIM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15991 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: Whoa. Left out a buffer wrap calculation when reading elementary ↵Michael Sevakis2007-12-30
| | | | | | streams. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15980 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer loose ends: Move gray_release to the exit routine where it should ↵Michael Sevakis2007-12-29
| | | | | | be. All gray handling is on CPU except frame rendering. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15979 a1c6a512-1295-4272-9138-f99709370657
* Fix some DEBUGF warnings for sims.Michael Sevakis2007-12-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15978 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: Make playback engine fully seekable and frame-accurate and split ↵Michael Sevakis2007-12-29
| | | | | | into logical parts. Be sure to have all current features work. Actual UI for seeking will be added soon. Recommended GOP size is about 15-30 frames depending on target or seeking can be slow with really long GOPs (nature of MPEG video). More refined encoding recommendations for a particular player should be posted soon. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15977 a1c6a512-1295-4272-9138-f99709370657
* Reformat and code police (tabs, trailing whitespace, annoying overuse of ↵Michael Sevakis2007-12-07
| | | | | | parentheses, etc.) in libmpeg2 so I can stomach working on it. Don't call IDCT functions through pointers - I don't feel like extracting that change just for relevance sake. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15892 a1c6a512-1295-4272-9138-f99709370657
* Okay. Really fix the red. It's a little ugly at this point, and clearly Paul Louden2007-11-21
| | | | | | | | | | I shouldn't be coding in whatever my mental state is. But the intent was not to remove the use of Select for pausing in Mpegplayer, for those who like it. The ugliness can be removed if we want to go back to a single pause button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15736 a1c6a512-1295-4272-9138-f99709370657
* Fix my rampant making of mistakes.Paul Louden2007-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15735 a1c6a512-1295-4272-9138-f99709370657
* Allow use of either A or Select to pause in mpegplayer. This means you Paul Louden2007-11-21
| | | | | | | | | can pause it the same way you pause music, but I've not removed the old button since mpegplayer currently has plenty of buttons, and not many functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15734 a1c6a512-1295-4272-9138-f99709370657
* Remove unused x11 and win32 simulator rulesDave Chapman2007-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15602 a1c6a512-1295-4272-9138-f99709370657
* enable jpeg, mpegplayer and midiplay on the mr500 (only jpeg is actually ↵Jonathan Gordon2007-10-25
| | | | | | | | | usable though, mpegplayer data aborts) fix the config which should have been done a few commits ago git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15296 a1c6a512-1295-4272-9138-f99709370657
* Phase in thread_wait when waiting for a thread to exit. Begin phasing out ↵Michael Sevakis2007-10-22
| | | | | | the spinlock object for general use; it will become a multicore-only object for core locking. Take care of plugins first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15260 a1c6a512-1295-4272-9138-f99709370657
* FS#7997 - mpegplayer - enable/disable start menuRobert Kukla2007-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15250 a1c6a512-1295-4272-9138-f99709370657
* Implement YUV dithering for c200, and enable the option in mpegplayer.Jens Arnold2007-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15246 a1c6a512-1295-4272-9138-f99709370657
* Really tiny tweak to the coldfire idct. * Comment fix.Jens Arnold2007-10-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15238 a1c6a512-1295-4272-9138-f99709370657
* FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not ↵Steve Bavin2007-10-19
| | | | | | just menus), hopefully save some space. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
* Code police strike. Every line was padded with trailing space. Trim it.Michael Sevakis2007-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15197 a1c6a512-1295-4272-9138-f99709370657
* Just fix a typo.Mustapha Senhaji2007-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15192 a1c6a512-1295-4272-9138-f99709370657
* Fix a warning in the simDave Chapman2007-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15185 a1c6a512-1295-4272-9138-f99709370657
* Put some arrays used in the decoder into IRAM for a few percent speedup ↵Jens Arnold2007-10-18
| | | | | | (mainly on coldfire). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15182 a1c6a512-1295-4272-9138-f99709370657
* Use the core codec thread's stack for the mpegplayer audio thread - this ↵Dave Chapman2007-10-18
| | | | | | will free up another 9KB of IRAM for use by mpegplayer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15181 a1c6a512-1295-4272-9138-f99709370657
* Less stack hogging in the coldfire IDCT for mpegplayer. Speedup might or ↵Jens Arnold2007-10-18
| | | | | | might not be measurable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15175 a1c6a512-1295-4272-9138-f99709370657
* Move some tables that aren't performance critical out of iram, const policeNils Wallménius2007-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15172 a1c6a512-1295-4272-9138-f99709370657
* Mpegplayer: Assembler optimised motion compensation for coldfire (just the ↵Jens Arnold2007-10-17
| | | | | | variants that are assemblerised for ARM) for a nice speedup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15168 a1c6a512-1295-4272-9138-f99709370657
* Try to fix the non-working $ replacement.Jens Arnold2007-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15164 a1c6a512-1295-4272-9138-f99709370657
* Mpegplayer: Convert the assembler optimised ARM IDCT into a proper assembler ↵Jens Arnold2007-10-17
| | | | | | file. Clean up the CPU selection in idct.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15158 a1c6a512-1295-4272-9138-f99709370657
* Mpegplayer: Assembler optimised IDCT for coldfire, based on FS #5995 by ↵Jens Arnold2007-10-16
| | | | | | Karim Boucher. Put the IDCT block buffer in IRAM for better performance. The whole libmpeg2 decoder struct doesn't fit without throwing some libmad buffers out of IRAM, but then doesn't change performance significantly. Mpegplayer is quite usable now on X5; H300 is sort-of usable for widescreen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15156 a1c6a512-1295-4272-9138-f99709370657
* FS#7971 - mpegplayer - start menu loads quicker - menu clean up - code clean upRobert Kukla2007-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15143 a1c6a512-1295-4272-9138-f99709370657
* Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis2007-10-16
| | | | | | towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
* Delay boosting and backlight on until after the menu selection is done. ↵Peter D'Hoye2007-10-15
| | | | | | Fixes FS #7964. There remains an issue with the movie being loaded before the menu is shown. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15123 a1c6a512-1295-4272-9138-f99709370657
* Use the CLOCK_RATE define instead of 44100.Antoine Cellerier2007-10-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15110 a1c6a512-1295-4272-9138-f99709370657
* Cosmetic change - change the "loading ..." splashes to "Loading...", as used ↵Dave Chapman2007-10-11
| | | | | | everywhere else in Rockbox git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15081 a1c6a512-1295-4272-9138-f99709370657
* FS#7931 - mpegplayer - resume on idle off - play files without start time of ↵Robert Kukla2007-10-11
| | | | | | zero git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15079 a1c6a512-1295-4272-9138-f99709370657
* fix yellow and some house cleaningRobert Kukla2007-10-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
* FS#7487 - mpegplayer - video start time seek with resumeRobert Kukla2007-10-09
| | | | | | | by John S. Gwynne & Brian J. Morey This should stop the patch from breaking again and give them opportunity to improve it further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
* Discontinue any use of 'swp(b)' on PP5020. While clocking is stable, some ↵Michael Sevakis2007-10-06
| | | | | | testing revealed this instruction can still cause problems without concurrent access. Make sure mpegplayer is safe while not using spinlock (no longer atomic) between cores to protect the stream byte counters - use nonwrapping head and tail pointers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15005 a1c6a512-1295-4272-9138-f99709370657
* Just temporarily disable talk menus, in case the player is reset whilst in ↵Steve Bavin2007-10-03
| | | | | | mpegplayer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14970 a1c6a512-1295-4272-9138-f99709370657
* This should fix the voice issues in menus in mpegplayer.Michael Sevakis2007-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14962 a1c6a512-1295-4272-9138-f99709370657