Hi all,
I'm working on implementing auto focus function of ISP on iMX8M Plus under Android for AR1335 camera with DW9790 focus lens driver.
I was able to compile libar1335.so for ISP-IMX and getting image and even see ISP trying to set focus (based on TRACE/DEBUG output). DW9790 driver inserted successfully too, but where are no IOCTL calls to it to set/change focus. Now I noticed that all ISI focus related methods are empty for the only sources code example available to public, specifically OS08A20.c
So, my question, do I have to implement them and if so, where I can get an example ?
Or I'm on the wrong path ?
Thank you in advance!
static RESULT AR1335_IsiFocusSetupIss(IsiSensorHandle_t handle)
{
TRACE(AR1335_INFO, "%s (enter)\n", __func__);
TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
return RET_SUCCESS;
}
static RESULT AR1335_IsiFocusReleaseIss(IsiSensorHandle_t handle)
{
TRACE(AR1335_INFO, "%s (enter)\n", __func__);
TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
return RET_SUCCESS;
}
static RESULT AR1335_IsiFocusGetIss(IsiSensorHandle_t handle, IsiFocusPos_t *pPos)
{
TRACE(AR1335_INFO, "%s (enter)\n", __func__);
TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
return RET_SUCCESS;
}
static RESULT AR1335_IsiFocusSetIss(IsiSensorHandle_t handle, IsiFocusPos_t *pPos)
{
TRACE(AR1335_INFO, "%s (enter)\n", __func__);
TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
return RET_SUCCESS;
}
static RESULT AR1335_IsiGetFocusCalibrateIss(IsiSensorHandle_t handle, IsiFoucsCalibAttr_t *pFocusCalib)
{
TRACE(AR1335_INFO, "%s (enter)\n", __func__);
TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
return RET_SUCCESS;
}