msm: camera: common: Update uapi to support custom hw features

This change provides provision to propagate frame id to
userspace as part of shutter notification. The change also
add new acquire params for IFE when custom HW is in the pipeline.

CRs-Fixed: 2524308
Change-Id: Ia6f6efb1edc6e6a01d7b37aeb2787b1e98d8f81e
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
Karthik Anantha Ram
2019-09-09 22:48:13 -07:00
parent 22c15f22e1
commit fdd212fdf3
2 changed files with 10 additions and 0 deletions

View File

@@ -126,6 +126,11 @@
#define CAM_ISP_USAGE_RIGHT_PX 2
#define CAM_ISP_USAGE_RDI 3
/* Acquire with custom hw */
#define CAM_ISP_ACQ_CUSTOM_NONE 0
#define CAM_ISP_ACQ_CUSTOM_PRIMARY 1
#define CAM_ISP_ACQ_CUSTOM_SECONDARY 2
/* Query devices */
/**
* struct cam_isp_dev_cap_info - A cap info for particular hw type

View File

@@ -444,6 +444,9 @@ struct cam_req_mgr_error_msg {
* @timestamp: timestamp of the frame
* @link_hdl: link handle associated with this message
* @sof_status: sof status success or fail
* @frame_id_meta: refers to the meta for
* that frame in specific usecases
* @reserved: reserved
*/
struct cam_req_mgr_frame_msg {
uint64_t request_id;
@@ -451,6 +454,8 @@ struct cam_req_mgr_frame_msg {
uint64_t timestamp;
int32_t link_hdl;
uint32_t sof_status;
uint32_t frame_id_meta;
uint32_t reserved;
};
/**