AVS Video Decoder Implementation for Multimedia DSP

멀티미디어 DSP를 위한 AVS 비디오 복호화기 구현

  • Kang, Dae-Beom (Dept. of Computer Engineering, Kwangwoon University) ;
  • Sim, Dong-Gyu (Dept. of Computer Engineering, Kwangwoon University)
  • 강대범 (광운대학교 컴퓨터공학과) ;
  • 심동규 (광운대학교 컴퓨터공학과)
  • Published : 2009.09.25

Abstract

Audio Video Standard (AVS) is the audio and video compression standard that was developed for domestic video applications in China. AVS employs low complexity tools to minimize degradation of RD performance of the state-the-art video codec, H.264/AVC. The AVS video codec consists of $8{\times}8$ block prediction and the same size transform to improve compression efficiency for VGA and higher resolution sequences. Currently, the AVS has been adopted more and more for IPTV services and mobile applications in China. So, many consumer electronics companies and multimedia-related laboratories have been developing applications and chips for the AVS. In this paper, we implemented the AVS video decoder and optimize it on TI's Davinci EVM DSP board. For improving the decoding speed and clocks, we removed unnecessary memory operations and we also used high-speed VLD algorithm, linear assembly, intrinsic functions and so forth. Test results show that decoding speed of the optimized decoder is $5{\sim}7$ times faster than that of the reference software (RM 5.2J).

Audio Video Standard (AVS)는 중국내의 멀티미디어 응용기기를 위해 개발된 오디오/비디오 압축 표준이다. AVS는 표준화 코덱 중 성능이 가장 우수한 것으로 알려진 H.264/AVC에 비해 낮은 복잡도의 비디오 알고리즘을 사용하면서도 비슷한 RD 성능을 보인다. AVS 비디오 코덱은 VGA급 이상의 영상을 타겟으로 하기 때문에 큰 해상도에서 압축효율이 좋은 $8{\times}8$ 단위 블록의 예측 및 변환 알고리즘을 사용한다. 현재 중국에서 IPTV 및 모바일 애플리케이션을 위한 코덱으로 AVS를 사용하는 비중이 높아지고 있어 국내의 기업 및 연구소에서도 AVS를 위한 애플리케이션 및 칩 개발을 위한 연구가 진행되고 있다. 본 연구에서는 AVS 비디오 복호화기 알고리즘을 분석하고 이를 바탕으로 하여 불필요한 메모리 연산이 없도록 AVS 비디오 복호화기를 구현하고 이를 TI의 Davinci EVM보드에서 최적화하였다. 또한, 제안한 복호화기에 고속의 VLD 알고리즘을 적용하고 linear assembly로 디블록킹 필터를 구현하는 등 DSP에 적합하도록 최적화를 진행하였다. 이를 통해 AVS의 참조 소프트웨어인 RM 5.2J 복호화기와 비교하여 $500%{\sim}700%$의 복호 속도 향상을 이루었다.

Keywords

References

  1. "http://radar.ndsl.kr", GTB2007080150, August 7, 2007
  2. "http://radar.ndsl.kr", GTB2006110606, November 12, 2006
  3. ZhigangYang, "DSPimplementation of deblocking filter for AVS," in Proc. ICIP, vol. 6, pp. 205-208, 2007
  4. AVS workgroup, "Reference software version RM5.2j"
  5. "TMS320C6000 Programmer's Guide (Rev.I)," 2006, http://www.ti.com
  6. "TMS320C6000 C64x+ DSP CPU and Instruction Set Reference Guide," SPRU732A, Jun. 2005, http://www.ti.com
  7. "TMS320C64x+ DSP Cache User's Guide (Rev. A)," 2007, http://www.ti.com
  8. "Variable-LengthDecoding on the TMS320C6000 DSP Platform," 2005, http://www.ti.com
  9. GB/T 20090.2-2006 "Information Technology Advanced Audio and Video Coding Part 2:Video: AVS-P2"
  10. JVT, "Draft ITU-T Recommendation H.264 and Draft ISO/IEC 14496-10 AVC," Doc JVT-50, Thailand, Mar. 2003
  11. , "TMS320C64x+를 이용한 MPEG-4 코덱 최적화," 제 20회 신호처리합동학술대회논문지, 1권, 158쪽, 2007년 10월
  12. 강대범, 심동규, 박호종, 심영석, "Davinci를 위한 Sorenson H.263 비디오 디코더 최적화," 제 21회 신호처리합동학술대회논문지,1권 155쪽, 2008년 9월
  13. openavs-1.0.3,"http://sourceforge.net",July7, 2006