[PATCH v3 0/2] Intra-refresh type control

From: quic_dikshita
Date: Mon Mar 14 2022 - 04:05:22 EST


From: Dikshita Agarwal <quic_dikshita@xxxxxxxxxxx>

Hi,

This series add a new intra-refresh type control for encoders.
this can be used to specify which intra refresh to be enabled, random, cyclic or none.

Change since v0:
Dropped INTRA_REFRESH_TYPE_NONE as it was not needed.
Intra refresh period value as zero will disable the intra refresh.

Change since v1:
Updated the control name for better undestanding.
Also updated the documentation accordingly.

Change since v2:
Updated the venus driver implementation as well to use the
correct control name. Missed in v2.

Thanks,
Dikshita


Dikshita Agarwal (2):
media: v4l2-ctrls: Add intra-refresh type control
venus: venc: Add support for intra-refresh mode

.../userspace-api/media/v4l/ext-ctrls-codec.rst | 27 ++++++++++++++++++++++
drivers/media/platform/qcom/venus/core.h | 1 +
drivers/media/platform/qcom/venus/venc.c | 4 +++-
drivers/media/platform/qcom/venus/venc_ctrls.c | 8 +++++++
drivers/media/v4l2-core/v4l2-ctrls-defs.c | 9 ++++++++
include/uapi/linux/v4l2-controls.h | 5 ++++
6 files changed, 53 insertions(+), 1 deletion(-)

--
2.7.4