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/vidc_hfi_api.h b/drivers/media/platform/msm/vidc/vidc_hfi_api.h
index 6642302..1bbb730 100644
--- a/drivers/media/platform/msm/vidc/vidc_hfi_api.h
+++ b/drivers/media/platform/msm/vidc/vidc_hfi_api.h
@@ -1383,6 +1383,9 @@
ion_phys_addr_t extra_data_buffer;
u32 pic_struct;
u32 colour_space;
+ u32 profile;
+ u32 level;
+ u32 entropy_mode;
};
struct msm_vidc_cb_data_done {