Draft 0.21
Michael H Schimek
Bill Dirks
Hans Verkuil
Martin Rubli
Copyright © 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Bill Dirks, Michael H. Schimek, Hans Verkuil, Martin Rubli
This document is copyrighted © 1999-2006 by Bill Dirks, Michael H. Schimek, Hans Verkuil and Martin Rubli.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the appendix entitled "GNU Free Documentation License".
Programming examples can be used and distributed without restrictions.
Table of Contents 1. -
1.1. -
1.1.1. 1.1.2. 1.1.3. 1.1.4. 1.1.5.
1.2. 1.3. 1.4. 1.5. 1.6. -
1.6.1. 1.6.2. 1.6.3. 1.6.4.
1.7. 1.8. 1.9. -
1.9.1. 1.9.2. 1.9.3. 1.9.4. 1.9.5.
1.10. -
1.10.1. 1.10.2.
1.11. 1.12.
2. -
2.1. 2.2. 2.3. -
-- Packed RGB formats -- Bayer RGB format.
2.4. -
-- Grey-scale image. -- Packed format with ½ horizontal chroma resolution, also known as YUV 4:2:2. -- Variation of V4L2_PIX_FMT_YUYV
with different order of samples in memory. -- Packed format with ¼ horizontal chroma resolution, also known as YUV 4:1:1. -- Planar formats with ½ horizontal and vertical chroma resolution, also known as YUV 4:2:0. -- Planar formats with ¼ horizontal and vertical chroma resolution, also known as YUV 4:1:0. -- Format with ½ horizontal chroma resolution, also known as YUV 4:2:2. Planar layout as opposed to V4L2_PIX_FMT_YUYV
. -- Format with ¼ horizontal chroma resolution, also known as YUV 4:1:1. Planar layout as opposed to V4L2_PIX_FMT_Y41P
. -- Formats with ½ horizontal and vertical chroma resolution, also known as YUV 4:2:0. One luminance and one chrominance plane with alternating chroma samples as opposed to V4L2_PIX_FMT_YVU420
.
2.5. 2.6.
3. -
3.1. 3.2. 3.3. 3.4. 3.5. -
3.5.1.
3.6.
4. -
4.1. -
4.1.1. 4.1.2. 4.1.3. 4.1.4.
4.2. -
4.2.1. 4.2.2. 4.2.3. 4.2.4. 4.2.5.
4.3. -
4.3.1. 4.3.2. 4.3.3. 4.3.4.
4.4. 4.5. 4.6. -
4.6.1. 4.6.2. 4.6.3. 4.6.4.
4.7. -
4.7.1. 4.7.2. 4.7.3. 4.7.4.
4.8. 4.9. -
4.9.1. 4.9.2. 4.9.3.
4.10.
I. -
-- Close a V4L2 device -- Program a V4L2 device -- Information about the video cropping and scaling abilities. -- Enumerate audio inputs -- Enumerate audio outputs -- Enumerate image formats -- Enumerate frame sizes -- Enumerate frame intervals -- Enumerate video inputs -- Enumerate video outputs -- Enumerate supported video standards -- Query or select the current audio input and its attributes -- Query or select the current audio output -- Get or set compression parameters -- Get or set the current cropping rectangle -- Get or set the value of a control -- Get or set the value of several controls, try control values. -- Get or set frame buffer overlay parameters. -- Get or set the data format, try a format. -- Get or set tuner or modulator radio frequency -- Query or select the current video input -- -- Get or set modulator attributes -- Query or select the current video output -- Get or set streaming parameters -- Query or request the access priority associated with a file descriptor -- Query sliced VBI capabilities -- Query or select the video standard of the current input -- Get or set tuner attributes -- Log driver status information -- Start or stop video overlay -- Exchange a buffer with the driver -- Query the status of a buffer -- Query device capabilities -- Enumerate controls and menu control items -- Sense the video standard received by the current input -- Initiate Memory Mapping or User Pointer I/O -- Start or stop streaming I/O -- Map device memory into application address space -- Unmap device memory -- Open a V4L2 device -- Wait for some event on a file descriptor -- Read from a V4L2 device -- Synchronous I/O multiplexing -- Write to a V4L2 device
5. 6. -
6.1. -
6.1.1. 6.1.2. 6.1.3. 6.1.4. 6.1.5. 6.1.6. 6.1.7. 6.1.8. 6.1.9. 6.1.10. 6.1.11.
6.2. -
6.2.1. 6.2.2. 6.2.3. 6.2.4. 6.2.5. 6.2.6. 6.2.7. 6.2.8. 6.2.9. 6.2.10. 6.2.11. 6.2.12. 6.2.13. 6.2.14. 6.2.15. 6.2.16. 6.2.17. 6.2.18. 6.2.19. 6.2.20. 6.2.21. 6.2.22. 6.2.23. 6.2.24. 6.2.25.
6.3. -
6.3.1. 6.3.2. 6.3.3.
A. B. C. -
C.1. C.2. C.3. C.4. C.5. C.6. C.7. C.8. C.9. C.10. C.11. C.12.
List of Tables 1-1. 1-2. 1-3. 2-1. 2-2. 2-1. 2-4. 2-5. 3-1. 3-2. 3-3. 3-4. 3-5. 3-6. 3-7. 3-8. 4-1. 4-2. 4-3. 4-4. 4-5. 4-6. 4-7. 4-8. 1. 2. 1. 2. 1. 2. 3. 4. 1. 2. 3. 1. 2. 3. 1. 2. 1. 2. 3. 4. ]) 1. 2. 3. 1. 1. 1. 1. 1. 2. 3. 1. 2. 3. 1. 1. 1. 2. 1. 2. 1. 2. 3. 4. 5. 1. 1. 2. 1. 2. 3. 4. 5. 6. 1. 2. 1. 2. 3. 4. 1. 6-1.
List of Figures 1-1. 3-1. 3-2. 4-1. 4-2. 4-3.
List of Examples 1-1. 1-2. 1-3. 1-4. 1-5. 1-6. 1-7. 1-8. 1-9. 1-10. 1-11. 1-12. 2-1. 2-1. 2-1. 2-1. 2-1. 2-1. 2-1. 2-1. 2-1. 2-1. 2-1. 2-1. 3-1. 3-2.