[MPlayer-users] vo_vesa introducing
Arpi
arpi at thot.banki.hu
Sun Oct 21 12:24:49 CEST 2001
Hi,
> > > > > Some other quiestions:
> > > > > Where I can find sample which requires Blit/Flip function?
> > > > you mean flip_page() ?
> > > > it's called by mplayer when the frame buffer should be dislpayed.
> > > >
> > > Could you send me example please?
> > what example?
> >
> Colored pictures - what is it. Blit/Flip is too specific english words for
> me and I'm badly imaging self - how they can be transalted.
> Is flip analog of doublebuffering or it is something other (like rotating
> picture on 180 or 270)?
no.
it's for double buffering.
blit means copy from backbuffer memory to visible buffer memory.
if you have swappable double buffering, then it means: swap the buffers.
if you don't support double buffering, and ha sno buffer in memory,
then just ignore it - leave it empty.
btw i've checked your code - and you has actually memory buffer, at
least for yv12. so you could move that __vbe_copybuffer or what to
flip_image(){}
> > > > > To display OSD with vo_vesa mplayer should paint them together
> > > > > with picture to memory buffer. (Vo_vesa doesn't have any kind
> > > > > of "dest" pointers which presents in every vo_driver).
> > > > not neccessary memory. but it's practical for speed :)
> > > >
> > > > you should call osd renderer with framebuffer address and stride.
> > > >
> > > As I already wrote - VESA has no framebuffer address but only window for
> > > bank switching.
> > no. under DOS it works! maybe it' ssomething else or bios doesn't allow
> > lfb if being under linux. btw, did you ORed LFB bits in mode register
> > when enabled mode? if i remember well it's 0x4000
> >
> > i've used lfb a lot under dos, most of program _requires_ it.
> > and even old shitty s3 cards, and my et6000 supported that.
> >
> > band switch wa sthe method of vesa 1.x.
> > the most important advantage of 2.0 was LFB.
> ftp://ftp.vesa.org/pub/VBE/vbe3.pdf
> It's public part of VBE3 documentation.
> On page 40 of documentation:
> If bit D14 is set, the mode will be initialized for use with a flat frame buffer model.
> The base address of frame buffer can be determined from the extended mode information
> returned by VBE Function 01h. If D14 is set, and linear frame buffer model is not
> available then the call will fail.
yes. are you using it?
i should RTFS...
A'rpi / Astral & ESP-team
--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu
More information about the MPlayer-users
mailing list