Lines Matching full:output
41 7. Given an ``OUTPUT`` buffer A, then A’ represents a buffer on the ``CAPTURE``
78 ``OUTPUT`` buffers must be queued by the client in decode order; for
85 the order in which frames must be displayed; for encoders, ``OUTPUT``
109 OUTPUT
114 from ``OUTPUT`` buffers.
129 data fed to the decoder or encoder; see ``OUTPUT``.
188 Decoding -> Seek [ label = "VIDIOC_STREAMOFF(OUTPUT)" ];
193 ResChange -> Seek [ label = "VIDIOC_STREAMOFF(OUTPUT)" ];
198 Drain -> Seek [ label = "VIDIOC_STREAMOFF(OUTPUT)" ];
200 Seek -> Decoding [ label = "VIDIOC_STREAMON(OUTPUT)" ];
201 Seek -> Initialization [ label = "VIDIOC_REQBUFS(OUTPUT, 0)" ];
204 Stopped -> Seek [ label = "VIDIOC_STREAMOFF(OUTPUT)" ];
211 client may call :c:func:`VIDIOC_ENUM_FMT` on ``OUTPUT``.
223 * Only the formats supported for the format currently active on ``OUTPUT``
227 the client must first set that coded format on ``OUTPUT`` and then
241 ``OUTPUT``.
244 ``OUTPUT``, if applicable, may be queried using their respective controls
250 1. Set the coded format on ``OUTPUT`` via :c:func:`VIDIOC_S_FMT`.
255 a ``V4L2_BUF_TYPE_*`` enum appropriate for ``OUTPUT``.
267 desired size of ``OUTPUT`` buffers; the decoder may adjust it to
276 adjusted size of ``OUTPUT`` buffers.
289 Changing the ``OUTPUT`` format may change the currently set ``CAPTURE``
294 ``OUTPUT``.
302 a ``V4L2_BUF_TYPE_*`` enum appropriate for ``OUTPUT``.
318 Alternatively, :c:func:`VIDIOC_CREATE_BUFS` on the ``OUTPUT`` queue can be
327 a ``V4L2_BUF_TYPE_*`` enum appropriate for ``OUTPUT``.
346 3. Start streaming on the ``OUTPUT`` queue via :c:func:`VIDIOC_STREAMON`.
350 ``OUTPUT`` queue via :c:func:`VIDIOC_QBUF` and :c:func:`VIDIOC_DQBUF`. The
380 its own may attempt to set the width and height of the ``OUTPUT`` format
456 the rectangle within the coded resolution to be output to
492 established coded format, as per the ``OUTPUT`` format and/or stream
593 The ``OUTPUT`` queue must remain streaming. Calling
681 * set width and height of the ``OUTPUT`` format to desired coded resolution to
701 The content of the source ``OUTPUT`` buffers depends on the active coded pixel
708 coded frames to the ``OUTPUT`` queue, due to properties of the selected coded
712 and ``OUTPUT`` buffers and any specific timing of buffers becoming
715 * a buffer queued to ``OUTPUT`` may result in no buffers being produced
719 * a buffer queued to ``OUTPUT`` may result in more than one buffer produced
724 * a buffer queued to ``OUTPUT`` may result in a buffer being produced on
726 ``OUTPUT`` buffers, or be returned out of order, e.g. if display
730 buffers queued to ``OUTPUT`` (e.g. during drain or ``EOS``), because of the
731 ``OUTPUT`` buffers queued in the past whose decoding results are only
736 To allow matching decoded ``CAPTURE`` buffers with ``OUTPUT`` buffers they
738 :c:type:`v4l2_buffer` struct when queuing an ``OUTPUT`` buffer. The
739 ``CAPTURE`` buffer(s), which resulted from decoding that ``OUTPUT`` buffer
742 In addition to the straightforward case of one ``OUTPUT`` buffer producing
745 * one ``OUTPUT`` buffer generates multiple ``CAPTURE`` buffers: the same
746 ``OUTPUT`` timestamp will be copied to multiple ``CAPTURE`` buffers.
748 * multiple ``OUTPUT`` buffers generate one ``CAPTURE`` buffer: timestamp of
749 the ``OUTPUT`` buffer queued first will be copied.
752 buffers are out-of-order compared to the ``OUTPUT`` buffers): ``CAPTURE``
753 timestamps will not retain the order of ``OUTPUT`` timestamps.
757 ``CAPTURE`` buffers that originated from all the ``OUTPUT`` buffers processed
778 * if the decoder is able to precisely report the OUTPUT buffer that triggered
791 Seek is controlled by the ``OUTPUT`` queue, as it is the source of coded data.
795 1. Stop the ``OUTPUT`` queue to begin the seek sequence via
801 a ``V4L2_BUF_TYPE_*`` enum appropriate for ``OUTPUT``.
803 * The decoder will drop all the pending ``OUTPUT`` buffers and they must be
806 2. Restart the ``OUTPUT`` queue via :c:func:`VIDIOC_STREAMON`.
811 a ``V4L2_BUF_TYPE_*`` enum appropriate for ``OUTPUT``.
816 3. Start queuing buffers containing coded data after the seek to the ``OUTPUT``
822 from a resume point (e.g. SPS or a keyframe). Any queued ``OUTPUT``
840 decode output.
860 containing decoded data from the ``OUTPUT`` buffers queued after the seek,
861 as it operates independently from the ``OUTPUT`` queue.
864 decoded frames originating from the ``OUTPUT`` buffers queued before the
868 ``OUTPUT`` buffers, which means that not all of the ``OUTPUT`` buffers
871 ``OUTPUT`` queue:
880 seek, the client may observe the timestamps to match the CAPTURE and OUTPUT
905 * coded resolution (``OUTPUT`` width and height),
961 During the resolution change sequence, the ``OUTPUT`` queue must remain
962 streaming. Calling :c:func:`VIDIOC_STREAMOFF` on the ``OUTPUT`` queue would
965 In principle, the ``OUTPUT`` queue operates separately from the ``CAPTURE``
970 buffers to/from the ``OUTPUT`` queue even while processing this sequence.
975 To ensure that all queued ``OUTPUT`` buffers have been processed and related
978 received all decoded frames for all ``OUTPUT`` buffers queued before the
996 The sequence can be only initiated if both ``OUTPUT`` and ``CAPTURE``
1002 2. Any ``OUTPUT`` buffers queued by the client before the
1026 * dequeuing processed ``OUTPUT`` buffers, until all the buffers queued
1038 3. Once all the ``OUTPUT`` buffers queued before the ``V4L2_DEC_CMD_STOP`` call
1040 stopped and it will accept, but not process, any newly queued ``OUTPUT``
1052 ``OUTPUT`` queue - any pending source buffers will be returned to the
1059 issuing :c:func:`VIDIOC_STREAMOFF` on any of the ``OUTPUT`` or ``CAPTURE``
1080 1. Setting the format on the ``OUTPUT`` queue may change the set of formats
1086 supported for the current ``OUTPUT`` format.
1089 formats available on the ``OUTPUT`` queue. An attempt to set a ``CAPTURE``
1090 format that is not supported for the currently selected ``OUTPUT`` format
1094 4. Enumerating formats on the ``OUTPUT`` queue always returns the full set of
1097 5. While buffers are allocated on any of the ``OUTPUT`` or ``CAPTURE`` queues,
1098 the client must not change the format on the ``OUTPUT`` queue. Drivers will
1102 ``OUTPUT`` queue and the ``OUTPUT`` queue is the master that governs the