Xv and v4l device

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



Hi,
I have the following problem. I have two v4l device in my box, one
bttv card and a DVB (saa7146) card. When I start X and look at xvinfo,
I see the expected three adapters, the DVB card (port 67), the bttv
card (port 68) and the hardware scaler of my MGA G200 (port 69). When
I start xawtv with -xvport 68 I get a picture, which I can enlarge to
fullscreen size (1280x1024 scaled to 1280x960 because of aspect
ratio). Now I start with -xvport 67 and I get a picture, but can't
scale it to fullscreen. The verbose messages of xawtv are concerning
xv  and Xvideo are the following (grep -i xv):

for dvb:
main: xvideo extention...
Xvideo: 3 adaptors available.
Xvideo: video4linux: input video, ports 67-67
Xvideo: video4linux: input video, ports 68-68
Xvideo: Matrox G-Series Backend Scaler: input image, ports 69-69
Xvideo: using port 67 for video
  XV_ENCODING get set, -1000 -> 1000
  XV_BRIGHTNESS get set, -1000 -> 1000
  XV_CONTRAST get set, -1000 -> 1000
  XV_SATURATION get set, -1000 -> 1000
  XV_HUE get set, -1000 -> 1000
  XV_FREQ get set, 0 -> 16000
xv: get XV_BRIGHTNESS: 32768
xv: get XV_CONTRAST: 32768
xv: get XV_SATURATION: 32768
xv: get XV_HUE: 0
xv: set XV_SATURATION: 0
xv: set XV_BRIGHTNESS: 0
xv: set XV_HUE: -1000
xv: set XV_CONTRAST: 0
Xvideo: video: win=0x1a00049, src=768x576+0+0 dst=384x288+0+0
Xvideo: video: win=0x1a00049, src=768x576+0+0 dst=1280x960+0+32

and for bttv:
main: xvideo extention...
Xvideo: 3 adaptors available.
Xvideo: video4linux: input video, ports 67-67
Xvideo: skipping ports 67-67 (configured other: 68)
Xvideo: video4linux: input video, ports 68-68
Xvideo: Matrox G-Series Backend Scaler: input image, ports 69-69
Xvideo: using port 68 for video
  XV_ENCODING get set, -1000 -> 1000
  XV_BRIGHTNESS get set, -1000 -> 1000
  XV_CONTRAST get set, -1000 -> 1000
  XV_SATURATION get set, -1000 -> 1000
  XV_HUE get set, -1000 -> 1000
  XV_MUTE get set, 0 -> 1
  XV_COLORKEY get set, 0 -> 16777215
xv: get XV_BRIGHTNESS: 35323
xv: get XV_CONTRAST: 26083
xv: get XV_SATURATION: 32505
xv: get XV_HUE: 32768
xv: set XV_MUTE: 0
xv: get XV_MUTE: 0
xv: set XV_SATURATION: -9
xv: set XV_BRIGHTNESS: 77
xv: set XV_HUE: 0
xv: set XV_CONTRAST: -205
Xvideo: video: win=0x1a00049, src=768x576+0+0 dst=384x288+0+0
Xvideo: video: win=0x1a00049, src=768x576+0+0 dst=1280x960+0+32


So there doesn't seem to be a big difference. Is there something a v4l
driver has to implement, so that xv scaling will work.
Both drivers deliver YUV422 and can write into video memory.

Marcus





[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