Re: [V4L] support for Xv ?

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



hi gerd
in the x doc perhps it says that right now only mga (ie matrox cards)
supports it but the xv drivers for ati and i810 are also in place which
support hardware scaling and color space conversions in hardware. i have the
ati and the xv drivers both, the ati driver supports all the interfaces
PutVideo(), PutStill(), GetVideo() etc. where as the i810 driver only
support XvPutImage() and not PutVideo() etc.
Hence although the ati driver is already public(its available from gatos
under ati_xv) directory the i810 Xv driver is still not available from the
xfree 86 tree (the ati driver too is not under the xfree86 tree as of now),
the authors are planning to check it in but not for now so you can directly
contact the authors and perhaps since its a GPL if anybody needs it i can
send the same patches that i got for i810.
regds
bharat

----- Original Message -----
From: Gerd Knorr <kraxel@xxxxxxxxxxxxxxxxxxxxx>
Newsgroups: lists.linux.v4l
To: <video4linux-list@xxxxxxxxxx>
Sent: Wednesday, August 16, 2000 10:58 PM
Subject: Re: [V4L] support for Xv ?


> bharat  tewari wrote:
> > i know that matrox, i810 and ati cards have Xv support, the extent of
the
> > support may vary but all of them support XvImages().
> > regds
>
> Depends on what exactly you want to do.  The tree ones mentioned above
support
> yuv pixmaps + hardware color space conversion/scaling for pixmaps passed
by
> the application.  Using Xv for video display (using the v4l module) and
writing
> the video stream directly to the visible framebuffer should work with all
> drivers.  Hardware scaled video works with matrox g200/g400 only as far I
know,
> but I expect other drivers follow quickly.
>
> Below is a README I've written for the next xawtv release.
>
>   Gerd
>
> -------------------------------------------------------------------
>
> XFree86 4.0 tips & tricks
> =========================
>
>
> DGA problems
> ------------
>
> Release 4.0 has DGA turned off by default.  You'll have turn it on
> in XF86Config, otherwise v4l-conf will not work correctly.  It should
> work for most cards this way, althrouth some drivers don't handle DGA
> correctly in 4.0 (that's why it is off...)
>
>
> using Xvideo
> ------------
>
> XFree86 4.0 comes with a new X11 extention for video support.  The
> X-Server will handle the grabber board then, not xawtv.  This has the
> advantage that the X-Server knows about the video.  Window moves can
> be handled without redraw problems.  The refresh triggered by xawtv
> to fix it isn't required any more.  It is possible to use the video
> scalers of modern graphics boards (see below).
>
> To use Xvideo you have to load the video4linux module into the X-Server.
> Just adding 'Load "v4l"' to the Modules section of XF86Config will do.
> You have to make sure xawtv is compiled on a box with with XFree86 4.0
> installed.  xawtv needs the new client libraries for Xvideo support.
>
>
> using hardware scaling
> ----------------------
>
> Starting with XFree86 4.0.1 the Xvideo extention supports hardware-scaled
> video, i.e. the video isn't written directly to the visible area of the
> video memory.  Instead the bt848 hardware writes yuv data to offscreen
> memory.  The graphic card's video scaler does color space conversion and
> video scaling.  This way fullscreen video works in 1024x768 (and greater)
> without a black border because we are not limited to the maximum size
> supported by the bt848 hardware any more.
>
> As this is very new stuff not all drivers support video scaling yet.
> Right now it works with the mga driver (matrox G200+G400) only.
>
> You also need a bttv version newer than 0.7.16 (the 2.2.x kernel version
> is /way/ to old, kernel 2.4.x is fine).  If both bttv driver and xfree86
> gfx driver support it, xfree86's video4linux driver will use hardware
> scaling automagically.
>
>
> drawbacks
> ---------
>
> capturing images/video doesn't work if xawtv runs using the Xvideo
> extention.  With the '-noxv' switch Xvideo can be disabled.
>
>   Gerd
>
>
>
> _______________________________________________
> Video4linux-list mailing list
> Video4linux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/video4linux-list
>





[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