diff --git a/include/uapi/camera/media/cam_isp.h b/include/uapi/camera/media/cam_isp.h index f1fa388da0..a48a0500a4 100644 --- a/include/uapi/camera/media/cam_isp.h +++ b/include/uapi/camera/media/cam_isp.h @@ -115,6 +115,7 @@ #define CAM_ISP_GENERIC_BLOB_TYPE_IFE_CORE_CONFIG 7 #define CAM_ISP_GENERIC_BLOB_TYPE_VFE_OUT_CONFIG 8 #define CAM_ISP_GENERIC_BLOB_TYPE_BW_CONFIG_V2 9 +#define CAM_ISP_GENERIC_BLOB_TYPE_DISCARD_INITIAL_FRAMES 10 #define CAM_ISP_GENERIC_BLOB_TYPE_SENSOR_DIMENSION_CONFIG 11 #define CAM_ISP_GENERIC_BLOB_TYPE_CSID_QCFA_CONFIG 12 #define CAM_ISP_GENERIC_BLOB_TYPE_SENSOR_BLANKING_CONFIG 13 @@ -915,6 +916,22 @@ struct cam_isp_sfe_exp_config { struct cam_isp_sfe_wm_exp_order_config wm_config[1]; }; +/** + * struct cam_isp_discard_initial_frames - Discard init frames + * + * Some sensors require discarding the initial frames + * after the sensor is streamed on. The discard would be + * applied on all paths [IPP/PPP/RDIx] for the given + * pipeline. + * + * @num_frames : Number of frames to be discarded + * @discard_params : Params for future use + */ +struct cam_isp_discard_initial_frames { + __u32 num_frames; + __u32 discard_params[5]; +} __attribute__((packed)); + #define CAM_ISP_ACQUIRE_COMMON_VER0 0x1000 #define CAM_ISP_ACQUIRE_COMMON_SIZE_VER0 0x0