rockbox/apps/plugins/mpegplayer
Simon Rothen 0b5ad60c26 Introducing Targets iBasso DX50 & iBasso DX90
The port to for this two targets has been entirely developped by Ilia Sergachev (alias Il or xzcc). His source
can be found at https://bitbucket.org/isergachev/rockbox . The few necesary modifications for the DX90 port
was done by headwhacker form head-fi.org. Unfortunately i could not try out the final state of the DX90 port.
The port is hosted on android (without java) as standalone app. The official Firmware is required to run this port.
Ilia did modify the source files for the "android" target in the rockbox source to make the DX port work. The work I did
was to separate the code for DX50 (&DX90) from the android target.
On this Target Ilia used source from tinyalsa from AOSP. I did not touch that part of the code because I do not understand it.
What else I changed from Ilias sources besides the separation from the target "android":
* removed a dirty hack to keep backlight off
* changed value battery meter to voltage battery meter
* made all plugins compile (named target as "standalone") and added keymaps
* i added the graphics for the manual but did not do anything else for the manual yet
* minor optimizations

known bugs:
* timers are slowed donw when playback is active (tinyalsa related?)
* some minor bugs

Things to do:
* The main prolem will be how to install the app correctly. A guy called DOC2008 added a CWM (by androtab.info) to the
  official firmware and Ilia made a CWM installation script and a dualboot selector (rbutils/ibassoboot, build with
  ndk-build). We will have to find a way to install rockbox in a proper way without breaking any copyrights.
  Maybe ADB is an option but it is not enable with OF by default. Patching the OF is probably the way to go.
* All the wiki and manual

to build:
needed: android ndk installed, android sdk installed with additional build-tools 19.1.0 installed

./tools/configure
select iBasso DX50 or iBasso DX90
make -j apk

the content of rockbox.zip/.rockbox needs to be copied to /system/rockbox/app_rockbox/rockbox/ (rockbox app not needed)
the content of libs/armeabi to /system/rockbox/lib/ (rockbox app needed)

The boot selector is needed as /system/bin/MangoPlayer and the iBasso app as /system/bin/MangoPlayer_original. There
is also the "vold" file. The one from OF does not work with DX50 rockbox (DX90 works!?), the one from Ilia is necessary.

Until we have found a proper way to install it, it can only be installed following the instructions of Ilia on his
bitbucket page, using the CWM-OF and his installation script package.

Change-Id: Ic4faaf84824c162aabcc08e492cee6e0068719d0
Reviewed-on: http://gerrit.rockbox.org/941
Tested: Chiwen Chang <rock1104.tw@yahoo.com.tw>
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-18 18:19:01 +02:00
..
libmpeg2 mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered. 2011-02-22 21:44:15 +00:00
alloc.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
audio_thread.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
disk_buf.c Revert accidental commit of "%z" support in r26071 (the implementation assumed size_t==long, which is not always the case in hosted environments) 2010-07-18 12:42:47 +00:00
disk_buf.h mpegplayer: use OFF_T_MIN/MAX instead of LONG_MIN/MAX in one spot. Define OFF_T_MIN as well if not already defined. 2010-05-21 14:01:22 +00:00
mpeg_alloc.h Bring libmpeg2 portions that we use up to date with the latest libmpeg2 CVS. Fix up some file headers and add a revision history to the libmpeg2 files detailing to which CVS file revisions things were synced. This makes it easier to start in the right place by hand in the future. Hopefully no mistakes and everything works. :-) 2008-07-01 10:27:48 +00:00
mpeg_misc.c Correct actionable offense for misappropriation of action context. 2012-03-03 07:52:13 -05:00
mpeg_misc.h MPEGPlayer: Some UI tweaking and bugfixing 2010-12-22 11:20:07 +00:00
mpeg_parser.c Fix another comment typo 2011-01-04 21:28:20 +00:00
mpeg_settings.c Introducing Targets iBasso DX50 & iBasso DX90 2014-09-18 18:19:01 +02:00
mpeg_settings.h SA9200: Add YUV blitting, do full-screen updates more efficiently and properly clip partial updates. Plugin struct becomes incompatible for this target but leave version alone since it's still dev-only. 2011-01-11 01:21:31 +00:00
mpeg_stream.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
mpegplayer.c Introducing Targets iBasso DX50 & iBasso DX90 2014-09-18 18:19:01 +02:00
mpegplayer.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
mpegplayer.make MIPS uses GCC 4.1.2 which was wrongly detected as supporting '-fgnu89-inline'. Now only set this parameter if GCCNUM > 401. 2011-09-08 06:23:33 +00:00
parser.h MPEGPlayer: Move some code that's probably better situated in the stream manager rather than the parser. Fix visibility checking in video out. Extra message sending for new stream isn't needed; just do full decoder sequence reset when requesting dimensions. 2010-12-19 08:28:03 +00:00
pcm_output.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcm_output.h MPEGPlayer: Fixup typecasting for PCM buffer a bit. 2012-04-26 16:04:42 -04:00
SOURCES mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered. 2011-02-22 21:44:15 +00:00
stream_mgr.c Silence some (harmless) warnings. 2013-06-16 18:23:18 +02:00
stream_mgr.h MPEGPlayer graphics mutation: Implement a more visible FPS display and remove the debugging info from it. Tweak thumbnailing and printing of unavailable frames. 2011-01-03 16:41:19 +00:00
stream_thread.h MPEGPlyaer: A bit of audio mutation. Remove a useless thread state. Take some control over the buffer away from the audio thread itself. Some atomicity corrections. 2011-01-07 05:17:28 +00:00
video_out.h MPEGPlayer graphics mutation: Implement a more visible FPS display and remove the debugging info from it. Tweak thumbnailing and printing of unavailable frames. 2011-01-03 16:41:19 +00:00
video_out_rockbox.c mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered. 2011-02-22 21:44:15 +00:00
video_thread.c Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00