[MPlayer-dev-eng] [PATCH] correct illegal instruction on < armv5tE
Siarhei Siamashka
siarhei.siamashka at gmail.com
Wed Oct 8 09:46:02 CEST 2008
On Wed, Oct 8, 2008 at 12:01 AM, <GNUtoo at no-log.org> wrote:
> hello, I wanted to cross-compile mplayer from svn but it failed...that's
> because the pld instruction is not supported by my platform(armv4):
> More precisely the pld instruction was introduced in armv5tE variants( but
> is not present on armv5texp)
By the way, if you are interested in a good work of mplayer on armv4
devices, you may also consider trying to fix
libavcodec/armv4l/jrevdct_arm.S as it currently is somewhat broken
(results in artefacts on video decoding). Any patches that are
generated against libavcodec directory should be submitted to ffmpeg.
It is also important to have a good video output driver as YUV->RGB
conversion takes a lot of resources. If your target platform has any
kind of hardware YUV support, it will help video decoding
significantly. Let me know if you also need a fast code for
rotation/scaling on ARM (HW scaling/rotation is of course better if it
is supported).
Regarding audio decoders, you need to avoid any of them using floating
point math, the most obvious example is mp3lib which is used as a
default mp3 decoder in mplayer. A good choice of fixed point audio
decoders is libmad for mp3 (ffmp3 also works, but is slower than
libmad) and tremor for vorbis. Also somebody submitted a patch for
fixed point wma decoder some time ago, you can look in the mailing
list archives.
Good luck in mplayer hacking :)
More information about the MPlayer-dev-eng
mailing list