video: Allow slice configuration for VBR

Allow slice configuration for VBR

Change-Id: I289aa22fa9c97260b32dc34a1f95ad8b1b500287
This commit is contained in:
Manikanta Kanamarlapudi
2022-06-23 09:52:12 +05:30
rodzic 9808a535b5
commit 1f2238abb9

Wyświetl plik

@@ -1749,7 +1749,8 @@ int msm_vidc_adjust_slice_count(void *instance, struct v4l2_ctrl *ctrl)
if (fps > MAX_SLICES_FRAME_RATE ||
(rc_type != HFI_RC_OFF &&
rc_type != HFI_RC_CBR_CFR &&
rc_type != HFI_RC_CBR_VFR) ||
rc_type != HFI_RC_CBR_VFR &&
rc_type != HFI_RC_VBR_CFR) ||
all_intra) {
adjusted_value = V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_SINGLE;
update_cap = SLICE_MODE;