Part Number:TDA3
Hello Kedar,
We are using the Imaging Sub system to convert the input Bayer RAW 12 bit data to YUYV format(YUV422_I) format.
We have written a use case given below
IssCapture -> IssM2mIsp -> Null (IPU1_1)
With the above use case we are able to dump the output buffer from Resizer A in UYVY format.
Now we are trying to dump the buffer in YUYV format from the Resizer A.
In process for the same we changed the output channel params in the use case file as given below
for(i=0;i<4;i++)
{
pUcObj->IssM2mIspPrm.channelParams[i].outParams.dataFormat =SYSTEM_DF_YUV422I_YUYV;
pUcObj->IssM2mIspPrm.channelParams[i].enableOut[ISSM2MISP_LINK_OUTPUTQUE_IMAGE_RSZ_B] = 0;
}
On changing the same we get an assertion error in the file
[IPU1_0] 31.144604 s: Assertion @ Line:113 in links_ipu/iss_m2m/issM2mIspLink_drv_apply_config.c: status == FVID2_SOK : failed !!!
To Root cause the above assertion error we tried looking in to the function
ChainsCommon_IssGetDefaultIspSimcopConfig(ISSM2MISP_LINK_OPMODE_12BIT_LINEAR, &pObj->ispConfig, NULL, NULL);
Which in turn calls the function VpsHal_issrszControl() and executes the case below
case ISSHAL_IOCTL_RSZ_GET_DEFAULTCFG:
Bsp_printf("in Default Config DSM \n");
if(NULL != cmdArgs)
{
BspUtils_memcpy(
((isshalrszConfig_t *) cmdArgs),
&gIssHalRszDefCfg,
sizeof(isshalrszConfig_t));
}
else
{
status = FVID2_EBADARGS;
}
break;
The structure static const isshalrszConfig_t gIssHalRszDefCfg is populated with values wherein the output data format is set to FVID2_DF_YUV422I_UYVY.
We have tried changing the format to FVID2_DF_YUV422I_YUYV, but we have ended up in getting some other Assertion error in Line 950 of the file vpscore_ispapi.c .
We need your help in this. I have attached the use case files. Please suggest.