针对H.264编码器的复杂度很高和基于DSP平台的H.264编码器的实时处理实现难度很大的问题,该文首先介绍了H.264标准基本档次的编码结构,对影响编码速度的原因进行了深入的分析。然后针对TMS320DM642芯片的特点,提出一些优化实现方案,最终在DSP平台上实时实现了H.264基本档次编码器。测试结果表明,经过优化,H.264编码器的处理速度有了很大的提高,对于CIF格式的视频序列能够满足视频编码的实时处理要求。
There is great complexity in H.264 encoder. Therefore, it is difficult to implement an encoder in DSP platform which can run in real-time environment. In this paper, the coding architecture of H.264 Baseline Profile is introduced first, and some reasons for limiting speed are presented according to the analysis of the coding architecture. Besides, several implementation techniques for optimization are presented based on the characteristics of TMS320DM642 chip. The H.264 Baseline Profile encoder is finally real-time implemented based on DSP platform. The testing results demonstrate that encoder has sped up remarkably after optimization, which can meet the real-time encoding requirements for the video sequences with CIF format.