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 DVRRDK4.0将解码的yuv420数据保存到A8数据不对



将H264编码的视频解码,然后发送到A8保存到本地的数据不对,查看资料解码出来的数据应该是yuv420sp,yuv存放应该是

Representation of YUV420SP or YUV422SP Buffer:
Field 0 Y -> addr[0][0], Field 1 Y -> addr[1][0]
Field 0 UV -> addr[0][1], Field 1 UV -> addr[1][1]
Other pointers are not valid.

我读取的是Y->addr[0][0]和UV->addr[0][1],这样取出来的数据用工具查看是乱的,应该是Y不对(效果看上图)

解码之后接DEI转换成422格式读取YUV->addr[0][0]是正常的。