common.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2. .. c:namespace:: V4L
  3. .. _common:
  4. ###################
  5. Common API Elements
  6. ###################
  7. Programming a V4L2 device consists of these steps:
  8. - Opening the device
  9. - Changing device properties, selecting a video and audio input, video
  10. standard, picture brightness a. o.
  11. - Negotiating a data format
  12. - Negotiating an input/output method
  13. - The actual input/output loop
  14. - Closing the device
  15. In practice most steps are optional and can be executed out of order. It
  16. depends on the V4L2 device type, you can read about the details in
  17. :ref:`devices`. In this chapter we will discuss the basic concepts
  18. applicable to all devices.
  19. .. toctree::
  20. :maxdepth: 1
  21. open
  22. querycap
  23. app-pri
  24. video
  25. audio
  26. tuner
  27. standard
  28. dv-timings
  29. control
  30. extended-controls
  31. ext-ctrls-camera
  32. ext-ctrls-flash
  33. ext-ctrls-image-source
  34. ext-ctrls-image-process
  35. ext-ctrls-codec
  36. ext-ctrls-codec-stateless
  37. ext-ctrls-jpeg
  38. ext-ctrls-dv
  39. ext-ctrls-rf-tuner
  40. ext-ctrls-fm-tx
  41. ext-ctrls-fm-rx
  42. ext-ctrls-detect
  43. ext-ctrls-colorimetry
  44. fourcc
  45. format
  46. planar-apis
  47. selection-api
  48. crop
  49. streaming-par