MPEG decoder Case. K.A. Vissers UC Berkeley Chamleon Systems Inc. and Pieter van der Wolf. Philips Research Eindhoven, The Netherlands

Similar documents
TOWARD A FOCUSED MARKET William Bricken September A variety of potential markets for the CoMesh product. TARGET MARKET APPLICATIONS

A High-Performance Parallel CAVLC Encoder on a Fine-Grained Many-core System

Motion Video Compression

H.264/AVC Baseline Profile Decoder Complexity Analysis

A Single-chip MPEG2 Video Encoder LSI with Multi-chip Configuration for a Single-board Encoder

AN-ENG-001. Using the AVR32 SoC for real-time video applications. Written by Matteo Vit, Approved by Andrea Marson, VERSION: 1.0.0

Transitioning from NTSC (analog) to HD Digital Video

Software Analog Video Inputs

From Synchronous to Asynchronous Design

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

microenable IV AS1-PoCL Product Profile of microenable IV AS1-PoCL Datasheet microenable IV AS1-PoCL

OL_H264MCLD Multi-Channel HDTV H.264/AVC Limited Baseline Video Decoder V1.0. General Description. Applications. Features

A video signal processor for motioncompensated field-rate upconversion in consumer television

microenable 5 marathon ACL Product Profile of microenable 5 marathon ACL Datasheet microenable 5 marathon ACL

microenable IV AD1-PoCL Product Profile of microenable IV AD1-PoCL Datasheet microenable IV AD1-PoCL

The World Leader in High Performance Signal Processing Solutions. Section 15. Parallel Peripheral Interface (PPI)

Frame Processing Time Deviations in Video Processors

OL_H264e HDTV H.264/AVC Baseline Video Encoder Rev 1.0. General Description. Applications. Features

Graduate Institute of Electronics Engineering, NTU Digital Video Recorder

A RANDOM CONSTRAINED MOVIE VERSUS A RANDOM UNCONSTRAINED MOVIE APPLIED TO THE FUNCTIONAL VERIFICATION OF AN MPEG4 DECODER DESIGN

Multicore Design Considerations

The Multistandard Full Hd Video-Codec Engine On Low Power Devices

Section 14 Parallel Peripheral Interface (PPI)

Scalable, intelligent image processing board for highest requirements on image acquisition and processing over long distances by optical connection

06 Video. Multimedia Systems. Video Standards, Compression, Post Production

Implementation of an MPEG Codec on the Tilera TM 64 Processor

THE architecture of present advanced video processing BANDWIDTH REDUCTION FOR VIDEO PROCESSING IN CONSUMER SYSTEMS

AT270USB, imod. Digital Video Interfacing Products. Stand alone DVB-C Modulator IF and RF ( VHF & UHF ) Output DVB-ASI Input

MULTIMEDIA TECHNOLOGIES

Introduction to Data Conversion and Processing

Alain Legault Hardent. Create Higher Resolution Displays With VESA Display Stream Compression

Product Profile of microenable 5 VQ8-CXP6D ironman

Set-Top Box Video Quality Test Solution

microenable IV AD4-LVDS Product Profile of microenable IV AD4-LVDS Datasheet microenable IV AD4-LVDS

A QoS approach: V-QoS. Multi-disciplinary QoS approach. Multimedia Consumer Terminals. Overview. Multimedia Consumer Terminals and QoS

CABLE MODEM. COURSE INSTRUCTOR Prof.Andreas Schrader

EECS150 - Digital Design Lecture 12 Project Description, Part 2

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

AT2780USB. Digital Video Interfacing Products. DVB-T/H/C & ATSC Modulator IF and RF ( VHF & UHF ) Output DVB-ASI & DVB-SPI Inputs

AT2700USB. Digital Video Interfacing Products. DVB-C QAM-A/B/C IF and RF ( VHF & UHF ) Output DVB-ASI & DVB-SPI Inputs

AT278USB, imod. Digital Video Interfacing Products. DVB-T/H/C & ATSC Modulator IF and RF ( VHF & UHF ) Output DVB-ASI Input

Fairchild s Switch Matrix and Video Filter Driver Products

So far. Chapter 4 Color spaces Chapter 3 image representations. Bitmap grayscale. 1/21/09 CSE 40373/60373: Multimedia Systems

Teletext Inserter Firmware. User s Manual. Contents

Chrontel CH7015 SDTV / HDTV Encoder

Chapter 2 Introduction to

Verification Methodology for a Complex System-on-a-Chip

Video 1 Video October 16, 2001

A better way to get visual information where you need it.

AT720USB. Digital Video Interfacing Products. DVB-C (QAM-B, 8VSB) Input Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

A320 Supplemental Digital Media Material for OS

EnVinci Endoscopy with PC Comfort

DT3130 Series for Machine Vision

A Low-Power 0.7-V H p Video Decoder

8500 Composite/SD Legalizer and Video Processing Frame Sync

