}
int get_sensor_cur_size(struct fimc_is_sensor_interface *itf,
+ u32 *cur_pos_x,
+ u32 *cur_pos_y,
u32 *cur_width,
u32 *cur_height)
{
FIMC_BUG(!sensor_peri);
FIMC_BUG(!sensor_peri->cis.cis_data);
+ *cur_pos_x = sensor_peri->cis.cis_data->cur_pos_x;
+ *cur_pos_y = sensor_peri->cis.cis_data->cur_pos_y;
*cur_width = sensor_peri->cis.cis_data->cur_width;
*cur_height = sensor_peri->cis.cis_data->cur_height;
itf->paf_itf_ops.reserved[1] = paf_reserved;
itf->paf_itf_ops.reserved[2] = paf_reserved;
itf->paf_itf_ops.reserved[3] = paf_reserved;
+ itf->paf_itf_ops.reserved[4] = paf_reserved;
+ itf->paf_itf_ops.reserved[5] = paf_reserved;
/* MIPI-CSI interface */
itf->csi_itf_ops.get_vc_dma_buf = get_vc_dma_buf;
/* 3HDR */
VC_SENSOR_MODE_3HDR_LSI = 600,
VC_SENSOR_MODE_3HDR_IMX,
+
+ /* OV PDAF */
+ VC_SENSOR_MODE_OV_PDAF = 700,
};
struct vc_buf_info_t {
unsigned int cur_coarse_integration_time_step;
unsigned int cur_frame_us_time;
+ unsigned int cur_pos_x;
+ unsigned int cur_pos_y;
unsigned int cur_width;
unsigned int cur_height;
unsigned int pre_width;
u32 *max_margin_cit);
int (*get_sensor_cur_size)(struct fimc_is_sensor_interface *itf,
+ u32 *cur_pos_x,
+ u32 *cur_pos_y,
u32 *cur_width,
u32 *cur_height);