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.

8168dsp中如何将yuv的外存地址映射成虚拟内存



你好,我做算法的时候,发现在swosd/osdLink_alg.c的中读取以及处理YUV的速度很慢,因为YUV是在外存,想将这个地址映射成虚拟内存,请问这怎么实现?用什么函数

  • Wei,

    你可以尝试:

    1. 把YUV所在区域配置为可cache的,利用cache看是否能提供速度。注意,如果YUV数据量过大,cache空间有限,提高也是有限的。

    2. 使用EDMa把YUV copy到DSP的L2,同样的L2的大小也是有限的。