随着多媒体和网络技术的发展,视频监控、智能手机等嵌入式系统得到了广泛应用。嵌入式平台资源有限,结构特殊,加上视频解码计算复杂,导致嵌入式平台上视频解码器的优化实现难度大、周期长。基于TMS320C6416通用DSP平台,给出了一套完整的移植优化方法,该方法依次从算法级、结构级和代码级进行优化,实现了解码速度快、恢复视频质量好的MPEG-4解码器。测试表明,该解码器可以对D1视频进行两路以上实时解码,本文方法典型、有效,对于通用芯片上编解码器的移植优化具有参考意义。
With the development of the multimedia and network technology,video applications such as VOD,video-phone etc.are used more and more widely in our life.We implement and optimize the MPEG-4 decoder based on TMS320 c6416 DSP for its high performance and easy implementation.Based on the architecture and instruction characteristic of the DSP,structure-level,program-level,code-level optimization was conducted respectively.Experimental data show that the decoder implemented can decode video in real time efficiently.