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.

[DM8168 MCFW] Which frame's attributes must be set if want to display this frame?

Hi all

     I use the chain ipcFramesOutHostLink->ipcFramesInVpssFromHostLink->nsfLink->deiLink->mergeLink->dupLink->swMsLink->displayLink to display some frames i wanted.

    This chain is similar to the demos's VSYS_USECASE_MULTICHN_VCAP_VDIS, except the first two links.

     The problem is the monitor always display a gray picture, not the picture I read from ipcFramesOutHostLink. 

      Now every frame buffer ,i set the following attributes:

     bufList->frames[bufList->numFrames].addr[0][0] =  frameObj[lastFrmObjIdx].bufVirt;
     bufList->frames[bufList->numFrames].phyAddr[0][0] = (Ptr)frameObj[lastFrmObjIdx].bufPhy;
     bufList->frames[bufList->numFrames].frameWidth =  frameObj[lastFrmObjIdx].curWidth;
     bufList->frames[bufList->numFrames].frameHeight =  frameObj[lastFrmObjIdx].curHeight;
     bufList->frames[bufList->numFrames].fid = VIDEO_FID_TYPE_FRAME;
     bufList->frames[bufList->numFrames].channelNum = 0;
     bufList->frames[bufList->numFrames].framePitch[0] = frameObj[lastFrmObjIdx].curWidth << 1;
     bufList->frames[bufList->numFrames].framePitch[1] = frameObj[lastFrmObjIdx].curWidth << 1;
     bufList->frames[bufList->numFrames].framePitch[2] = 0;
     curTimeStamp = frmCntForDis * 33; // copy from VdecVdis demo
     bufList->frames[bufList->numFrames].timeStamp  = (UInt32)(curTimeStamp & 0xFFFFFFFF);

     How to fix this problem?    Thanks in advance!

     Eric