我买了一块6467的开发板,上面的例程是基于dmai的,我现在想自己写一写基本的算法,比如中值滤波什么的,请问算法要写在哪里?是直接在GenCodecPkg wizard生成的c语言源文件里的videncprocess函数里对图像数组进行操作吗?谢谢!
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.
算法是在你所说的videncprocess函数里面实现的。
实际上你在使用GenCodecPkg wizard生成算法的时候可以自己定义算法的名字。
实现算法的步骤在codec engine/docs目录有文档说明:
CodecEngine_AlgorithmCreator_UserGuide.pdf
CodecEngine_ServerIntegrator_UserGuide.pdf
在DMAI里面调用你自己的算法需要以下步骤,在codec engine目录有文档说明:
1. 依据CodecEngine_AlgorithmCreator_UserGuide.pdf文档实现你自己的算法,如果没有使用DMA之类的,只需要在上面的函数里面实现算法;如果需要DMA操作,需要FC模块支持;
2. 依据CodecEngine_ServerIntegrator_UserGuide.pdf文档将你的算法集成到Codec Server中;
3. 在DMAI按照其他enc/dec同样的接口来调用你的算法。