msm: vidc: Process newly added event parameters

Profile, Level and Entropy are passed through event from HW to
driver. Add code in driver to parse them and update internal
structs.

With this change, driver no need to make synchronous calls to HW
to get above parameters. Hence remove that code.

Along with this, remove redundant conversion of enum values from
V4l2 to HAL and vice-versa.

CRs-Fixed: 2019606
Change-Id: If07170a00dc16007590fb36d4e12176f0807ef23
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
diff --git a/drivers/media/platform/msm/vidc/msm_vidc_internal.h b/drivers/media/platform/msm/vidc/msm_vidc_internal.h
index fb90fdf7..4a14ca3 100644
--- a/drivers/media/platform/msm/vidc/msm_vidc_internal.h
+++ b/drivers/media/platform/msm/vidc/msm_vidc_internal.h
@@ -303,6 +303,9 @@
 	u32 pic_struct;
 	u32 colour_space;
 	u32 operating_rate;
+	u32 profile;
+	u32 level;
+	u32 entropy_mode;
 };
 
 extern struct msm_vidc_drv *vidc_driver;