Lines Matching +full:per +full:- +full:stream
1 .. SPDX-License-Identifier: GPL-2.0
6 Memory-to-memory Stateless Video Decoder Interface
15 has to do is to provide the raw encoded stream and dequeue decoded frames in
18 This section describes how user-space ("the client") is expected to communicate
19 with stateless decoders in order to successfully decode an encoded stream.
24 Stateless decoders make use of the :ref:`media-request-api`. A stateless
31 with multiple slices per frame). Decoders that support such formats must also
45 codec-specific capability controls (such as H.264 profiles) to the set
55 formats may depend on the value of some codec-dependent controls.
83 coded width and height parsed from the stream.
119 as per standard semantics; matching frame buffer format.
162 frame buffer resolution of the decoded stream; typically unchanged from
167 to obtain up-to-date information about the buffers size and layout.
201 for the stream to be properly decoded (taking e.g. reference frames
218 ``CAPTURE`` buffers for the current format, stream configuration and
222 8. Allocate requests (likely one per ``OUTPUT`` buffer) via
237 require) different amounts per unit.
243 format and might be affected by codec-specific extended controls, as stated in
279 must be set to a unique value per frame. This value will be propagated
281 as the reference of another. If using multiple decode requests per
287 2. Set the codec-specific controls for the decoding request, using
300 array must contain all the codec-specific controls required to decode
319 :c:func:`MEDIA_REQUEST_IOC_QUEUE` will return ``-ENOENT``. If more than one
320 ``OUTPUT`` buffer is queued, then it will return ``-EINVAL``.
321 :c:func:`MEDIA_REQUEST_IOC_QUEUE` returning non-zero means that no
345 and storing it into the relevant member of a codec-dependent control structure.
355 order, then user-space can take advantage of this guarantee and queue a
372 corresponding to the new stream position. It must however be aware that
379 from the pre-seek position.
391 If the client detects a resolution change in the stream, it will need to perform
423 After that, in order to drain the stream on a stateless decoder, the client