video-get-capabilities.rst 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _VIDEO_GET_CAPABILITIES:
  3. ======================
  4. VIDEO_GET_CAPABILITIES
  5. ======================
  6. Name
  7. ----
  8. VIDEO_GET_CAPABILITIES
  9. .. attention:: This ioctl is deprecated.
  10. Synopsis
  11. --------
  12. .. c:function:: int ioctl(fd, VIDEO_GET_CAPABILITIES, unsigned int *cap)
  13. :name: VIDEO_GET_CAPABILITIES
  14. Arguments
  15. ---------
  16. .. flat-table::
  17. :header-rows: 0
  18. :stub-columns: 0
  19. - .. row 1
  20. - int fd
  21. - File descriptor returned by a previous call to open().
  22. - .. row 2
  23. - int request
  24. - Equals VIDEO_GET_CAPABILITIES for this command.
  25. - .. row 3
  26. - unsigned int \*cap
  27. - Pointer to a location where to store the capability information.
  28. Description
  29. -----------
  30. This ioctl call asks the video device about its decoding capabilities.
  31. On success it returns and integer which has bits set according to the
  32. defines in section ??.
  33. Return Value
  34. ------------
  35. On success 0 is returned, on error -1 and the ``errno`` variable is set
  36. appropriately. The generic error codes are described at the
  37. :ref:`Generic Error Codes <gen-errors>` chapter.