pLayer-i An Internet based muzik player -Maninder Singh -Nishant R - - PowerPoint PPT Presentation

player i
SMART_READER_LITE
LIVE PREVIEW

pLayer-i An Internet based muzik player -Maninder Singh -Nishant R - - PowerPoint PPT Presentation

pLayer-i An Internet based muzik player -Maninder Singh -Nishant R Shah -Ramachandra Shankar Understanding and porting a widely used application Mp3 decoding is computationally very intensive and hence hardware usage would be a


slide-1
SLIDE 1

pLayer-i

An Internet based muzik player

  • Maninder Singh
  • Nishant R Shah
  • Ramachandra Shankar
slide-2
SLIDE 2

Our Motivation

 Understanding and porting a widely used

application

 Mp3 decoding is computationally very

intensive and hence hardware usage would be a necessity

 Learning about a complete embedded

application involving varied topics like DSP and networking

slide-3
SLIDE 3

What is mp3?

 Most widely used file-format and codec on

earth and yet not too many people know its details.

 Complex Algorithm to compress a *.wav

to *.mp3 by 10 times

 Lossey algo but based on human ear

response

slide-4
SLIDE 4

Networking

 Using a very primitive RTP-RTSP 2250

protocol

 Reason being ease of decoding the UDP

frame

 Using the FPGA’s Ethernet Chip and a

computer to feed the live stream

slide-5
SLIDE 5

Our Approach

 Understanding the mp3 decoding scheme  Writing a complete software version to

eliminate ambiguity

 Timing Analysis  Making Necessary Hardware Blocks  System Integration

slide-6
SLIDE 6

Software code

 Using the Spec sheet ISO/IEC 11172-3 and a MPG123

library

 A single file MP3 player was written and tested on our

computer

 The file has no floating point calculation and uses no

library

 This perfect-for-NIOS code was now ported on the

NIOS….it worked!!

 This code “worked” but not “real-time”

slide-7
SLIDE 7

Timing Analysis

Details Time 1 Mp3 frame 26ms Full Software Decoder 245 ms Software + Hardware DCT 185 ms De-quantize + Huffman 3.5 ms Anti-alising + Re-ordering 35 ms IMDCT + Windowing 157 ms

slide-8
SLIDE 8

The System

slide-9
SLIDE 9

Hardware Blocks

 After the Timing Analysis, Obvious choice

to make the last two hardware blocks:

  • IMDCT
  • Windowing

+

IMDCT IMDCT

18 input values 18 output values Last 18 values 36 output values 18 lower values

Windowing Windowing

Block Type 18 higher values

slide-10
SLIDE 10

Hardware Blocks

 IMDCT block saves around ** seconds in

decoding.

 Windowing block saves around **

seconds

 Both made using pipelined architecture  Problem in this is: Data Dependancy

slide-11
SLIDE 11

RoadBLOCKS

 Unavailability of complete Specs  Making the audio codec behave well  Converting C to VHDL

slide-12
SLIDE 12

Lessons learnt

 MP3  Making Hardware  Embedded Application Development

slide-13
SLIDE 13

THANK YOU..