Developement and Implementation of an MPEG1 Layer III Decoder on x86 and TMS320C6711 platforms Farina Simone (Braidotti Enrico)

Slides:



Advertisements
Similar presentations
Chapter 19 Fast Fourier Transform
Advertisements

T.Sharon-A.Frank 1 Multimedia Compression Basics.
MP3 Overview John Ehrhardt Elena Silenok CSE228 – Spring 03.
Developement and Implementation of an MPEG1 Layer III Decoder on x86 and TMS320C6711 platforms Braidotti Enrico (Farina Simone)
CS335 Principles of Multimedia Systems Audio Hao Jiang Computer Science Department Boston College Oct. 11, 2007.
MP3 Optimization Exploiting Processor Architecture and Using Better Algorithms Mancia Anguita Universidad de Granada J. Manuel Martinez – Lechado Vitelcom.
15 Data Compression Foundations of Computer Science ã Cengage Learning.
MPEG-1 MUMT-614 Jan.23, 2002 Wes Hatch. Purpose of MPEG encoding To decrease data rate How? –two choices: could decrease sample rate, but this would cause.
Data Compression CS 147 Minh Nguyen.
Digital Audio Compression
August 2004Multirate DSP (Part 2/2)1 Multirate DSP Digital Filter Banks Filter Banks and Subband Processing Applications and Advantages Perfect Reconstruction.
Digital Representation of Audio Information Kevin D. Donohue Electrical Engineering University of Kentucky.
A Matlab Playground for JPEG Andy Pekarske Nikolay Kolev.
Embedded Software Optimization for MP3 Decoder Implemented on RISC Core Yingbiao Yao, Qingdong Yao, Peng Liu, Zhibin Xiao Zhejiang University Information.
Speech & Audio Processing
1 Audio Compression Techniques MUMT 611, January 2005 Assignment 2 Paul Kolesnik.
Audio compression zAlgorithms. zStandards.. Coding gain zRatio of uncompressed size to compressed size. zSources: yLossless coding. yLossy perceptual.
MPEG Audio Compression by V. Loumos. Introduction Motion Picture Experts Group (MPEG) International Standards Organization (ISO) First High Fidelity Audio.
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
Audio Coding MPEG1 Layers I, II, III MPEG2MPEG4 Sherida Subrati Anthony Caliendo.
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
Department of Computer Engineering University of California at Santa Cruz Data Compression (2) Hai Tao.
Low power and cost effective VLSI design for an MP3 audio decoder using an optimized synthesis- subband approach T.-H. Tsai and Y.-C. Yang Department of.
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
1 Audio Compression Multimedia Systems (Module 4 Lesson 4) Summary: r Simple Audio Compression: m Lossy: Prediction based r Psychoacoustic Model r MPEG.
Image Compression - JPEG. Video Compression MPEG –Audio compression Lossy / perceptually lossless / lossless 3 layers Models based on speech generation.
JPEG C OMPRESSION A LGORITHM I N CUDA Group Members: Pranit Patel Manisha Tatikonda Jeff Wong Jarek Marczewski Date: April 14, 2009.
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Encoding of Waveforms Encoding of Waveforms to Compress Information.
Audio Compression Usha Sree CMSC 691M 10/12/04. Motivation Efficient Storage Streaming Interactive Multimedia Applications.
1 Media Processing – Audio Part Dr Wenwu Wang Centre for Vision Speech and Signal Processing Department of Electronic Engineering
A Tutorial on MPEG/Audio Compression Davis Pan, IEEE Multimedia Journal, Summer 1995 Presented by: Randeep Singh Gakhal CMPT 820, Spring 2004.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2011.
Preprocessing Ch2, v.5a1 Chapter 2 : Preprocessing of audio signals in time and frequency domain  Time framing  Frequency model  Fourier transform 
MPEG Audio coders. Motion Pictures Expert Group(MPEG) The coders associated with audio compression part of MPEG standard are called MPEG audio compressor.
Image Processing and Computer Vision: 91. Image and Video Coding Compressing data to a smaller volume without losing (too much) information.
CIS679: Multimedia Basics r Multimedia data type r Basic compression techniques.
Codec structuretMyn1 Codec structure In an MPEG system, the DCT and motion- compensated interframe prediction are combined. The coder subtracts the motion-compensated.
Image Compression Supervised By: Mr.Nael Alian Student: Anwaar Ahmed Abu-AlQomboz ID: IT College “Multimedia”
1 Audio Compression. 2 Digital Audio  Human auditory system is much more sensitive to quality degradation then is the human visual system  redundancy.
8. 1 MPEG MPEG is Moving Picture Experts Group On 1992 MPEG-1 was the standard, but was replaced only a year after by MPEG-2. Nowadays, MPEG-2 is gradually.
Basics of Neural Networks Neural Network Topologies.
1 Classification of Compression Methods. 2 Data Compression  A means of reducing the size of blocks of data by removing  Unused material: e.g.) silence.
A hardware-Friendly Wavelet Entropy Codec for Scalable video Hendrik Eeckhaut ELIS-PARIS Ghent University Belgium.
Image Processing Architecture, © 2001, 2002, 2003 Oleh TretiakPage 1 ECE-C490 Image Processing Architecture MP-3 Compression Course Review Oleh Tretiak.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Spectrum.
JPEG. Introduction JPEG (Joint Photographic Experts Group) Basic Concept Data compression is performed in the frequency domain. Low frequency components.
Entropy vs. Average Code-length Important application of Shannon’s entropy measure is in finding efficient (~ short average length) code words The measure.
Image Processing Architecture, © Oleh TretiakPage 1Lecture 5 ECEC 453 Image Processing Architecture Lecture 5, 1/22/2004 Rate-Distortion Theory,
MP3 and AAC Trac D. Tran ECE Department The Johns Hopkins University Baltimore MD
Signal Prediction and Transformation Trac D. Tran ECE Department The Johns Hopkins University Baltimore MD
EEE4176 Applications of Digital Signal Processing
Data Compression.
III Digital Audio III.6 (Fr Oct 20) The MP3 algorithm with PAC.
Digital Image Processing Lecture 21: Lossy Compression May 18, 2005
Digital Image Processing Lecture 21: Lossy Compression
A Simple Image Compression : JPEG
Wavelets : Introduction and Examples
Data Compression.
Data Compression CS 147 Minh Nguyen.
Discrete Cosine Transform (DCT)
Judith Molka-Danielsen, Oct. 02, 2000
MPEG-1 Overview of MPEG-1 Standard
III Digital Audio III.6 (Mo Oct 22) The MP3 algorithm with PAC.
1-D DISCRETE COSINE TRANSFORM DCT
Image Coding and Compression
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Chapter 19 Fast Fourier Transform
Digital Image Procesing Discrete CosineTrasform (DCT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL.
Govt. Polytechnic Dhangar(Fatehabad)
15 Data Compression Foundations of Computer Science ã Cengage Learning.
Presentation transcript:

Developement and Implementation of an MPEG1 Layer III Decoder on x86 and TMS320C6711 platforms Farina Simone (Braidotti Enrico)

DECODING PROCESS

ALIAS RECONSTRUCTION It is performed only when using long blocks: this means only when using pure long blocks or mixed blocks. Lets see what long/short blocks are Not encoded signal Same signal encoded using long blocks Same signal encoded using short blocks

HYBRID SYNTHESIS IMDCT (Inverse Modified Discrete Cosine Transform) Subbands are backward transformed separately depending on block length. 6-point IMDCT When short blocks are used (pre-echoes masking) 18-point IMDCT When long blocks are used

HYBRID SYNTHESIS Fast IMDCT algorithm (Szu-Wei Lee ) Based on simmetric properties of cosine function It needs a rearranging stage to restore values to their original positions Drastically reduces number of operations if compared to direct implementation × (short/long)+ (short/long) Direct Implementation216 / / 612 Fast IMDCT (Szu-Wei Lee)33 / 4369 / 115 Improvement84.7 % / 93.3 %61.7 % / 81.2 %

HYBRID SYNTHESIS Windowing Once transformed, subbands are windowed according to value of block_type (subbands with short blocks are separately transformed for each window and then overlapped) Overlap-adding First half of transformed blocks is overlapped with second half of the corresponding blocks in the previous granule

FREQUENCY INVERSION Every second sample in every second subband has to be multiplied by -1.

SYNTHESIS POLYPHASE FILTERBANK This process produces 32 PCM audio samples. 576 / granule 1152 / frame (equal to 26 ms of 44,1 kHz) Composed of several steps, it turns out to be the most time-consuming stage of the overall decoding process

SYNTHESIS POLYPHASE FILTERBANK Polyphase Matrixing It is a cosine-like transform (non standard ) The direct computation involves a 64×32 matrix and requires almost ¼ of decoding time Needs optimization to perform real-time decoding K. Konstantinides’ algorithm 32-point Fast DCT (B.G.Lee)

SYNTHESIS POLYPHASE FILTERBANK Konstantinides’ Algorithm

SYNTHESIS POLYPHASE FILTERBANK FCT Algorithm (Byeong-Gi Lee ) Using trigonometrical properties a 2 M DCT can be performed by 2 M-1 2-point DCTs Direct computation × = N ² + = N· ( N-1 ) FCT × = N/2 · log 2 ( N ) + < 3· N/2 · log 2 ( N )

WAVE STANDARD Individuated by a 44-byte header, holds information about: sampling frequency number of channels... Uncompressed PCM audio samples (normally with 16 bits/sample resolution) stored in following way: Istante di campionamento Canale 0 1 (Left) 2 (Right) 1 1 (Left) 2 (Right) 2 1 (Left) 2 (Right)

PERFORMANCE ANALYSIS PC Performances The decoder, without optimization, works in real time on the following CPUs: The decoder, with optimization, reaches 17,5× on Pentium IV CPU

PERFORMANCE ANALYSIS C6711 DSK Performances The decoder, without optimization, doesn’t work in real time on the board Parallel port is used for data transfer and it’s very very slow Most algorithms need optimization (only Huffman Decoding is optimized) Code needs some ASM optimization to use the full-potential of the board architecture Whole decoding process (except data transfer TO external hard disk) takes about 10 times more than needed to work in real time. With optimization it is an easy goal to reach.

PERFORMANCE ANALYSIS Time-occupation of optimized processes on C6711 DSK:

PERFORMANCE ANALYSIS Time-occupation of optimized processes on C6711 DSK:

PERFORMANCE ANALYSIS Time-occupation of other processes on C6711 DSK: