[MPlayer-dev-eng] VIS optimized motion compensation code.
Romain Dolbeau
dolbeau at irisa.fr
Wed Apr 21 09:02:10 CEST 2004
James Morrison wrote:
> However, this code as licensed from David Miller is
> GPL so can only be distributed as part of a gpl'd program, e.g. vlc, xine,
> or mplayer. Since ffmpeg is lgpl'd I haven't cc'd those developers. I've only
> tested this code with mplayer, it's a patch to libavcodec so xine and vlc
> should be able to use it without any changes.
Maybe the original author would be willing to re-release
the code under the LGPL. That'd be the easier solution.
> As a side note, the altivec optimized code in ffmpeg is broken for the
> non-rounding functions, I'll try to get around to that sometime as it will
> make playing movies on my ibook much better. The way I've been able to
> notice whether the non-rounding functions work correctly or not is to watch
> some movie, divX or something, and see if some colours seem to leak all over
> the image. If they do, the code must be wrong, if they don't the code seems
> to be working. Currently the altivec code does turn the video green whereas
> the VIS code doesn't (anymore, I did have that problem at one point).
Which no_rnd functions would that be ? What particular
codecs cause the problem ? What OS are you using ?
Is it encoding or decoding ?
I've extensively tested both functions
(put_no_rnd_pixels16_xy2_altivec and
put_no_rnd_pixels8_xy2_altivec) and didn't see
any problem under MacOSX and linux/ppc...
--
Romain Dolbeau
More information about the MPlayer-dev-eng
mailing list