mbox series

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

Message ID 1647244809-25340-1-git-send-email-quic_dikshita@quicinc.com (mailing list archive)
Headers show
Series Intra-refresh type control | expand

Message

Dikshita Agarwal March 14, 2022, 8 a.m. UTC
From: Dikshita Agarwal <quic_dikshita@quicinc.com>

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(-)