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.

8148processlink alg data的问题

Other Parts Discussed in Thread: SYSBIOS

 System_getLinksFullFrames(pInQueParams->prevLinkId,
        pInQueParams->prevLinkQueId, &frameList);

    /*************************************************************************/
    /* If input frame received from queue, get the output buffer from out    */
    /* queue and process the frame                                           */
    /*************************************************************************/
    if (frameList.numFrames)
    {
        UInt8 *FRAMEPOI;
        //pObj->totalFrameCount += frameList.numFrames;

        for(frameId=0; frameId< frameList.numFrames; frameId++)
        {
            Bool doFrameDrop = FALSE;

   pFrame = frameList.frames[frameId];
            FRAMEPOI=pFrame.addr[0][0];
            for(j=0;j<488*368;j++)
            {
                *FRAMEPOI=0x00;
                FRAMEPOI++;
            }

}

我的数据是.h264 (488*368)文件dec解码出来的YUV420SP数据

可是我按照上面来处理 得到的结果是屏幕显示。整个屏幕下面有几行是没有被处理的;

 

后来我又 尝试

         for(j=0;j<488*368/2;j++)
            {
                *FRAMEPOI=0x00;
                FRAMEPOI++;
            }

得到的结果是;

屏幕显示整个屏幕会有数据叠加,例如人的头部会显示灰色,而上部分一小块显示白色