video: driver: inline preprocessing improvement

For VPSS, FW requests more bandwidth from HW.
In order to support inline processing, FW introduced
request preprcess property.

Enble this property only when following conditions are met:
- CAC-BRS is required
- don't have EVA stats.
- Upto 4k@60 fps, max( frame rate, operating rate) <= 60

Change-Id: I3cf83483d9320e5dfe20617b37a54b9d5fbcffd8
Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
This commit is contained in:
Mahesh Kumar Sharma
2022-03-31 18:41:44 -07:00
parent 2d69ee17ae
commit 508f4a0282
7 changed files with 105 additions and 3 deletions

View File

@@ -290,6 +290,11 @@ enum msm_vidc_matrix_coefficients {
MSM_VIDC_MATRIX_COEFF_BT2100 = 14,
};
enum msm_vidc_preprocess_type {
MSM_VIDC_PREPROCESS_NONE = BIT(0),
MSM_VIDC_PREPROCESS_TYPE0 = BIT(1),
};
enum msm_vidc_core_capability_type {
CORE_CAP_NONE = 0,
ENC_CODECS,
@@ -492,6 +497,7 @@ enum msm_vidc_inst_capability_type {
MIN_QUALITY,
CONTENT_ADAPTIVE_CODING,
BLUR_TYPES,
REQUEST_PREPROCESS,
/* place all intermittent(having both parent and child) enums before this line */
MIN_FRAME_QP,