summaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api/media/v4l/dev-decoder.rst
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2020-06-16 16:37:35 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-04 12:42:39 +0200
commit874b8055bb3c42fe28dd8a1280a1d93a4f4156fa (patch)
tree06fbbb1683e2aedee1b100903ebd464b93d8c8f6 /Documentation/userspace-api/media/v4l/dev-decoder.rst
parenta32e8adf2fdbd4fd1d046769140a8afd0489fe65 (diff)
downloadlinux-874b8055bb3c42fe28dd8a1280a1d93a4f4156fa.tar.bz2
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 <stanimir.varbanov@linaro.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/userspace-api/media/v4l/dev-decoder.rst')
-rw-r--r--Documentation/userspace-api/media/v4l/dev-decoder.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/userspace-api/media/v4l/dev-decoder.rst b/Documentation/userspace-api/media/v4l/dev-decoder.rst
index 04034dbc0b3e..3d4138a4ba69 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: