From: Stanimir Varbanov Date: Tue, 16 Jun 2020 14:37:35 +0000 (+0200) Subject: media: docs: dev-decoder: Add one more reason for dynamic change X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=874b8055bb3c42fe28dd8a1280a1d93a4f4156fa;p=linux.git media: docs: dev-decoder: Add one more reason for dynamic change Add bit-depth change as one more reason which could change in the middle of the stream. For the worst case the stream is 8bit at the beginning but later in the bit-stream it changes to 10bit. That change should be propagated to the client so that it can take the appropriate action. In that case it has to stop the streaming on the capture queue, re-negotiate the pixel format, allocate new buffers and start the streaming again. Signed-off-by: Stanimir Varbanov Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/userspace-api/media/v4l/dev-decoder.rst b/Documentation/userspace-api/media/v4l/dev-decoder.rst index 04034dbc0b3ed..3d4138a4ba691 100644 --- a/Documentation/userspace-api/media/v4l/dev-decoder.rst +++ b/Documentation/userspace-api/media/v4l/dev-decoder.rst @@ -906,7 +906,9 @@ reflected by corresponding queries): * visible resolution (selection rectangles), -* the minimum number of buffers needed for decoding. +* the minimum number of buffers needed for decoding, + +* bit-depth of the bitstream has been changed. Whenever that happens, the decoder must proceed as follows: