Abstract
This work develops and optimizes H.264/AVC video encoder on the TM320DM642 DSP platform. In order to transplant x264 source program onto the DSP and to accelerate the coding speed, a series of optimization methods have been proposed in this paper, including 2-D fast mode decision, sub-pixel optimization for motion estimation, and weighted matrix quantization. Furthermore, based on the architectural features of TM320DM642, various system level optimization techniques have been utilized. This paper focuses on the reduction of algorithm complexity. Experimental results reveal that the optimized H.264 video encoder retains satisfactory quality with very low degradation. The implemented codec can achieve the coding speed of 22.6fps and more than 40fps for VGA (640×480) and CIF (352×288) resolution, respectively. The proposed H.264 codec can be employed in many real-time applications.
This work was supported in part by the National Science Council, Taiwan, R.O.C. grants NSC96-2622-E-305-001-CC3 and Ministry of Economics grant: Construction of Vision-Based Intelligent Environment (II).
Chapter PDF
Similar content being viewed by others
References
Goto, K., Hatabu, A., Nishizuka, H., Matsunaga, K., Nakamura, R., Mochizuki, Y., Miyazaki, T.: H.264 video encoder implementation on a low-power DSP with low and stable computational complexity. In: IEEE Workshop on Signal Processing Systems Design and Implementation, SIPS 2006, pp. 101–106 (2006)
Chen, T.-C., Chen, Y.-H., Tsai, S.-F., Chien, S.-Y., Chen, L.-G.: Fast algorithm and architecture design of low-power integer motion estimation for H.264/AVC. IEEE Transactions on Circuits and Systems for Video Technology 17(5), 568–577 (2007)
Zhuo, L., Wang, Q., Feng, D.-D., Shen, L.: Optimization and implementation of H.264 encoder on DSP platform. In: IEEE International Conference on Multimedia and Expo., 232–235 (2007)
Li, Z., Xing, Q., Zhu, X.: H.264 video encoder implementation and optimization based on DM642 DSP. In: IEEE International Conference on Networking, Sensing and Control, ICNSC 2008, pp. 891–894 (2008)
Wei, Z., Cai, C.: Realization and optimization of DSP based H.264 encoder. In: Proceedings. 2006 IEEE International Symposium on Circuits and Systems, ISCAS 2006, p. 4 (2006)
Wang, H.-J., Hou, Y.-Y., Li, H.: H.264/AVC video encoder algorithm optimization based on TI TMS320DM642. In: Third International Conference on Intelligent Information Hiding and Multimedia Signal Processing, IIHMSP 2007, vol. 1 (2007)
Werda, I., Chaouch, H., Samet, A., Ayed, M.A.B., Masmoudi, N., Akbal, E., Ergen, B., Muljadi, H., Takeda, H., Ando, K., et al.: Optimal DSP-based motion estimation tools implementation for H.264/AVC baseline encoder. IJCSNS 7(5), 141 (2007)
Wiegand, T., Sullivan, G.J., Bjntegaard, G., Luthra, A.: Overview of the H.264/AVC video coding standard. IEEE Transactions on Circuits and Systems for Video Technology 13(7), 560–576 (2003)
Texas Instrument. TMS320C64x DSP Video Port/VCXO Interpolated Control Port (2006)
LFree Software Foundation. GNU operating system, http://www.gnu.org/
Chang, C.-Y., Pan, C.-H., Chen, H.: Fast mode decision for P-frames in H. 264. In: Picture Coding Symposium (PCS) (2004)
Richardson, I.E.G.: H. 264 and MPEG-4 video compression. Wiley, Chichester (2003)
J.V. Team. Draft ITU-T recommendaation and final draft international standard of joint video specification (March 2003)
Malvar, H., Hallapuro, A., Karczewicz, M., Kerofsky, L.: Low-complexity transform and quantization in H.264/AVC. IEEE Transactions on Circuits and Systems for Video Technology 13(7), 598–603 (2003)
Texas Instrument. TMS320C6000 Assembly Language Tools v6.0 Beta (2005)
Texas Instrument. Code Composer Studio User’s Guide (2000)
Texas Instrument. TMS320C6000 DSP/BIOS User’s Guide (2000)
Texas Instrument. TMS320C64x/C64x+ DSP CPU and instruction set reference guide
Texas Instrument. Video Encoding Optimization on TMS320DM64x/C64x (2004)
Texas Instrument. TMS320C64x DSP Two-Level Internsl Memory Rfference Guide (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lin, DT., Yang, CY. (2009). H.264/AVC Video Encoder Realization and Acceleration on TI DM642 DSP. In: Wada, T., Huang, F., Lin, S. (eds) Advances in Image and Video Technology. PSIVT 2009. Lecture Notes in Computer Science, vol 5414. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-92957-4_79
Download citation
DOI: https://doi.org/10.1007/978-3-540-92957-4_79
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-92956-7
Online ISBN: 978-3-540-92957-4
eBook Packages: Computer ScienceComputer Science (R0)