Xv − X Window System video extension
The X Video Extension (Xv) extension provides support for video adaptors attached to an X display. It takes the approach that a display may have one or more video adaptors, each of which has one or more ports through which independent video streams pass.
An adaptor may be able to display video in a drawable, capture video from a drawable, or both. It translates between video encoding (NTSC, PAL, SECAM, etc...) and drawable format (depth and visual-id pair). An adaptor may support multiple video encodings and/or multiple drawable formats.
Clients use Xv(3) to gain access and manage sharing of a display’s video resources. Typically, a client will use XvQueryExtension(3) to determine the status of the extension, XvQueryAdaptors(3) to get a description of what video adaptors exist, and XvQueryEncodings(3) to get a description of what video encodings an adaptor supports.
Once a client has determined what video resources are available, it is free to put video into a drawable or get video from a drawable, according the capabilities supported. Clients can select to receive events when video activity changes in a drawable and when port attributes have changed.
The Xv protocol version 2.2 and later is extended to support client images in alternate colorspaces (XvImages). Xv adaptors which are capable of displaying XvImages will have the XvImageMask field set in the type field of the XvAdaptorInfo. XvImage formats supported by the port may be queried with XvListImageFormats(3). XvImages may be created with the help of XvCreateImage(3) or XvShmCreateImage(3); XvImages may be displayed with XvPutImage(3) or XvShmPutImage(3). The Port attributes of the port specified in the Xv(Shm)PutImage command will be valid for the image operation when applicable. There will be a port encoding with the name "XV_IMAGE". The width and height of that encoding will indicate the maximum source image size.
The following is a summary of Xv library functions and events:
XvCreateImage(3) − create an XvImage
XvGetPortAttribute(3) − return current port attribute value
XvGetStill(3) − capture a single frame of video from a drawable
XvGetVideo(3) − capture video from a drawable
XvGrabPort(3) − lock port for exclusive use by client
XvListImageFormats(3) − return list of image formats for a port
XvPortNotify(3) − event generated when port attributes change
XvPutImage(3) − write a XvImage to a drawable
XvPutStill(3) − write a single frame of video to a drawable
XvPutVideo(3) − write video into a drawable
XvQueryAdaptors(3) − return adaptor information for a screen
XvQueryBestSize(3) − determine the optimum drawable region size
XvQueryEncodings(3) − return list of encodings for an adaptor
XvQueryExtension(3) − return version and revision of extension
XvQueryPortAttributes(3) − return list of attributes of a port
XvSelectPortNotify(3) − enable or disable XvPortNotify events
XvSelectVideoNotify(3) − enable or disable XvVideoNotify events
XvSetPortAttribute(3) − set an attribute for a port
XvShmCreateImage(3) − create an XvImage in shared memory
XvShmPutImage(3) − write a XvImage in shared memory to a drawable
XvStopVideo(3) − stop active video
XvUngrabPort(3) − release a grabbed port
XvVideoNotify(3) − event generated for video processing
Each of these functions and events is described in its own Xv man page.
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.