summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer (follow)
Commit message (Collapse)AuthorAge
* Fix audio for Coldfire targets - the EMAC was being initialised in the main ↵Dave Chapman2007-01-02
| | | | | | thread, not the audio thread. Also fix some comments and kill the video thread if the audio thread can not be created. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11883 a1c6a512-1295-4272-9138-f99709370657
* Initial implementation of audio support (44.1KHz only, mp2 or mp3, ↵Dave Chapman2007-01-01
| | | | | | mono/stereo, any bitrate) and .mpg file (MPEG program stream) parsing for mpegplayer - .m2v files are no longer supported. .mpg parser based on patch #6366 from Mathieu Favreaux. Currently limited to only playing files smaller than the available buffer RAM (it will play longer files, but never refills the buffer when it runs empty). There is also no a/v sync implemented, and still no seeking support. Coldfire (iriver H3x0 and iaudio X5) users can use the optimisations provided in patch #5995 to increase the framerate, and PortalPlayer (ipods and iriver H10) users will want to use kernel_on_cop_6.diff from FS#5755 which enables mpegplayer to run the video thread on the second CPU core - video on the second core with audio on the first core runs at the same speed as the old mpegplayer did with no audio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11877 a1c6a512-1295-4272-9138-f99709370657
* fix for the inline asm in CLIP on the gigabeat by Steve Gotthard (fs#6488). ↵Marcoen Hirschberg2006-12-31
| | | | | | Turns out that gcc rearranged the ASM block without volatile git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11873 a1c6a512-1295-4272-9138-f99709370657
* assume the YUV code rotates on portrait screensMarcoen Hirschberg2006-12-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11864 a1c6a512-1295-4272-9138-f99709370657
* add a workaround for gigabeat crashesMarcoen Hirschberg2006-12-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11863 a1c6a512-1295-4272-9138-f99709370657
* FS#6357, patch 1: let iramcopy and bss share the same space in codecs andTomasz Malesinski2006-11-26
| | | | | | | | | | plugins. Currently, in case of plugins using IRAM bss is cleared twice, once in the loader, once in PLUGIN_IRAM_INIT. For codecs, bss is cleared only during codec initialization. Also, removed double variables in codecs storing a pointer to codec_api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11606 a1c6a512-1295-4272-9138-f99709370657
* SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines ↵Michael Sevakis2006-11-18
| | | | | | two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
* one more for the backdrop stuffKarl Kurbjun2006-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11527 a1c6a512-1295-4272-9138-f99709370657
* Next step of Makefile tuning: * Use 'make' internal commands for printing ↵Jens Arnold2006-10-27
| | | | | | messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
* Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell2006-10-26
| | | | | | nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
* Consistent style of 'make' messages. Always use ranlib after ar.Jens Arnold2006-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
* Speed up build process in general by using internal functions of make ↵Jens Arnold2006-10-22
| | | | | | instead of spawning sub-shells where possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11307 a1c6a512-1295-4272-9138-f99709370657
* Cleaner implementation of the recent OSX simulator build fix. No need to ↵Barry Wardell2006-09-29
| | | | | | define SHARED_FLAG in each Makefile. Just have configure create it in the root Makefile instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11095 a1c6a512-1295-4272-9138-f99709370657
* Allow UI simulator to be build on OS (Slightly updated version of FS5767)Barry Wardell2006-09-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11094 a1c6a512-1295-4272-9138-f99709370657
* Move FPS display out of video_out_rockbox.c and into mpegplayer.c. Also add ↵Dave Chapman2006-08-20
| | | | | | frame-rate limiting and frame-skipping (skipping display only, not decoding) to try and achieve real-time playback. Frame-rate limiting and frame skipping (and FPS display) are enabled via options in a new menu and are currently all off by default. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10669 a1c6a512-1295-4272-9138-f99709370657
* Clean up the video output code - remove the final traces of libvo (used by ↵Dave Chapman2006-08-17
| | | | | | mpeg2dec) and remove unused code-paths from the main decoding loop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10638 a1c6a512-1295-4272-9138-f99709370657
* Allow exiting of plugin whilst pausedDave Chapman2006-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10621 a1c6a512-1295-4272-9138-f99709370657
* Clean up the #ifdefs surrounding the definition of lcd_yuv_blit() and add an ↵Dave Chapman2006-08-12
| | | | | | initial (untested) implementation for the Gigabeat git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10541 a1c6a512-1295-4272-9138-f99709370657
* Accepted FS #5786 by Michael Sevakis - lcd_yuv_blit() for X5.Rani Hod2006-08-11
| | | | | | | hard coded to YUV4:2:0 for now, gives ~13.5 fps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10528 a1c6a512-1295-4272-9138-f99709370657
* Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!Hristo Kovachev2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
* fix button mappings for the gigabeatMarcoen Hirschberg2006-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10502 a1c6a512-1295-4272-9138-f99709370657
* Add STOP and PAUSE features (mapped to OFF/ON on iriver H300, MENU/PLAY on ↵Dave Chapman2006-08-09
| | | | | | ipods and POWER/PLAY on X5) - patch by Jonathan Gordon. Also adapt the buffering to different available memory sizes - we allow libmpeg2 itself 2MB for buffers, and the rest is used to buffer the compressed video data. Note that using PAUSE will break the FPS display - this will be fixed later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10497 a1c6a512-1295-4272-9138-f99709370657
* Do the clipping with inline asm instead of a huge lookup table. Tiny ↵Jens Arnold2006-08-08
| | | | | | speedup, and saves ~7.5KB of IRAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10493 a1c6a512-1295-4272-9138-f99709370657
* Implementation of lcd_yuv_blit() for the ipod 5g.Dave Chapman2006-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10487 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer FPS display: * Don't count the first frame if we don't know the ↵Jens Arnold2006-08-08
| | | | | | decode time it took. * Display every 2 seconds independent of actual fps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10486 a1c6a512-1295-4272-9138-f99709370657
* Fix corrupted videos on target.Jens Arnold2006-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10485 a1c6a512-1295-4272-9138-f99709370657
* H300: * Implemented lcd_yuv_blit(). Speeds up video playback by about 7%. No ↵Jens Arnold2006-08-08
| | | | | | bounds check in lcd_yuv_blit() (by convention), implementations for other targets should be adapted. * Fixed off-by-one bug in lcd_update_rect() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10484 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of work-in-progress MPEG video player plugin based on ↵Dave Chapman2006-08-07
libmpeg2. Works on all targets with colour LCDs, but most optimised for the ipod Color/Photo and Nano. It currently only plays raw MPEG-1 or MPEG-2 video streams (no audio). Also adds a new lcd_yuv_blit() function to the plugin API - currently only implemented for the ipod Color/Photo and Nano. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10479 a1c6a512-1295-4272-9138-f99709370657