video: driver: Add enc vbr min quality restrictions

Do not support vbr min quality with below configs:
- HEVC 10bit
- Bitstream fps > 60
- ROI enabled/support
- HP encoding
- External Blur
- Resolution beyond 1080P.

Change-Id: I5e4a420abdd0c6fee4342c3c097684ef69bb0597
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:
Akshata Sahukar
2021-06-14 13:25:26 -07:00
parent 71bb59790c
commit 36a4971392
8 changed files with 271 additions and 64 deletions

View File

@@ -130,8 +130,6 @@ enum v4l2_mpeg_vidc_blur_types {
/* Encoder Input Compression Ratio control */
#define V4L2_CID_MPEG_VIDC_ENC_INPUT_COMPRESSION_RATIO \
(V4L2_CID_MPEG_VIDC_BASE + 0x2C)
#define V4L2_CID_MPEG_VIDC_MIN_QUALITY \
(V4L2_CID_MPEG_VIDC_BASE + 0x2D)
#define V4L2_CID_MPEG_VIDC_METADATA_DEC_QP_METADATA \
(V4L2_CID_MPEG_VIDC_BASE + 0x2E)
/* Encoder Complexity control */