Vous êtes sur la page 1sur 18

13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL

MULTIMEDIA COMMUNICATIONS (WPMC 2010)

AN EMBEDDED AUDIO
DECODER FOR THE
ISDB-T
Vinicius J. A. Braga, José M. L. Filho,
Luis G. P. Meloni

{vinicius,matias,meloni}@decom.fee.unicamp.br
OBJECTIVE
 To show the whole process of
implementation of an audio
decoder in an embedded system
for the development of Brazilian
Digital Television System.

2
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

AGENDA
 Project Context

 Technology Overview

 Choice of DSP

 Optimization Techniques

 Decoder Implementation

 Current Results

 What’s Next ? 3
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

PROJECT CONTEXT
 This work is part of the development
project of Brazilian Digital Television
System (SBTVD)

 SBTVD is based on Integrated Services


Digital Broadcasting-Terrestrial (ISDB-T)

 Main difference: MPEG-2 by MPEG-4

 Actually used in more than 10 Latin America


countries.

4
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

TECHNOLOGY OVERVIEW
 MPEG-4 introduced a new version of the
audio codec, the High-Efficiency
Advanced Audio Coding Version 2, HE-
AACv2.
 The basic difference: SBR and PS

5
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

TECHNOLOGY OVERVIEW
 Spectral Band Replication (SBR)
increases the bandwidth and enables the
audio codec to deliver the same result
using half bit rate
 Parametric Stereo (PS) increase the
coding efficiency a second time by
exploiting a parametric representation
of the stereo image
 HE-AACv2 = AAC + SBR + PS

6
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

Fig. 1 – Detail Block Diagram of decoder HE-AACv2


13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

CHOICE OF DSP
 Characteristics required:
 High-Performance for real-time
application
 Specific features for audio processing
 High level of integration between core,
memory and peripherals
 DSP Chosen: ADSP-BF533 Blackfin
processor

8
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

CHOICE OF DSP

Fig. 2 – System Architecture of ADSP-BF533


9
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

CHOICE OF DSP
 Characteristics of DSP:
 16-/32-bit processor
 64 MB (32M x 16-bit) SDRAM
 Audio Codec (AD1836) capable of
processing multichannel audio
 Various peripherals for communication
(SPI, SPORT, JTAG, USB)

10
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

OPTIMIZATION TECHNIQUES
Non-optimized
code

Compiler
Optimization

Optimization
for
Architecture

Assembly
Optimization

Optimized
code

Fig. 3 – Optimization Flowchart 11


13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

OPTIMIZATION TECHNIQUES
 Compiler Optimization:
 Built-in functions
 Optimization for Processor
Architecture:
 Cache
 DMA Traffic Control
 Set CDPRIO
 Assembly Optimization
12
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

DECODER IMPLEMENTATION
 To make the implementation of AAC-LC
 To include, gradually, the new tools
SBR and PS
 To apply code optimization

13
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

CURRENT RESULTS
 The code has been tested and validated
 Optimization performed brought significant
improvements

14
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

CURRENT RESULTS

Complexity Before Complexity After


Block
(MCPS) (MCPS)

IMDCT 71 18.33
Analysis Filter
29 15.50
Bank
Envelope
50 16.16
Adjuster
Synthesis Filter
99 24.48
Bank

Table 1 – Decoding Results Before and After Optimization

15
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

WHAT’S NEXT ?
 Implementation of other optimization
techniques, for example:
 Use of new technologies even more
efficient
 Techniques to improve the use of
Arithmetic Logic Unit (ALU) parallelism
 Other techniques of code optimization
 Optimization the other blocks

16
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL MULTIMEDIA COMMUNICATIONS (WPMC 2010)

ACKNOWLEDGEMENTS

 FINEP
 UNICAMP
 RT-DSP Laboratory

17
13TH INTERNATIONAL SYMPOSIUM ON WIRELESS PERSONAL
MULTIMEDIA COMMUNICATIONS (WPMC 2010)

AN EMBEDDED AUDIO
DECODER FOR THE
ISDB-T
Vinicius J. A. Braga, José M. L. Filho,
Luis G. P. Meloni

{vinicius,matias,meloni}@decom.fee.unicamp.br

Vous aimerez peut-être aussi