• Home
  • Raw
  • Download

Lines Matching full:encoder

6 Memory-to-Memory Stateful Video Encoder Interface
9 A stateful video encoder takes raw video frames in display order and encodes
16 operations are needed, use of the Stateless Video Encoder Interface (in
36 depending on encoder capabilities and following the general V4L2 guidelines.
53 :alt: DOT digraph of encoder state machine
54 :caption: Encoder State Machine
87 1. To enumerate the set of coded formats supported by the encoder, the
109 encoder for the given coded pixel format.
113 encoder for the given raw pixel format and coded format currently set on
124 supported by the encoder for the given coded pixel format and resolution.
128 by the encoder for the given raw pixel format and resolution and for the
140 6. Any additional encoder capabilities may be discovered by querying
157 desired size of ``CAPTURE`` buffers; the encoder may adjust it to
172 the coded size selected by the encoder based on current state, e.g.
178 format. How the new ``OUTPUT`` format is determined is up to the encoder
221 may be adjusted to match encoder minimums, maximums and alignment
245 the desired frame interval; the encoder may adjust it to
256 the encoder uses to encode the video. So setting the frame interval
296 the desired coded frame interval; the encoder may adjust it to
308 ``CAPTURE`` queue, that depends on how fast the encoder is and how
345 visible rectangle adjusted by the encoder.
371 The encoder may adjust the crop/compose rectangles to the nearest
435 restarts it again, the encoder will begin generating a stream independent
469 ``CAPTURE`` (for example, if returning an encoded frame allowed the encoder
485 encoder needs to use the frame as a reference for encoding further frames.
515 of details depending on the encoder capabilities. Specifically:
520 * if the encoder is able to precisely report the ``OUTPUT`` buffer(s) that triggered
532 further operations on corresponding encoder file handle will return the -EIO
540 The client is allowed to use :c:func:`VIDIOC_S_CTRL` to change encoder
541 parameters at any time. The availability of parameters is encoder-specific
542 and the client must query the encoder to find the set of available controls.
544 The ability to change each parameter during encoding is encoder-specific, as
551 The timing of parameter updates is encoder-specific, as per the standard
554 (:ref:`media-request-api`) should be considered, if supported by the encoder.
613 For backwards compatibility, the encoder will signal a ``V4L2_EVENT_EOS``
619 dequeued and the last ``CAPTURE`` buffer is dequeued, the encoder is stopped
623 * ``V4L2_ENC_CMD_START`` - the encoder will not be reset and will resume
627 ``CAPTURE`` queue - the encoder will be reset (see the `Reset` sequence)
631 ``OUTPUT`` queue - the encoder will resume operation normally, however any
648 immediately and the encoder returns an empty ``CAPTURE`` buffer with the
665 Although not mandatory, the availability of encoder commands may be queried
671 The client may want to request the encoder to reinitialize the encoding, so
704 encoder.
717 will result in the encoder adjusting the requested ``OUTPUT`` format to a