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.

关于DVRRDK的问题6



各位高手,为了设计码流多路存储算法,小弟正在分析TI提供的基于DM8168平台的DVRRDK代码。遇到以下一段与多路存储有关的代码:
 if(pBuf->mvDataFilledSize != 0 && maxMvFrameCnt <= 500)
    {
        maxMvFrameCnt++;
        write_cnt = fwrite(pBuf->bufVirtAddr + pBuf->mvDataOffset,
                              sizeof(char), pBuf->mvDataFilledSize,fpMvBuf[fileIdx]);
        OSA_assert(write_cnt == pBuf->mvDataFilledSize);
   }
 请教各位高手:为什么要有“maxMvFrameCnt <= 500”这个判断?为什么运动矢量数据只能存储前500帧?谢谢!