Re: [V4L] Xv hardware scaling in xawtv

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



Hi
"Rene H. Larsen" a écrit :
> 
> I've set up XFree86 4.0.1 to load the v4l module and I've compiled
> xawtv against X4 libraries so that xawtv will use the Xv extensions to
> perform YUV transformation on the graphics card, and stretching when
> in fullscreen mode.  The former seems to work fine, as xawtv is
> clearly running in Xv mode since there are no flashes or delayed
> updates while moving or resizing the xawtv window.
> 
> When I switch to fullscreen mode, however, I get a thick black border
> around the image, something I hoped could be avoided through the use
> of hardware scaling.  My graphics card/driver combination (see notes
> below) does support hardware scaling, which I frequently use for
> fullscreen MPEG playback via SMPEG and SDL.  Furthermore, debug output
> from xawtv agrees that hardware scaling is available, so why is it not
> used for fullscreen mode?
Maybe because xv can't put your WinTV in yuv capture mode.   

You can recompile v4l_drv.o

with #define DEBUG(x) (x) in
xc/programs/Xserver/hw/xfree86/drivers/v4l/v4l.c 
and look for something like 
(II) v4l: init start
(II) v4l: /dev/video0 ok
(II) v4l: kernel driver supports yuv422.
(II) v4l: screen driver supports 2 yuv formats (0x87547b0)
(II) v4l: yuv format: YUY2
(II) v4l: matching format found, offscreen yuv enabled.
(II) v4l: yuv format: UYVY

in the startx log 

didier





[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