Hi all,
SW: IPNC RDK V3.2
I want to use NullSrc instead of Camara.
How to do that? I don't see any reference to do so ..
Thanks in advance :)
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi all,
SW: IPNC RDK V3.2
I want to use NullSrc instead of Camara.
How to do that? I don't see any reference to do so ..
Thanks in advance :)
Ravi,
Null Src Link can be used to provide input to the next link. This is used to integrate other links when capture link is not available. This is useful when capture link is not used but some input is needed for other links.
Below is the sample usage.
***********************************************************************************************************************************************************************
nullSrcPrm.outQueParams.nextLink = nextLinkId;
nullSrcPrm.timerPeriod = 33; /**< Time period at which Null/Dummy Output command has to be generated */
nullSrcPrm.inputInfo.numCh = 16;
for(i=0; i<nullSrcPrm.inputInfo.numCh; i++)
{
System_LinkChInfo *pChInfo;
pChInfo = &nullSrcPrm.inputInfo.chInfo[i];
/* Configure each channel*/
pChInfo->dataFormat = SYSTEM_DF_YUV420SP_UV;
pChInfo->memType = SYSTEM_MT_NONTILEDMEM;
pChInfo->startX = 48;
pChInfo->startY = 32;
pChInfo->width = 720;
pChInfo->height = 576;
pChInfo->pitch[0] = x;
pChInfo->pitch[1] = y;
pChInfo->pitch[2] = z;
pChInfo->scanFormat = SYSTEM_SF_PROGRESSIVE;
}
***********************************************************************************************************************************************************************
Update param values as per your requirement.