[MPlayer-users] vo_vesa introducing

Arpi arpi at thot.banki.hu
Sun Oct 21 12:27:34 CEST 2001


Hi,

> Hello, Arpi!
> On Sun, 21 Oct 2001 03:03:49 +0200 (CEST), you wrote:
> 
> > Hi,
> > 
> > > > heh?
> > > > don't joking....
> > > > libmpeg2 is very optimized while mpeg codec of libavcodec isn't.
> > > > 
> > > Just sync and try again ;)
> > 
> > done. now it works well and fast, until i enable -zoom
> > then i got sig11's in slice mode, and uncentered
> > greenish garbage at the middle with -pp.
> > 
> Fixed. But loibmmpeg2 again 210% of cpu usage - simply because
> it redrawing 10 times instead of 1.
ehh...

> To speedup zoomed libmpeg2 output - vo_vesa should know - what values of
> x, y, w, h will be after scaling by SwScaling.
scale the whole stuff to memory buffer, and blit once at flip_image()

> > vesa selects 640x480x16bpp for me...
> > note: sw scaler works well under x11 640x480x16bpp
> > 
> > btw, does your driver uses the -bpp option?
> > and -x -y for resolution selection.
> > 
> No - it select resolution automatically.
> But if that significand - I'm ready to add such feature.
ok. i don't like 16bpp...

> Also I'm going to add subdevice like:
> -vo vesa:D0000000,2000000
> where first argument will be physical address by LFB and second - size.
ehh. it should be queries from the VESA bios.
i'll check your lfb setup code, i'm sure it's bad somehow.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-users mailing list