用户名: 密码: 验证码:
H.264视频编码技术研究及在DM642上的移植与优化
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着社会各方面的快速发展,工业生产、国家安防及日常生活中对网络视频监控系统的要求越来越高,但是目前在网络视频通信的即时性和清晰度等方面都还存在很多技术难点,同时,监控系统的广泛应用对成本问题也提出了更高的要求,将嵌入式系统代替PC机的呼声也越来越高,因此在该方面的研究具有广泛的应用前景和实用价值。
     H.264是由联合视频组(JVT)制定的新一代视频压缩编码标准。其不仅比H.263和MPEG-4节约了50%的码率,而且对网络传输具有更好的支持功能。这对目前因特网传输多媒体信息具有重要意义。
     TMS320DM642是TI公司推出的一款针对多媒体处理领域应用的DSP,它在C64x的基础上,增加了很多外围设备和接口,是嵌入式视频系统设计的首选。
     论文对H.264视频编码技术进行了深入的分析,借鉴国内外优秀算法的经验,提出了一种改进的帧内预测编码算法,以提高H.264的编码效率,改善网络通信即时性问题。同时利用DM642来完成前端视频处理,设计出具有应用前景的视频监控系统。
     在研究过程中,H.264协议算法的优化是一个技术难点。论文针对帧内预测算法运算量大的特点,提出了一种改进的帧内预测模式选择算法,利用简化的率失真函数判断方法来减小帧内预测复杂度,在不影响原有图像质量的基础上提高编码的运算时间。
     考虑到部分C语言程序在移植入DSP后会由于数据结构和程序结构上的差别而影响硬件环境的运行效率,因此论文提出了五步优化法,对移植后的程序进行了全面优化,设计了与硬件结合紧密的汇编语言程序,将汇编语言代替部分C语言来实现算法。
     利用完全针对C6000系列DSP开发的线性汇编算法来优化最终移植入硬件的程序也是论文的关键技术和创新点。线性汇编算法充分的利用了DSP的硬件优势,大大提高了整个程序的运行效率,节约了编码时间。
     实验表明,优化算法提高了帧内预测模式选择的效率,结合DSP硬件系统的汇编语言改写和线性汇编程序也大大提高了代码效率。
Along with the social various aspects fast development, the network video supervisory system is more and more higher in the industrial production, national security and daily life. While there, at present, are many technical difficulties in network video communication instantaneity and definition etc. at the same time, the monitor and control system's abroad application bring forward to the higher request in the cost, the voice of substitute PC with embedded system become higher and higher, therefore, there has the widespread application prospect and the practical value in this aspect research.
     H.264 is the new generation of video frequency compression code standard which (JVT) formulates by the union video frequency group. Its not only saved 50% code rate compared to H.263 and MPEG-4, moreover has the better support function to the network transmission. This transmits the multimedia information to the present Internet to have the vital significance.
     TMS320DM642 is section which TI Corporation promotes in view of multimedia processing domain application DSP, it in the C64x foundation, increased the very many auxiliary equipment and the connection, is embedded video system design the first choice.
     This thesis has carried on the thorough analysis to the H.264 video code technology, profits from the domestic and foreign outstanding algorithms the experience, proposed in one kind of improvement frame the predictive coding algorithm, enhances H.264 the coding efficiency, the improvement network correspondence instantaneity question. Front meanwhile completes video processing using DM642, this design has the application prospect of the video supervisory system.
     This research achievements and innovation as follows:
     The H.264 protocol algorithm optimization is a technical difficulty. In view of the intra prediction algorithm is far calculated characteristic, which proposed in one kind of improvement to the intra prediction pattern choice algorithm, and the use of the simplifies rate distortion optimization function judgment method to reduce the complex in intra prediction. This algorithm does not affect the original picture quality in the foundation but enhance the encoded operation time.
     Considered the partial C language procedure after transplants into DSP to be able affects the hardware environment as a result of in the construction of data and the procedure structure difference the operating efficiency, therefore this chapter has designed with the hardware union close assembly language procedure, the assembly language will replace the partial C language to realize the algorithm.
     Using completely aims at C6000 the series DSP development the linear assembly algorithm to optimize finally transplants into the hardware the procedure also is the article innovation spot. The linear assembly algorithm full has used the DSP hardware superiority, greatly enhances the entire procedure operating efficiency, and saves the code time.
     The experiment indicated that, the optimized algorithm enhanced the intra prediction algorithm efficiency, unified the DSP hardware system assembly rewriting and the linearity assembly program also greatly enhanced the code efficiency.
