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.

DM8127 DSP端添加算法问题



我想在DSP端添加自己的算法,算法中的一个参数是图片的宽和高。8127开发板的评估板上的,DSP拿到的数据格式是YUV420SP格式的,我同事认为是320*192的,我认为是1920*1080的,请问下哪种宽和高是正确的?

ipcFramesInLink_tsk.c这个源代码里面的这个位置的pFrameBuf。

Int32 IpcFramesInLink_processFrameBufs(IpcFramesInLink_Obj * pObj)
{
FVID2_Frame *pFrameBuf;
SystemIpcFrames_ListElem *pListElem;
UInt32 numFrameBufs;
Int32 status;
UInt32 curTime;

numFrameBufs = 0;
curTime = Utils_getCurTimeInMsec();
while (1)
{
pListElem = ListMP_getHead(pObj->listMPOutHndl);
if (pListElem == NULL)
break;

IpcFramesInLink_getFrameBuf(pObj, pListElem, &pFrameBuf);
UTILS_assert(SYSTEM_IPC_FRAMES_GET_BUFSTATE(pListElem->bufState)
== IPC_FRAMEBUF_STATE_OUTQUE);
pListElem->frameBuf.reserved[0] = curTime;
SYSTEM_IPC_FRAMES_SET_BUFOWNERPROCID(pListElem->bufState);
SYSTEM_IPC_FRAMES_SET_BUFSTATE(pListElem->bufState,
IPC_FRAMEBUF_STATE_DEQUEUED);
pObj->stats.recvCount++;
status = Utils_quePut(&pObj->outFrameBufQue, pFrameBuf, BIOS_NO_WAIT);
UTILS_assert(status == FVID2_SOK);

numFrameBufs++;
}