Workload Prediction and Dynamic Voltage Scaling for MPEG Decoding

Jupiter PixelNet. The distributed display wall system. infocus.com

Cisco Explorer 8650HD DVR

High Performance TFT LCD Driver ICs for Large-Size Displays

MPEG-2. ISO/IEC (or ITU-T H.262)

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

SOC Single Channel H264 + Audio Encoder module

Reconfigurable Neural Net Chip with 32K Connections

A Real-Time MPEG Software Decoder

Parallel Peripheral Interface (PPI)

PixelNet. Jupiter. The Distributed Display Wall System. by InFocus. infocus.com

Altera's 28-nm FPGAs Optimized for Broadcast Video Applications

Front Panel Front Panel Controls Security Power Indicator LED IR Receiver Recessed Branding Area IR Receiver,10 buttons: Power, Vol+, Vol-, Ch+, Ch-,

Real-Time Parallel MPEG-2 Decoding in Software

ATSC DVB. Macrovision COMB FILTER. SAA7130 PAL/NTSC/SECAM/TS PCI 9-Bit Video Decoder

Sapera LT 8.0 Acquisition Parameters Reference Manual

Advanced System LSIs for Home 3D Systems

FPGA Development for Radar, Radio-Astronomy and Communications

BlazeVideo HDTV Player v6.0 User s Manual. Table of Contents

DSP in Communications and Signal Processing

AT780PCI. Digital Video Interfacing Products. Multi-standard DVB-T2/T/C Receiver & Recorder & TS Player DVB-ASI & DVB-SPI outputs

picasso TM 3C/3Cpro series Datasheet picasso TM 3C/3Cpro models Key features

PCI Express JPEG Frame Grabber Hardware Manual Model 817 Rev.E April 09

RECOMMENDATION ITU-R BT.1201 * Extremely high resolution imagery

Modular Video Wall Controller

An FPGA Based Solution for Testing Legacy Video Displays

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

A Highly Scalable Parallel Implementation of H.264

VIDEO GRABBER. DisplayPort. User Manual

Design and Implementation of SOC VGA Controller Using Spartan-3E FPGA

NOW Handout Page 1. Traversing Digital Design. EECS Components and Design Techniques for Digital Systems. Lec 13 Project Overview.

Technical Note PowerPC Embedded Processors Video Security with PowerPC

1. Introduction. 2. System requirements. Abstract

A VLIW Processor for Multimedia Applications

Design and Implementation of a Simulator for Measuring the Quality of Service for Distributed Multimedia Applications

STi5105 High-performance advanced SD decoder for set-top box Features

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

Design Challenge of a QuadHDTV Video Decoder

HCS-8131M Professional Audio & Video Recorder for Conference

Block Diagram. deint_mode. line_width. log2_line_width. field_polarity. mem_start_addr0. mem_start_addr1. mem_burst_size.

CONEXANT 878A Video Decoder Manual

Digital Image Processing

8 DIGITAL SIGNAL PROCESSOR IN OPTICAL TOMOGRAPHY SYSTEM

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Transcription:

MPEG decoder Case K.A. Vissers UC Berkeley Chamleon Systems Inc. and Pieter van der Wolf Philips Research Eindhoven, The Netherlands 1

Outline Introduction Consumer Electronics Kahn Process Networks Revisited MPEG application Mapping Design space exploration Conclusions 2

Consumer Electronics 3

Consumer Electronics Cost (< $100 for electronics of TV) Low power consumption (no fan / mobile) Large series (> 0.5 million pieces) Robustness (no hazards, no reboots) Real-time constraints (no loss of data, guaranteed response) Both control and signal processing Increasing requirements for computation & communication (more functions, higher resolutions) Wide range of information appliances Large portfolio of semiconductor products 4

Consumer Electronics Trend towards multi-functional multi-standard products web browsing e-mail high-speed modem (xdsl) teletext EPG graphics MPEG-2 picture rate conversion (50-100 Hz) video scaling picture enhancement etc. 5

Video Processing Requirements for computation & communication Standard resolution TV: PAL: 720 x 576 @ 25 frames/sec NTSC: 720 x 480 @ 30 frames/sec 10.4 million samples/sec luminance (y) and chrominance (u and v, subsampled) typically 8-10 bits for luminance, 8 bits for chrominance Say in TV system 100-1000 operations / pixel: 1-10 billion operations / sec 1-10 Gbyte / sec internal bandwidth High definition TV (1920 X 1080 @ 30): factor 6 more 6

