DOI QR코드

DOI QR Code

디지털 방송용 오디오 디코더의 DSP 최적화 구현

Optimized DSP Implementation of Audio Decoders for Digital Multimedia Broadcasting

  • 박남인 (청주과학기술원 정보통신공학과) ;
  • 조충상 (한국전자부품연구원 SoC 연구센터) ;
  • 김홍국 (청주과학기술원 정보통신공학과)
  • Park, Nam-In (Department of Information and Communications) ;
  • Cho, Choong-Sang (Gwangju Institute of Science and Technology 2SoC Research Cengter, Korea Electronics Technology Institute) ;
  • Kim, Hong-Kook (Department of Information and Communications)
  • 발행 : 2008.07.30

초록

본 논문에서는 디지털 라디오와 지상파 Digital Multimedia Broadcasting (DMB)에서 사용되는 MUSICAM 이라 불리는 MPEG-1/2 Layer-II 와 MPEG-4 ER-BSAC 디코더를 330 MHz 클럭수를 가지고 동작하는 고정 소수점 digital signal processor (DSP) TMS320C64x+ 상에 실시간 구현한다. 오디오 디코더의 실시간 구현하기 위해, 다음과 같은 여러 단계의 최적화를 수행한다. 첫 째, 메모리 공유, 데이터 타입 재설정 및 루프의 unrolling 과정을 통해, C 코드 레벨에서 최적화를 수행한다. 다음으로, 비트스트림 분석의 재구성, 합성 필터의 변경 및 합성 필터의 윈도우 계수의 재배열을 통해 알고리즘 레벨에서 최적화를 수행한다. 또한, MPEG-1/2 Layer-II 디코더의 합성필터 모듈을 linear assembly program 레벨로 치환한다. Linear assembly program 레벨로 치환하는 이유는 MPEG-1/2 Layer-II 디코더에서 합성 필터 모듈이 가장 많은 계산량을 차지하기 때문이다. 구현된 오디오 디코더의 성능 평가를 위해, 복호화 처리시간의 비율을 측정하고, 최적화된 MPEG 디코더와 레퍼런스 MPEG 디코더로 처리된 오디오 신호 사이의 root mean square (RMS)를 계산한다. 최적화 실시간 구현 결과, MPEG-1/2 Layer-II 와 MPEG-4 ER-BSAC 디코더는 TMS320C64x+가 동작하는 최대 클럭 수의 3%와 11%의 사용으로 각각 동작하며, 오디오 디코더의 품질은 MPEG standard에 정의된 -77.01 dB의 조건을 모두 만족함을 확인할 수 있었다.

In this paper, we address issues associated with the real-time implementation of the MPEG-1/2 Layer-II (or MUSICAM) and MPEG-4 ER-BSAC decoders for Digital Multimedia Broadcasting (DMB) on TMS320C64x+ that is a fixed-point DSP processor with a clock speed of 330 MHz. To achieve the real-time requirement, they should be optimized in different steps as follows. First of all, a C-code level optimization is performed by sharing the memory, adjusting data types, and unrolling loops. Next, an algorithm level optimization is carried out such as the reconfiguration of bitstream reading, the modification of synthesis filtering, and the rearrangement of the window coefficients for synthesis filtering. In addition, the C-code of a synthesis filtering module of the MPEG-1/2 Layer-II decoder is rewritten by using the linear assembly programming technique. This is because the synthesis filtering module requires the most processing time among all processing modules of the decoder. In order to show how the real-time implementation works, we obtain the percentage of the processing time for decoding and calculate a RMS value between the decoded audio signals by the reference MPEG decoder and its DSP version implemented in this paper. As a result, it is shown that the percentages of the processing time for the MPEG-1/2 Layer-II and MPEG-4 ER-BSAC decoders occupy less than 3% and 11% of the DSP clock cycles, respectively, and the RMS values of the MPEG-1/2 Layer-II and MPEG-4 ER-BSAC decoders implemented in this paper all satisfy the criterion of -77.01 dB which is defined by the MPEG standards.

키워드

참고문헌

  1. Y. F. Dehery, "A MUSICAM source CODEC for digital audio broadcasting and storage," in Proc. ICASSP, vol. 5, pp. 3605- 3608, May 1991
  2. M. Bosi and R. E. Goldberg, Instruction to Digital Audio Coding and Standards, Kluwer Academic Publishers: Norwell, MA, 2003
  3. ISO/IEC 11172-3, Coding of moving pictures and associated audio for digital storage media at up to about 1.5 Mbit/s part 3: Audio, Apr. 1996
  4. ISO/IEC 14496-4, Information technology - Coding of audio-visual objects part 4: Conformance testing bitstream, Feb. 2004
  5. S. Lee, M. Choi, J. Kim, D. Kim, N. Eum, and H. Jung, "The MPEG-4 BSAC audio decoder implementation in terrestrial DMB receiver," in Proc. IEEE Consumer Electronics, pp. 257-258, Jan. 2006
  6. J. Huang and G. Gu, "A direct approach the design of QMF banks via frequency domain optimization," IEEE Trans. Signal Processing, vol. 46, no. 8, pp. 2131-2138, Aug. 1988 https://doi.org/10.1109/78.705424
  7. Texas Instruments, TMS320C6000 Peripherals Reference Guide, Feb. 2001
  8. R. Chassaing, Digital Signal Processing and Applications with the C6713 and C6416 DSK, Wiley-Interscience, 2005
  9. Texas Instruments, TMS320C6000 CPU and Instruction Set Reference Guide, Oct. 2000
  10. ISO/IEC 11172-4, Coding of moving pictures and associated audio for digital storage media at up to about 1.5 Mbit/s part 4: Compliance test, Mar. 1995