引文
[1] 殷晓莹,龚建荣.视频压缩编码标准及其发展.信息安全与通信保密,2005.4.125~1272003.13(7).557~559
    [2] ITU-T Rec. H.264/MPEG-4 Part 10 White Paper, Final committee Draft. Document JVT-E022,2003-9
    [3] 惠鏸,刘涵,吴亚丽,梁炎明.一种基于视频编码标准 H.264的智能视频监控技术.计算机应用,2005.25(11).2589~2591
    [4] 马姗姗,钱建生,程德强.基于H.264的远程视频监控系统的设计与实现.电视技术,2004.21(6).77~79
    [5] Stephan Wenger. H.264/AVC Over IP. IEEE Transactions on Circuits and Systems for Video Technology 2003.13(7).645~656
    [6] Panovic. M, Demosthenous.A. A low-power analog motion estimation processor for digital video coding. IEEE Journal of Solid-State Circuits, 2006-3
    [7] Texas Instruments. TMS320DM642 Technical Overview, 2002-9
    [8] Texas Instruments. TMS320DM642 Hardware Designer's Resource Guide, 2005-10
    [9] Atul Puff, Xuemin Chen, and Ajay Luthra. Video coding using the H.264/MPEG-4 AVC compression standard. Signal Processing Image Communication, 2004.19.793~849
    [10] Thomas Wiegand, Gary J. Sullivan, Gisle Bjontegaard, Ajay Luthra. Overview of the H.264/AVC Video Coding Standard. IEEE Transactions on Circuits and Systems For Video Technology, 2003.13(7).560~576
    [11] lain E.G.Richardon. H.264 and MPEG-4 Video Compression Video Coding for Next Generation Multimedia. Wiley Press, 2003.159~223
    [12] Markus Flierl. Generalized B Pictures and the Draft H.264/AVC Video Compression Standard. IEEE Transactions on Circuits and Systems for Video Technology, 2003.13(7).587~597
    [13] A.Tambankar, K.R.Rao. An Overview of H.264/MPEG-4 Part 10. EC-VIP-MC 2003, 4th EURASIP Conference focused on Video/Image Processing and Multimedia Communications. Zagreb, Croatia, 2003-7-2
    [14] 毕厚杰.新一代视频压缩编码标准H.264/AVC.北京:人民邮电出版社,2005.84~148
    [15] 方延龙,周军.H.264分数像素内插的快速算法.计算机工程,2006.32(1).218~223
    [16] 周睿,崔慧娟,唐昆.高效的H.264时域误码掩盖算法.清华大学学报(自然科学版).2005.45(7).900~903
    [17] 张彤宇,苏睿.H.264/AVC视频编码器在DM642平台上的实现与优化.微电子学与计算机,2005.22(12).165~168
    [18] 刘宝兰,刘贵忠.H.264中整数DCT变换及量化的DSP实现.微电子学与计算机,2005.22(6).200~205
    [19] 薛漪,马伍新.基于TMS320DM642芯片H.264编码器的设计.计算机工程与设计,2005.26(5).1158~1163
    [20] 郭建军.H.264视频编码若干关键优化技术的研究与实现:[硕士学位论文].长沙:国防科学技术大学,2005
    [21] 徐华根.视频编码算法研究及其在DM642上的实现:[硕士学位论文].杭州:浙江大学,2005
    [22] 柳金峰.基于DSP的AVS-M视频压缩算法的研究和实现:[硕士学位论文].长春:吉林大学通讯工程学院,2005 5
    [23] T. Wedi. Motion Compensation in H.264/AVC. IEEE Transactions on Circuits and Systems For Video Technology, 2003.13(7)
    [24] 周勇,邓中亮.H.264视频编码技术研究与应用.北京邮电大学自动化学院,2004.6.91~94
    [25] Kantarci A, Yolum P, Gungor T. Implementation of a video streaming system using scalable extension of H.264. Computer and Information Sciences-ISCIS. 20th International Symposium,2005
    [26] Gary J.Suilivan, Pankaj Topiwala, Ajay Luthra. The H.264/AVC Advanced Video Coding Standard: Overview and Introduction to the Fidelity Range Extensions. The SPIE Conference on Applications of Digital Image Processing ⅹⅹⅧ Special Session, 2004-8
    [27] Stamoulis G, Koziri M, Katsavounidis. Low-power VLSI architecture for intra prediction in H.264. 10tb Panhellenic Conference on Informatics, PCI2005, Proceedings, 2005
    [28] JVT Draft Text of Final Draft International Standard for Advanced Video Coding(ITU-T Rec. H.264| ISO/IEC 14496-10 AVC), 2003-3
    [29] Raja G, Mirza MJ. JVT H.264/AVC: Evaluation with existing standards for low bit rate video coding. International Conference on Microelectronics, Proceedings, 2005
    [30] Henrique S.Malvar. Low-Complexity Transform and Quantization in H.264/AVC. IEEE Transactions on Circuits and Systems for Video Technology, 2003.13(7).598~603
    [31] Henrique S.Malvar. Low-Complexity Transform and Quantization in H.264/AVC. IEEE Transactions on Circuits and Systems for Video Technology, 2003.13(7).598~603
    [32] Luthra. A, Sullivan.G.J, Wiegand.T. Introduction to the special issue on the H.264/AVC video coding standard. IEEE Transactions on Circuits and Svstems For Video Technology.2005
    [33] 孙同伦,尹东.H.264软件编码器的优化.计算机辅助工程,2005.14(4).39~43
    [34] 闫冬.H.264/AVC编码器的优化设计及实现:[硕士学位论文].成都:电子科技大学通信与信息系统,2004
    [35] 哈力旦.A.H.264视频编码的关键技术及算法.新疆大学学报(自然科学版),2005.22(3).353~356
    [36] 张新晨,胡瑞敏,王中元,艾浩军.低码率下H.264视频编码器实时优化.武汉大学学报(理学版),2005.51(5).599~602
    [37] Chen CM, Chen CH. A memory efficient architecture for deblocking filter in H.264 using vertical processing order. Proceedings of the 2005 Intelligent Sensors, Sensor Networks and Information Processing Conference .2005
    [38] 陈维安,李典,余松煜,钱团结.H.264软件解码器的优化.数据采集与处理,2005.20(4).493~498岑鸿,洪孝炬.基于TMS320DM642的网络摄像机的设计及实现.电子技术应用,2005.11
    [39] Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG (ISO/IEC JTC1/SC29/WG11 and ITU-T SG16 Q.6). Draft ITU-T Recommendation and Final Draft International Standard of Joint Video Specification (ITU-T Rec. H.264 | ISO/IEC 14496-10 AVC), 8th Meeting: Geneva, Switzerland, 2003-5-23
    [40] Meng B.J, Oscar CA, Womg CW. Efficient Intra-Prediction Algorithm in H.264. IEEE International Conference on Multimedia and Export.Maryland,2003.3.837~840
    [41] 赖昌材,郝重阳,蒋大为,席迎来,葛见见.用于H.264宏块预测模式决策的失真度量方法.西北工业大学学报,2005.23(6).785~788
    [42] 裴世保,李厚强,俞能海.H.264/帧内预测模式选择算法研究.计算机应用,2005.25(8),1808~1810 许静,宋锐.基于TMS320DM642的H.264视频编码器设计.元器件与应用,2005.7
    [43] 肖广,滕国伟,王国中.一种基于H.264/AVC的帧内预测模式快速选择算法.中国图象图形学报,2005.10(11).1375~1378
    [44] 宋彬,周宁兆,常义林,罗忠.H.264帧内预测快速算法.西安电子科技大学学报(自然科学版),2006.33(1).15~18
    [45] 李號江,陈抗生.一种H.264视频流自适应率失真优化编码算法.电路与系统学报,2005.10(6).115~118
    [46] 朱红,吴成柯,方勇.H.264宏块模式的一种快速判决方案.电子学报,2005.33(9).1576~1580
    [47] Texas Instruments. TMS320DM642 Video/Imaging Fixed-Point Digital Signal ProceSsor Data Manual, 2003-5
    [48] Texas Instruments. The TMS320DM642 Video Port Mini-Driver, 2003-8
    [49] Texas Instruments. DSP/BOIS Sizing Guidelines on TMS320C6000 DSP for Code Composer Studio 2.0, 2001
    [50] Texas Instruments. TMS320C6000 DSP/BIOS Application Programming Interface (API) Reference Guide, 2001
    [51] Texas Instruments. High-Speed DSP Systems Design Reference Guide, 2005-5
    [52] Texas Instruments. TMS320C6000 Simulator User's Guide, 2001-9
    [53] 郭兵.H.264算法研究及DSP实现:[硕士学位论文].重庆:重庆大学,2005.4
    [54] Wang Liang, Xu Pei-xia. Fast motion estimation algorithm based on DSP according to H.264. Mini-Micro Systems, 2005.26(11)
    [55] Texas Instruments. TMS320C6000 Optimizing C Compiler User's Guide, 2001-2
    [56] Texas Instruments. TMS320C6000 CPU and Instruction Set Reference Guide, 2004-7
    [57] Texas Instruments. TMS320C64x Technical Overview, 2001-7
    
    [58] Texas Instruments. Software Development Systems Customer Support Guide, 2001-9
    
    [59] Intel Instruments. How to optimize for the Pentium microprocessors, 2004-6
    
    [60] Joint Video Team(JVT),reference software JM8.6
    
    [61] Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG (ISO/IEC JTC1/SC29/WG11 and ITU-T SG16 Q.6). Proposed Amended H.264/MPEG-4 AVC Reference Software Manual, 14th Meeting: Hong Kong, PRC China, 2005-6-17

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700