msm: camera: isp: Add support for AEB use-case

Add support to ensure epoch is programmed post second
exposure frame. Validate this, if this check fails
flag an error. The % factor of frame height to be configured
for epoch is obtained from userspace. This % factor will
depend on how the frame is spread for IFE to process.

CRs-Fixed: 2986303
Change-Id: I2d7d34ccdfde0192ebb73bbd920a4c738bbf9ca2
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
Karthik Anantha Ram
2021-06-23 12:34:58 -07:00
父節點 72f753f6a8
當前提交 5d5b3a5144
共有 11 個文件被更改,包括 297 次插入36 次删除

查看文件

@@ -269,6 +269,7 @@ struct cam_isp_context_event_record {
* @custom_enabled: Custom HW enabled for this ctx
* @use_frame_header_ts: Use frame header for qtimer ts
* @support_consumed_addr: Indicate whether HW has last consumed addr reg
* @aeb_enabled: Indicate if stream is for AEB
* @apply_in_progress Whether request apply is in progress
* @use_default_apply: Use default settings in case of frame skip
* @init_timestamp: Timestamp at which this context is initialized
@@ -319,6 +320,7 @@ struct cam_isp_context {
bool custom_enabled;
bool use_frame_header_ts;
bool support_consumed_addr;
bool aeb_enabled;
atomic_t apply_in_progress;
bool use_default_apply;
unsigned int init_timestamp;