diff options
author | Dikshita Agarwal <quic_dikshita@quicinc.com> | 2023-05-22 07:48:15 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 14:03:10 +0100 |
commit | 3095607739d820fc691ab0cc6b85e801f74d2dc5 (patch) | |
tree | 227b04cf7fccd5f070da384a7381af5681bfe6c2 /drivers/media/platform/qcom/venus/vdec.c | |
parent | 2b832a06a8c85bca42b3cd6aacd703eea1feb784 (diff) | |
download | linux-stable-3095607739d820fc691ab0cc6b85e801f74d2dc5.tar.gz linux-stable-3095607739d820fc691ab0cc6b85e801f74d2dc5.tar.bz2 linux-stable-3095607739d820fc691ab0cc6b85e801f74d2dc5.zip |
media: venus: add support for V4L2_PIX_FMT_P010 color format
add V4L2_PIX_FMT_P010 as supported color format for decoder.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/qcom/venus/vdec.c')
-rw-r--r-- | drivers/media/platform/qcom/venus/vdec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/platform/qcom/venus/vdec.c b/drivers/media/platform/qcom/venus/vdec.c index bab985b12c81..7aeaf77ef84e 100644 --- a/drivers/media/platform/qcom/venus/vdec.c +++ b/drivers/media/platform/qcom/venus/vdec.c @@ -45,6 +45,11 @@ static const struct venus_format vdec_formats[] = { .num_planes = 1, .type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, }, + [VENUS_FMT_P010] = { + .pixfmt = V4L2_PIX_FMT_P010, + .num_planes = 1, + .type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, + }, [VENUS_FMT_H264] = { .pixfmt = V4L2_PIX_FMT_H264, .num_planes = 1, |