media: v4l2-ctrl: Add frame-specific min/max qp controls for hevc
authorDikshita Agarwal <dikshita@codeaurora.org>
Thu, 24 Dec 2020 11:25:33 +0000 (12:25 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 14 Jan 2021 12:51:18 +0000 (13:51 +0100)
commit99d0cbe4be78ca33f06089521a8a0d76a20cdbb7
treeb8ec26447e2092efda2b2066b882f77c4669344d
parentae56e038f72d8192ecb63233520c86c52c1d9ce6
media: v4l2-ctrl: Add frame-specific min/max qp controls for hevc

- Adds min/max qp controls for B frame for h264.
- Adds min/max qp controls for I/P/B frames for hevc similar to h264.
- Update valid range of min/max qp for hevc to accommodate 10 bit.

Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h