video: driver: Set 1 stage for Byte based Slice mode
Set 1 stage for Byte based Slice mode. Change-Id: I9924535234e202e83d6f33b03ebc7de578e7aa48 Signed-off-by: Akshata Sahukar <asahukar@quicinc.com>
This commit is contained in:
@@ -1029,6 +1029,10 @@ int msm_vidc_decide_work_mode_iris3(struct msm_vidc_inst* inst)
|
||||
(inst->capabilities->cap[LOWLATENCY_MODE].value)) {
|
||||
work_mode = MSM_VIDC_STAGE_1;
|
||||
}
|
||||
if (inst->capabilities->cap[SLICE_MODE].value ==
|
||||
V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_BYTES) {
|
||||
work_mode = MSM_VIDC_STAGE_1;
|
||||
}
|
||||
if (inst->capabilities->cap[LOSSLESS].value)
|
||||
work_mode = MSM_VIDC_STAGE_2;
|
||||
|
||||
|
Reference in New Issue
Block a user