Explorar o código

video: Allow slice configuration for VBR

Allow slice configuration for VBR

Change-Id: I289aa22fa9c97260b32dc34a1f95ad8b1b500287
Manikanta Kanamarlapudi %!s(int64=3) %!d(string=hai) anos
pai
achega
1f2238abb9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      driver/vidc/src/msm_vidc_control.c

+ 2 - 1
driver/vidc/src/msm_vidc_control.c

@@ -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;