• Home
  • Raw
  • Download

Lines Matching full:decoder

6 Memory-to-Memory Stateful Video Decoder Interface
9 A stateful video decoder takes complete chunks of the bytestream (e.g. Annex-B
11 display order. The decoder is expected not to require any additional information
16 operations are needed, use of the Stateless Video Decoder Interface (in
36 depending on decoder capabilities and following the general V4L2 guidelines.
57 the application communicating with the decoder or encoder implementing
87 ``CAPTURE`` buffers must be returned by the decoder in display order.
97 Instantaneous Decoder Refresh; a type of a keyframe in an H.264/HEVC-encoded
129 data fed to the decoder or encoder; see ``OUTPUT``.
164 :alt: DOT digraph of decoder state machine
165 :caption: Decoder State Machine
210 1. To enumerate the set of coded formats supported by the decoder, the
216 about the decoder's capabilities with respect to each coded format.
217 In particular whether or not the decoder has a full-fledged bytestream
218 parser and if the decoder supports dynamic resolution changes.
236 decoder for given coded pixel format.
240 decoder for given raw pixel format and the coded format currently set on
262 from the stream for the given coded format; otherwise the decoder will
267 desired size of ``OUTPUT`` buffers; the decoder may adjust it to
282 after the decoder is done parsing the information from the stream, it will
290 format. How the new ``CAPTURE`` format is determined is up to the decoder
353 indicated by the decoder sending a ``V4L2_EVENT_SOURCE_CHANGE`` event with
373 Any client query issued after the decoder queues the event will return
384 selection rectangles and controls, since the decoder has not parsed them
386 those parsed by the decoder, a `Dynamic Resolution Change` will be
423 decoder for the current stream. The decoder should choose a
480 The values are guaranteed to be meaningful only after the decoder
491 The decoder will return only formats supported for the currently
494 may be supported by the decoder in general. In other words, the set
498 For example, a decoder may support YUV and RGB formats for resolutions
502 but after parsing resolution higher than 1920x1088, the decoder will not
512 selected/suggested by the decoder in :c:func:`VIDIOC_G_FMT`.
532 the ``CAPTURE`` queue if it is desired and if the decoder has compose and/or
556 The decoder may adjust the compose rectangle to the nearest
682 let the decoder configure the ``CAPTURE`` format appropriately,
721 returning a decoded frame allowed the decoder to return a frame that
755 During the decoding, the decoder may initiate one of the special sequences, as
756 listed below. The sequences will result in the decoder returning all the
773 of details depending on the decoder capabilities. Specifically:
778 * if the decoder is able to precisely report the OUTPUT buffer that triggered
783 further operations on corresponding decoder file handle will return the -EIO
793 it may be affected as per normal decoder operation.
803 * The decoder will drop all the pending ``OUTPUT`` buffers and they must be
813 * The decoder will start accepting new source bytestream buffers after the
824 resume point is found. While looking for a resume point, the decoder
837 keyframe, the stale SPS/PPS inside decoder state would lead to undefined
838 results when decoding. Although the decoder must handle that case without
847 4. After a resume point is found, the decoder will start returning ``CAPTURE``
855 as per normal decoder operation.
863 The decoder may return a number of remaining ``CAPTURE`` buffers containing
882 decoder.
901 The sequence starts when the decoder detects a coded frame with one or more of
913 Whenever that happens, the decoder must proceed as follows:
915 1. After encountering a resolution change in the stream, the decoder sends a
921 Any client query issued after the decoder queues the event will return
925 2. The decoder will then process and decode all remaining buffers from before
950 A source change triggers an implicit decoder drain, similar to the
951 explicit `Drain` sequence. The decoder is stopped after it completes.
1033 For backwards compatibility, the decoder will signal a ``V4L2_EVENT_EOS``
1039 are dequeued and the last ``CAPTURE`` buffer is dequeued, the decoder is
1043 * ``V4L2_DEC_CMD_START`` - the decoder will not be reset and will resume
1047 ``CAPTURE`` queue - the decoder will resume the operation normally,
1064 Although not mandatory, the availability of decoder commands may be queried
1070 If the decoder encounters an end of stream marking in the stream, the decoder
1078 decoder.
1091 will result in the decoder adjusting the requested ``CAPTURE`` format to a