Philips Nexperia TM MIPS TM SDRAM TriMedia TM General Purpose RISC Processor 50 to 300+ MHz 32-bit or 64-bit Library of Device Blocks Image coprocessors DSPs UART 1394 USB D$ I$ MIPS CPU PRxxxx DEVICE I/P BLOCK DEVICE I/P BLOCK.. DEVICE I/P BLOCK. PI BUS MMI DVP MEMORY BUS PI BUS TriMedia CPU D$ TM-xxxx I$ DEVICE I/P BLOCK DEVICE I/P. BLOCK.. DEVICE I/P BLOCK VLIW Media Processor: 100 to 300+ MHz 32-bit or 64-bit Nexperia System Busses PI bus Memory bus 32-128 bit and more DVP System Silicon Flexible architecture for digital video applications 7

Nexperia TM Scalability RISC SDRAM MMI RISC SDRAM MMI VLIW SDRAM MMI VLIW MIPS CPU + Device blocks + Software MIPS CPU + Trimedia CPU replacing some Device blocks TriMedia CPU + Device blocks when control functions are minimal Single architecture, multiple product configurations Processor core options - TM32, TM64, MIPS32, MIPS64... Device block options Highly programmable to weakly programmable 8

Design Problem SDRAM video-in video-out timers Serial I/O PCI bridge MPEG VLIW cpu I$ D$ audio-out audio-in 9

MPEG2 decoding Audio and Video, Audio completely done in software on VLIW Video: describe in Kahn Process Networks Test for compliance with the standards: ranging from H263 to HDTV! Map on software + dedicated hardware 10

MPEG2 decoding status IP content in Philips Semiconductors: NX8500 family: single chip HDTV decoder (audio + Video): dedicated MPEG2 video decoder specialized Video Output many other features 11

Methodology In Research: Describe the full functionality of the MPEG2 video decoding. Mapping and performance analysis Compare with the actual Semiconductors results in ICs 12

Steps Download the Berkeley MPEG decoder Remove errors Remove global variables Split in separate processes natural partitioning insert read, write and execute statements profile and run 13

Application Modeling: Yapi A C Process FIFO B Write Read Execute Y-api: An C++ api for Kahn Process Networks: Expose parallelism and communication 14

Workload analysis 34815 A Operation Count A-up 56952 A-down 1834 58786 58786 FIFO B Operation Count B-filter 58786 C Operation Count C-join 34815 C-pass 9834 C-skip 7274 Computation and Communication workload 15

MPEG decoding Take a stream of encoded bits Separate the headers and parse for parameters Variable length decoding On blocks of 16x 16 pixels do: Inverse scan quantization Inverse Discrete Cosine Transform Add to the motion compensated block Reorder images IPBB -> IBBP 16

Motion-compensation n-1 D/2 n-1/2 -D/2 picture number n 17

Mpeg2 video decoder Model of MPEG2 video decoder in Yapi 18

Design Problem SDRAM video-in video-out timers Serial I/O PCI bridge MPEG VLIW cpu I$ D$ audio-out audio-in 19

Mpeg2 mapping Software on the VLIW Memory Memory Video Out Video In Memory Dedicated Mpeg coprocessor Dedicated Mpeg coprocessor: pipe with fifo buffers and blocking semantics 20

Mpeg2 mapping for SD! Software on the VLIW Memory Memory Video Out Video In Software on the VLIW Memory Dedicated Mpeg coprocessor: pipe with fifo buffers and blocking semantics 21

Mapping and performance analysis Process A Read C Application model (YAPI) Architecture model X FIFO B W(2) E(B-filter) R(1) Abstract processor model Write Y Abstract bus model W(3) E(C-join) R(2) R(1) Mem Execute 22

MPEG2 mapping Data dependant: different video streams: Computation on the VLIW and coprocessors Communication on the bus and internally in the Mpeg2 decoder Exploration Questions: Bus load, burst size of the communication, latency of the memory interface 23

Exploration results: bus waits 20000 18000 SU stalls for bus "int_su_o2.dat" 16000 14000 12000 Storage Unit 10000 8000 6000 4000 2000 0 0 10 20 30 40 50 60 70 cycle 24

Exploration results: bus waits 2500 VInput stalls for bus "int_vin_o1.dat" 2000 1500 Video In 1000 500 0 0 10 20 30 40 50 60 70 cycle 25

Design Space Exploration 26

Lessons learned Models of the concurrency matter Quantifying design choices is key Match of Model of Computation and Model of Architecture Tools required: Mapping, Simulation and Design Space Exploration support Raise the level of abstraction for exploration 27

References Pieter van der Wolf, Paul Lieverse, Mudit Goel, David La Hei, and Kees Vissers, "An MPEG- 2 Decoder Case Study as a Driver for a System Level Design Methodology" In: Proc. 7th Int. Workshop on Hardware/Software Codesign (CODES'99), Rome, Italy, May 3-5 1999. E.A. de Kock, G. Essink, W.J.M. Smits, P. van der Wolf, J.-Y Brunel, W.M. Kruijtzer, P. Lieverse, K.A. Vissers. YAPI: Application Modeling for Signal Processing Systems In: Proc. 37th DAC, Los Angeles, June 2000. Http://ptolemy.eecs.berkeley.edu/~vissers 28