video: driver: CBR and Blur handling enhancements
This change is made to support 100ms VBV delay for aggressive rate control in iris3 hw. Video buffer verifer helps to ensure that encoded stream doesn't overflow or underflow the decoder's buffer. iris3 hw is capable to decode data in 100ms VBV buffer window. Adaptive Blur (Internal encoder feature): This is other enhancement which supports adaptive blur feature on iris3 for CBR_VFR (Constant bit rate_Variable frame rate)/CBR_CFR (Constant bit rate_Constant frame rate) rc types apart from already supported VBR_CFR. Unlike iris2, there is no need to enable CAC. Below are the listed scenarios when it is enabled/disabled on iris3- - Supported only for 8 bits encoding (H.264 & H.265). - By default enabled for VBR_CFR/CBR_VFR/CBR_CFR RC without CAC enabled. - No dependency on CAC to be enabled. - Adaptive Blur is disabled if minquality_VBR is enabled - Adaptive Blur is supported for 3 RC types: VBR_CFR, CBR_VFR & CBR_CFR - If any one of the features (scalar/external blur) enabled, encoder disables adaptive-blur. - Static property available to disable adaptive blur feature Below are the listed scenarios when it is enabled/disabled on iris2- - Supported only for 8 bits encoding (H.264 & H.265). - By default enabled for VBR_CFR RC type with CAC enabled. - Dependency on CAC to be enabled. - Adaptive Blur is disabled if CAC is disabled - Adaptive Blur is disabled if minquality_VBR is enabled - Adaptive Blur is not supported for any other RC types except: VBR_CFR - If any one of the features (scalar/external blur) enabled, encoder disables adaptive-blur. - Static property available to disable adaptive blur feature For backward compatibilty: - Removed CAC as parent from msm_vidc_kalama.c. - Removed cac query from msm_vidc_adjust_blur_type in msm_vidc_control.c. - Moved legacy code to newly created function msm_vidc_adjust_blur_type_iris2(). - Added msm_vidc_adjust_blur_type_iris2 in BLUR_TYPES in msm_vidc_waipio.c Change-Id: I49dec7e2574496d1b32babde55c0187866ca21d2 Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
fb7d323e1c
commit
d1351838e3
@@ -116,5 +116,6 @@ int msm_vidc_v4l2_to_hfi_enum(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_inst_capability_type cap_id, u32 *value);
|
||||
int msm_vidc_update_cap_value(struct msm_vidc_inst *inst, u32 cap,
|
||||
s32 adjusted_val, const char *func);
|
||||
|
||||
int msm_vidc_get_parent_value(struct msm_vidc_inst* inst, u32 cap, u32 parent,
|
||||
s32 *value, const char *func);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user