Re: Re: Overlaying video in XFree4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 31 Jul 2001 around 09:47:40 +0000, Gerd Knorr wrote:
> > > With Xvideo (which xawtv uses by default if available) the X-Server
> > > calls SETFBUF.  Without Xvideo v4l-conf (you can start that one from the
> > > command line too and see what it prints) does that job and uses the
> > > address returned by the DGA Extention.
> >  
> >  v4l-conf: using X11 display :0
> >  dga: version 2.0
> >  mode: 1024x768, depth=16, bpp=16, bpl=2048, base=0x401c7000
> 
> >  	Memory at e0000000 (32-bit, non-prefetchable) [size=64M]
> 
> That looks like a bug in the S3 driver, it seems to use the virtual
> address (i.e. what mmap() returns), not the physical one.  That might
> break the v4l module too.

Arg, grumble gumble... I will check what address XFree86-3 returned
in the past and work with that, just using 0xe0000000 gives me a interleaved
overlay immage all over the place :(

Gerd, am I right in assuming your card gives out a DGA frameadress
inside the cards PCI address?

> >  extention does not seem to support that mode...
> 
> But the normal X-Protocol does :-)

Ah, right. ok

> >  (And what does the 'Xvideo: no usable video port found'
> >  mean? The list below contains 2 '[ok]'s...)
> 
> There are two different kids of xvideo ports:  The video ports (what you
> get with v4l loaded) which can be used to ask the X-Server to display
> video in window foo.  -xv / -noxv switches this on/off.

When using the v4l module, it also sets (but now at X server starttime
- obvious) a frameaddress as DGA did. Same bug or it uses the same
address :(

> The other one are image scaling ports.  These can be used to give the
> X-Server a yuv image and let the gfx card conversion + scaling.  This is
> what the movie players are using (and xawtv tries to use in grabdisplay
> mode).  -scale / -noscale enables/disabled this one.
> 
> Are VIDEO_PALETTE_YUYV + VIDEO_PALETTE_YUV422 the same?

The Zoran does: (all 8 bit values)
	Y1 V0 Y0 U0
I'm not sure what format corresponds with this. I choose
VIDEO_PALETTE_YVYU (and YUYV when I reverse some register bit)

    Met vriendelijke groet,
        Pauline Middelink
-- 
GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA  BD3B 9A50 B416 E2D0 C3C2
For more details look at my website http://www.polyware.nl/~middelink





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux