[MPlayer-dev-eng] [PATCH] require static libswscale for mga
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Jun 14 00:19:23 CEST 2010
On Sun, Jun 13, 2010 at 10:52:17PM +0200, Reinhard Tartler wrote:
> On Sun, Jun 13, 2010 at 13:06:26 (CEST), Reimar Döffinger wrote:
> > and that is only for G200-specific code which means
> > 1) disabling mga completely is very much overkill
>
> mga is not disabled. Only when a static libswscale.a is disabled, in
> which case linking *will* fail:
>
> /vo_mga.o: In function `draw_slice':
> vo_mga.c:(.text+0xcc7): undefined reference to `interleaveBytes'
> libvo/vo_xmga.o: In function `draw_slice':
> vo_xmga.c:(.text+0x13f7): undefined reference to `interleaveBytes'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
The point is that all that is necessary is to disable the G200 support
and it will work.
> Fixing mga to use the public API is of course the best solution, but I
> have to admit that I didn't really grok what 'interleaveBytes' does
> exactly and how to call it via the libswscale public API.
YV12 to NV12 conversion essentially it seems.
More information about the MPlayer-dev-eng
mailing list