Hello Sir
I'm using IPCFramesOutLINK to receive video from PCIe, ready to allocate Buffers for IpcFramesOutLINK on SR2 which is available for Frames.
codes as following:
bufList.numFrames = 0;
for (i = 0; i < VIDFRAME_MAX_FRAME_BUFS;i++)
{
status = Vsys_allocBuf(2, bufSize, 128, &thrObj->bufInfo[i]);
if (ERROR_NONE == status)
{
bufList.numFrames++;
pFrame = &bufList.frames[i];
pFrame->channelNum = 0;
pFrame->fid = 0;
pFrame->frameHeight = 720;
pFrame->frameWidth = 1280;
pFrame->framePitch[0] = 2560;
pFrame->phyAddr[0][0] = thrObj->bufInfo[i].physAddr;
pFrame->addr[0][0] = thrObj->bufInfo[i].virtAddr;
}
}
status = IpcFramesOutLink_putFullVideoFrames(SYSTEM_HOST_LINK_ID_IPC_FRAMES_OUT_0, &bufList);
Now, I encounter a problem, following is running messages
Assertion at Line no: 1354 in /opt/DVRRDK/DVRRDK_03.00.00.00/dvr_rdk/../ti_tools/syslink/syslink_2_10_02_17_patched/packages/ti/syslink/ipc/hlos/usr/HeapMemMP.c: (hpHandle != NULL) : failed
ASSERT (ti_vsys.c|Vsys_allocBuf|400)
Appreciate it on your response!
