对H.264视频压缩标准的基本档次参考代码进行优化,使其适用于嵌入式平台。对参考代码提出了算法和代码级别优化策略。算法方面采用熵解码码表分割、简化运动补偿运算、全零块跳过等方法。代码优化方面采取减少内存读写、建立静态表格、减少冗余判断等方法来减少运算复杂度。实验表明,优化后的代码移植到嵌入式ARM平台在没有采用汇编语言和硬件加速的情况下能达到很好的解码效率.可以满足一些嵌入式平台的应用需求。
The baseline reference code of the H.264 video compression standard is optimized and adapted to the embedded platform, and some optimizing strategies on the algorithm and code of the reference code are proposed. In the algorithm optimization part, code table division in the entropy decoding, adjusted algorithm of the motion compensation and zeroskipping technique for texture decoding are used to get better performance. In the code-level optimization, memory relocation, static table and judging reducing are used to reduce the computational complexity. The experimental results show that the optimized codes on the embedded platform can meet some particular requirements without using hardware acceleration and assemble code.