summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer (follow)
Commit message (Collapse)AuthorAge
* Build the remaining plugins for Gigabeat S and straigten out the fake IRAM ↵Michael Sevakis2008-05-02
| | | | | | in the codecs and plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17303 a1c6a512-1295-4272-9138-f99709370657
* FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.Rob Purchase2008-04-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
* Make mpegplayer sleep the disk after buffering to save battery. * Add a ↵Jens Arnold2008-04-13
| | | | | | simulator stub for ata_sleep(), and un-ifdef most calls to it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17096 a1c6a512-1295-4272-9138-f99709370657
* The greylib now takes care of the necessary aligment and uncached addressing ↵Jens Arnold2008-04-13
| | | | | | itself, so simplify the code a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17094 a1c6a512-1295-4272-9138-f99709370657
* Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now ↵Michael Sevakis2008-04-06
| | | | | | with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
* Greyscale library: Optionally put the greyscale ISR on COP on ↵Jens Arnold2008-04-04
| | | | | | portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
* Place a limit on the estimate fudging when searching timestamps in ↵Michael Sevakis2008-04-01
| | | | | | mpegplayer. It doesn't have to be very much. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16907 a1c6a512-1295-4272-9138-f99709370657
* iAudio M3: Optimised LCD driver, with more/better assembly code. Speedup is ↵Jens Arnold2008-03-25
| | | | | | ~80% when boosted, ~15% when unboosted. Also implemented grey phase blitting. * Adapted the greyscale library, and the plugins using it. * Fixed a bug in greyscale scroll down for vertically packed pixels. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16809 a1c6a512-1295-4272-9138-f99709370657
* Revert accidental tree commit. /me needs a smaller enter key...Jens Arnold2008-03-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
* Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as ↵Jens Arnold2008-03-25
| | | | | | 24 bit BMP instead of unnecessary 32 bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
* Add a complete priority inheritance implementation to the scheduler (all ↵Michael Sevakis2008-03-25
| | | | | | mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16791 a1c6a512-1295-4272-9138-f99709370657
* Consistent naming scheme the various blit functions. * Removed ↵Jens Arnold2008-03-24
| | | | | | lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
* D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas ↵Rob Purchase2008-03-22
| | | | | | Mueller, with some tweaks). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
* Greyscale library: Preparations for a gamma measurement plugin.Jens Arnold2008-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16492 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 100: add button definition/bitmaps to plugins and enable compilationRobert Kukla2008-03-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: Use the core DSP to process audio. Removes the sample rate ↵Michael Sevakis2008-02-01
| | | | | | restriction on audio and any mpeg audio samplerate may be used. Use the global sound settings for audio output with the option to force any one of the processing stages off. All are forced off by default. I didn't personally care to fully duplicate the Sound Settings menu which would have been needed since using the core one would affect settings globally and exactly the same configuration probably isn't desired since the CPU load for video playback is much greater. Rebalance the threading to compensate with some expense to buffering speed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16194 a1c6a512-1295-4272-9138-f99709370657
* Now that headphone plug pause/resume should be better behaved, support it in ↵Michael Sevakis2008-01-27
| | | | | | mpegplayer too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16179 a1c6a512-1295-4272-9138-f99709370657
* fix yellowMarcoen Hirschberg2008-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16176 a1c6a512-1295-4272-9138-f99709370657
* add support for the gigabeat remote control in mpegplayerMarcoen Hirschberg2008-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16175 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: End of data would not be detected correctly if mpeg parser was ↵Michael Sevakis2008-01-27
| | | | | | in a sync state. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16174 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: make sure 'floating' videos are even-aligned on color displays ↵Michael Sevakis2008-01-26
| | | | | | or else clipping the image could have dead lines while the WVS is shown. Throw in a couple misc cleanups to vo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16172 a1c6a512-1295-4272-9138-f99709370657
* H10 20GB: Assembly YUV blitting and dithering.Michael Sevakis2008-01-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16171 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: fix a small mistake in validating the start time.Michael Sevakis2008-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16095 a1c6a512-1295-4272-9138-f99709370657
* libmpeg2: Change a couple style points for consistency and some spacing.Michael Sevakis2008-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16094 a1c6a512-1295-4272-9138-f99709370657
* libmpeg2: Decode only Y on grayscale targets. The chroma skip code is ↵Michael Sevakis2008-01-16
| | | | | | probably less than optimal since it's basically the decoding code with minimum reading of the bitstream but it does the trick for now and gets some more FPS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16093 a1c6a512-1295-4272-9138-f99709370657
* Oops, looks like I overlooked a leftover from the old graylib...Jens Arnold2008-01-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16068 a1c6a512-1295-4272-9138-f99709370657
* Greyscale library: Plugins can now put the management structure in IRAM for ↵Jens Arnold2008-01-13
| | | | | | higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer: A) Replace 'Start Menu' option with 'Resume Settings' 1) Start ↵Michael Sevakis2008-01-12
| | | | | | menu - Always show the start menu 2) Start menu if not completed - show the start menu if playback was interrupted before finishing (equivalent to the previous 'Resume No/Yes' screen) 3) Resume automatically - Always resume immediately with no prompting 4) Play from beginning - Always play file from the beginning. B) Do everything possible at this time to ensure USB connection and power down preserve the resume time. C) Add Settings menu to start menu D) Small OSD erasure drawing tweak. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16061 a1c6a512-1295-4272-9138-f99709370657
* 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