[PATCH 0/4] venus: add support for 10 bit decoding

From: Dikshita Agarwal
Date: Thu May 04 2023 - 06:37:14 EST


This series includes the changes to
- add V4L2_PIX_FMT_P010 as supported decoder format.
- consider dpb color format while calculating buffer
size for dpb buffers.
- update dpb and opb color format when bit depth
changes is detected, also update preferred color
format to P010 in this case.

With this series, divided the previous version [1] into
multiple patches as suggested in review comments.

[1] https://patchwork.linuxtv.org/project/linux-media/list/?series=10376

Dikshita Agarwal (4):
venus: add support for V4L2_PIX_FMT_P010 color format
venus: update calculation for dpb buffers
venus: add handling of bit depth change from firmwar
venus: return P010 as preferred format for 10 bit decode

drivers/media/platform/qcom/venus/helpers.c | 24 ++++++++++++++++++++++
drivers/media/platform/qcom/venus/hfi_plat_bufs.h | 3 +++
.../media/platform/qcom/venus/hfi_plat_bufs_v6.c | 8 +++++++-
drivers/media/platform/qcom/venus/vdec.c | 16 +++++++++++++--
4 files changed, 48 insertions(+), 3 deletions(-)

--
2.7.4