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.

IpcBitsOutLink 函数IpcBitsOutLink_getEmptyVideoBitStreamBufs获取的地址出错



dm8148,我将h264数据送入videoM3 解码时,出错; if(IpcBitsOutLink_getEmptyVideoBitStreamBufs(IPCBITOUTHOSTTOVIDM3ID,&emptyBitsBufList,&ipcReqInfo) == 0) dm8127 这个地方获取的地址emptyBitsBufList有时有问题,获取的是物理地址了,本来是虚拟地址的; 有人知道原因吗?
 
调试日志:

 [host] ###Bit buff of size from the SR # 1 : 2073600

 [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:0,Size:0x1FA400
 [host] IPCBITSOUTLINK:Translated Addr Virt:0x4189d080 To Phy:0x90000080

从这里看0x4189d080是虚拟地址,而 0x90000080是物理地址;

平时正常跑的时候,获取的地址是0x4189d080,而有时,获取的地址是0x90000080,然后拷贝了数据就出错了。