]> git.baikalelectronics.ru Git - kernel.git/commit
media: venus: vdec: handle 10bit bitstreams
authorAniket Masule <amasule@codeaurora.org>
Wed, 4 Dec 2019 10:18:40 +0000 (11:18 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 27 Feb 2020 15:49:02 +0000 (16:49 +0100)
commita5505fa53f5412f48ac930d09a9c57b57d549052
tree5933f3007ab0cbd1341481f79d3084b08c2116ff
parentf6514cc7eeb077f68071d2ecdd76ae95bcd90abc
media: venus: vdec: handle 10bit bitstreams

Handle 10bit video streams in the decoder by using dithering, i.e
the decoder output buffers will be in 8bit format.

The runtime handling is implemented by sending v4l2 event to
userspace application, then the application should stop the
streaming on capture queue and initiate format negotiation, and
start streaming again.

Signed-off-by: Aniket Masule <amasule@codeaurora.org>
Co-developed-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/core.h
drivers/media/platform/qcom/venus/helpers.c
drivers/media/platform/qcom/venus/hfi_helper.h
drivers/media/platform/qcom/venus/vdec.c