Explorar o código

Merge "video: driver: allow main and main 10 profiles for heic enc"

qctecmdr %!s(int64=4) %!d(string=hai) anos
pai
achega
6e3277082c
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  1. 0 11
      driver/vidc/src/msm_vidc_driver.c

+ 0 - 11
driver/vidc/src/msm_vidc_driver.c

@@ -5170,17 +5170,6 @@ static bool msm_vidc_allow_image_encode_session(struct msm_vidc_inst *inst)
 		goto exit;
 	}
 
-	/* is profile type Still Pic */
-	if (is_10bit_colorformat(pix_fmt))
-		allow = profile == V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10_STILL_PICTURE;
-	else
-		allow = profile == V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE;
-	if (!allow) {
-		i_vpr_e(inst, "%s: profile not valid: %#x\n", __func__,
-			capability->cap[PROFILE].value);
-		goto exit;
-	}
-
 	return true;
 
 exit: