From b4b2a856e3bdc90da27a61ed0af84fc8d4f0b894 Mon Sep 17 00:00:00 2001 From: Akshata Sahukar Date: Wed, 26 May 2021 18:37:58 -0700 Subject: [PATCH] video: driver: allow main and main 10 profiles for heic enc allow main and main 10 profiles for heic enc. Change-Id: I5ce6f24fede3d7b2267a97a0aaf01e19e9894ba3 Signed-off-by: Akshata Sahukar --- driver/vidc/src/msm_vidc_driver.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/driver/vidc/src/msm_vidc_driver.c b/driver/vidc/src/msm_vidc_driver.c index a13e0d245e..fe242c9d98 100644 --- a/driver/vidc/src/msm_vidc_driver.c +++ b/driver/vidc/src/msm_vidc_driver.c @@ -5109,17 +5109,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: