vidioc-overlay.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <refentry id="vidioc-overlay">
  2. <refmeta>
  3. <refentrytitle>ioctl VIDIOC_OVERLAY</refentrytitle>
  4. &manvol;
  5. </refmeta>
  6. <refnamediv>
  7. <refname>VIDIOC_OVERLAY</refname>
  8. <refpurpose>Start or stop video overlay</refpurpose>
  9. </refnamediv>
  10. <refsynopsisdiv>
  11. <funcsynopsis>
  12. <funcprototype>
  13. <funcdef>int <function>ioctl</function></funcdef>
  14. <paramdef>int <parameter>fd</parameter></paramdef>
  15. <paramdef>int <parameter>request</parameter></paramdef>
  16. <paramdef>const int *<parameter>argp</parameter></paramdef>
  17. </funcprototype>
  18. </funcsynopsis>
  19. </refsynopsisdiv>
  20. <refsect1>
  21. <title>Arguments</title>
  22. <variablelist>
  23. <varlistentry>
  24. <term><parameter>fd</parameter></term>
  25. <listitem>
  26. <para>&fd;</para>
  27. </listitem>
  28. </varlistentry>
  29. <varlistentry>
  30. <term><parameter>request</parameter></term>
  31. <listitem>
  32. <para>VIDIOC_OVERLAY</para>
  33. </listitem>
  34. </varlistentry>
  35. <varlistentry>
  36. <term><parameter>argp</parameter></term>
  37. <listitem>
  38. <para></para>
  39. </listitem>
  40. </varlistentry>
  41. </variablelist>
  42. </refsect1>
  43. <refsect1>
  44. <title>Description</title>
  45. <para>This ioctl is part of the <link linkend="overlay">video
  46. overlay</link> I/O method. Applications call
  47. <constant>VIDIOC_OVERLAY</constant> to start or stop the
  48. overlay. It takes a pointer to an integer which must be set to
  49. zero by the application to stop overlay, to one to start.</para>
  50. <para>Drivers do not support &VIDIOC-STREAMON; or
  51. &VIDIOC-STREAMOFF; with <constant>V4L2_BUF_TYPE_VIDEO_OVERLAY</constant>.</para>
  52. </refsect1>
  53. <refsect1>
  54. &return-value;
  55. <variablelist>
  56. <varlistentry>
  57. <term><errorcode>EINVAL</errorcode></term>
  58. <listitem>
  59. <para>The overlay parameters have not been set up. See <xref
  60. linkend="overlay" /> for the necessary steps.</para>
  61. </listitem>
  62. </varlistentry>
  63. </variablelist>
  64. </refsect1>
  65. </refentry>