gc
Querying Xv capabilities
The first place to start is by using the xvinfo command to query
Xv's capabilities. This is assuming you have Xv enabled in Xfree86 config
file and that you have Xv extension loaded and working.
The syntax for xvinfo is:
xvinfo [-display host:dpy]
Where [-display host:dpy] portion will default to localhost:0:0 unless
specified otherwise. Running this on my current system yields:
X-Video Extension version 2.2
screen #0
Adaptor #0: "3dfx Video Overlay"
number of ports: 1
port base: 55
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
number of attributes: 2
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 30)
"XV_FILTER_QUALITY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
maximum XvImage size: 2048 x 2048
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
Where to start coding
Back to Tesseract links
Company profile
Services
Clients and Projects
Contact us
Links
People