Tool/software: TI-RTOS
Hello,
I am having issue with duplicating frames using Dup Link to use as input for Alg_VpeSwMs.
I am trying to explore the capabilities of Alg_VpeSwMs (TI's Mosaic View Algorithm), but current do not have access to a camera.
Thus I am using NullSource to read frames from a file, the use case is as follows:
NullSource (IPU1_0) -> Decode -> VPE -> Dup -> Sync -> Alg_VpeSwMs -> Display
The intention is to test mosaic view with varying number of views (from 1 - 4).
A user input numViews determines the number of outgoing channel for the Dup Link.
When using 1 view (1x1), there is no problem and the chain above works as intended.
But as when I change to 2 views (1x2), the usecase hangs-up.
My guess is that I am configuring Dup -> Sync link incorrectly.
//Dup -> Sync pObj->DupPrm.outQueParams[0].nextLink = pObj->SyncLinkID; pObj->DupPrm.outQueParams[1].nextLink = pObj->SyncLinkID; pObj->DupPrm.outQueParams[2].nextLink = pObj->SyncLinkID; pObj->DupPrm.outQueParams[3].nextLink = pObj->SyncLinkID; pObj->SyncPrm.inQueParams.prevLinkId = pObj->DupLinkID; pObj->SyncPrm.inQueParams.prevLinkQueId = 0; //Sync -> Alg_VpeSwMs pObj->SyncPrm.outQueParams.nextLink = pObj->Alg_VpeSwMsLinkID; pObj->Alg_VpeSwMsPrm.inQueParams.prevLinkId = pObj->SyncLinkID; pObj->Alg_VpeSwMsPrm.inQueParams.prevLinkQueId = 0;
Unfortunately I cannot find documentation to guide me to the correct configuration.
May I ask if anyone is familiar on how to make Dup duplicate frame to be fed to Sync and then to Alg_VpeSwMs?
I have attached the usecase code for you reference.