Fast Hybrid Simulation for Accurate Decoded Video Quality Assessment on MPSoC Platforms with Resource Constraints

Similar documents
Performance Analysis and Comparison of JM 15.1 and Intel IPP H.264 Encoder and Decoder

We are presenting a wavelet based video conferencing system. Openphone. Dirac Wavelet based video codec

Quality Estimation for Scalable Video Codec. Presented by Ann Ukhanova (DTU Fotonik, Denmark) Kashaf Mazhar (KTH, Sweden)

Parametric Comparison of H.264 with Existing Video Standards

Study and Implementation of Video Compression standards (H.264/AVC, Dirac)

Image Compression through DCT and Huffman Coding Technique

Video compression: Performance of available codec software

Study and Implementation of Video Compression Standards (H.264/AVC and Dirac)

Video Encryption Exploiting Non-Standard 3D Data Arrangements. Stefan A. Kramatsch, Herbert Stögner, and Andreas Uhl

Video Authentication for H.264/AVC using Digital Signature Standard and Secure Hash Algorithm

Proactive Video Assurance through QoE and QoS Correlation

Video Coding Basics. Yao Wang Polytechnic University, Brooklyn, NY11201

Analysis of IP Network for different Quality of Service

Multidimensional Transcoding for Adaptive Video Streaming

How To Improve Performance Of The H264 Video Codec On A Video Card With A Motion Estimation Algorithm

Introduction to image coding

Bandwidth Adaptation for MPEG-4 Video Streaming over the Internet

Efficient Motion Estimation by Fast Three Step Search Algorithms

4 Internet QoS Management

2695 P a g e. IV Semester M.Tech (DCN) SJCIT Chickballapur Karnataka India

Complexity-rate-distortion Evaluation of Video Encoding for Cloud Media Computing

Full Interactive Functions in MPEG-based Video on Demand Systems

ISO/IEC INTERNATIONAL STANDARD

Copyright 2008 IEEE. Reprinted from IEEE Transactions on Multimedia 10, no. 8 (December 2008):

Service Level Analysis of Video Conferencing over Wireless Local Area Network

Classes of multimedia Applications

EQUITABLE QUALITY VIDEO STREAMING OVER DSL. Barry Crabtree, Mike Nilsson, Pat Mulroy and Steve Appleby

Video Conference System

How To Test Video Quality With Real Time Monitor

Maximizing the number of users in an interactive video-ondemand. Citation Ieee Transactions On Broadcasting, 2002, v. 48 n. 4, p.

Thor High Efficiency, Moderate Complexity Video Codec using only RF IPR

IMPACT OF COMPRESSION ON THE VIDEO QUALITY

How To Manage Resources In A Distributed System

A Tool for Multimedia Quality Assessment in NS3: QoE Monitor

White Paper. The Next Generation Video Codec Scalable Video Coding (SVC)

Jordi Mongay Batalla (Warsaw University of Technology Poland)

Assessment of Camera Phone Distortion and Implications for Watermarking

Chapter 3 ATM and Multimedia Traffic

Video Coding Standards. Yao Wang Polytechnic University, Brooklyn, NY11201

A Tutorial On Network Marketing And Video Transoding

A Scalable Video-on-Demand Service for the Provision of VCR-Like Functions 1

Figure 1: Relation between codec, data containers and compression algorithms.

QOS Requirements and Service Level Agreements. LECTURE 4 Lecturer: Associate Professor A.S. Eremenko

Overview: Video Coding Standards

Enhanced Prioritization for Video Streaming over Wireless Home Networks with IEEE e

Study Element Based Adaptation of Lecture Videos to Mobile Devices

Audio Coding Algorithm for One-Segment Broadcasting

CSE 237A Final Project Final Report

Multiple Description Coding (MDC) and Scalable Coding (SC) for Multimedia

Evaluating Wavelet Tranforms for Video Conferencing Applications. Second quarter report (Oct Dec, 2008)

Selection of Techniques and Metrics

Understanding Compression Technologies for HD and Megapixel Surveillance

Non-Data Aided Carrier Offset Compensation for SDR Implementation

Internet Video Streaming and Cloud-based Multimedia Applications. Outline

Case Study: Real-Time Video Quality Monitoring Explored

University of Modena and Reggio Emilia. Laboratorio di Comunicazioni Multimediali EVALVID. Daniela Saladino

A Cross-Layer Quality-of-Service Mapping Architecture for Video Delivery in Wireless Networks

Experiences with Interactive Video Using TFRC

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

BDTI Solution Certification TM : Benchmarking H.264 Video Decoder Hardware/Software Solutions

CHAPTER 7 CONCLUSION AND FUTURE WORK

high-quality surround sound at stereo bit-rates

RESEARCH PROFILE: VIDEO TECHNOLOGIES FOR NETWORKED MULTIMEDIA APPLICATIONS

Real-Time DMB Video Encryption in Recording on PMP

Traffic Prioritization of H.264/SVC Video over e Ad Hoc Wireless Networks

A Control Theory Approach to Video Stream Adaptation for Restricted Bandwidth Networks

ISPS2014 Workshop Energy to Smart Grids Presenting results of ENIAC project: E2SG (Energy to Smart Grid)

Gaming as a Service. Prof. Victor C.M. Leung. The University of British Columbia, Canada

Digital Audio and Video Data

Sockets vs. RDMA Interface over 10-Gigabit Networks: An In-depth Analysis of the Memory Traffic Bottleneck

A Mathematical Model for Evaluating the Perceptual Quality of Video

Requirements for the Transmission of Streaming Video in Mobile Wireless Networks

Evaluating the Impact of Network Performance on Video Streaming Quality for Categorised Video Content

Scheduling Video Stream Transmissions for Distributed Playback over Mobile Cellular Networks

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

Power-Aware High-Performance Scientific Computing

Proactive Prioritized Mixing of Scalable Video Packets in Push-Based Network Coding Overlays

QualiVision. RADVISION s improved packet loss video compensation technology. A RADVISION White Paper

Motivation: Smartphone Market

IETF RMCAT WG: Video Quality Metrics Discussion for Evalua?on Criteria

Image Authentication Scheme using Digital Signature and Digital Watermarking

LTE PHY Fundamentals Roger Piqueras Jover

How To Determine The Capacity Of An B Network

Technical Paper. Dolby Digital Plus Audio Coding

For Articulation Purpose Only

New Features for Remote Monitoring & Analysis using the StreamScope (RM-40)

Intel Media Server Studio - Metrics Monitor (v1.1.0) Reference Manual

Parametric characterization and Channel models for worst-case MMF channels

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Wireless Ultrasound Video Transmission for Stroke Risk Assessment: Quality Metrics and System Design

Transform-domain Wyner-Ziv Codec for Video

Float to Fix conversion

Case Study I: A Database Service

MPEG-4 Video Transfer with SCTP-Friendly Rate Control Mohamed N. El Derini

The Effect of Network Cabling on Bit Error Rate Performance. By Paul Kish NORDX/CDT

Quality Optimal Policy for H.264 Scalable Video Scheduling in Broadband Multimedia Wireless Networks

AGENDA. Overview GPU Video Encoding NVIDIA Video Encoding Capabilities. Software API Performance & Quality. Kepler vs Maxwell GPU capabilities Roadmap

Understanding Megapixel Camera Technology for Network Video Surveillance Systems. Glenn Adair

WATERMARKING FOR IMAGE AUTHENTICATION

Transcription:

Fast Hybrid Simulation for Accurate Decoded Video Quality Assessment on MPSoC Platforms with Resource Constraints Deepak Gangadharan and Roger Zimmermann Department of Computer Science, National University of Singapore and Samarjit Chakraborty Institute for Real Time Computer Systems, TU Munich

Motivation (Typical MPSoC architecture for video decoders) Network Interface Frequency of PEs PE 1 PE 2 Display Interface network B 1 B 2 B 3 Tasks 1 to n Tasks n to N Video decoder Buffer resources Mobile devices with video decoders have resource (frequency, buffer etc) constraints Resources can be determined based on the output quality requirement Necessity for an efficient framework to explore the trade off between resources and display quality

Motivation (Conventional method Design space exploration of resources for no loss in quality) Input library Encoded video clips Input Test Clip Input parameters Change resource values System simulator Loss in decoded quality for some video clips System should satisfy the no quality loss constraint for all test video clips A model of the system running a decoder application is used in the system simulator All video clips simulated to obtain decoder task workload values High simulation time!!

Motivation (Reducing simulation time) Hybrid simulation based task workload estimation Simulation-based task workload estimation Estimation Accuracy Model-based task workload estimation Simulation time

Organization Related Work Overview of hybrid simulation based quality assessment framework MPEG2/MPEG4 workload models Frame discard strategy Experimental results

Related Work Very little work on studying the trade offs between scarce system resources (frequency and buffer) and decoded video quality important for mobile devices Yanhong et al. [1] investigate trade offs between quality of MPEG 4 decoded video and processor frequency Use expensive simplescalar simulations to find task workload values Koumaras et al. [2] propose an end to end video quality prediction framework with packet losses in a network transmission scenario Cannot be adapted to mobile devices because PSNR value estimation is not accurate [1] L. Yanhong, S. Chakraborty, O. W. Tsang, A. Gupta, and S. Mohan. Workload characterization and cost quality tradeoffs in mpeg 4 decoding on resource constrained devices. In 3rd IEEE Workshop on Embedded Systems for Real Time Multimedia (ESTIMedia), 2005. [2] H. Koumaras, C. H. Lin, C. K. Shieh, and A. Kourtis. A framework for end to end video quality prediction of mpeg video. Journal of Visual Communication and Image Representation, 21(2):139 154, 2010.

Overview of our framework Training set clips for task differentiation and workload model derivation Test clips for (simulation of light tasks only + workload model equipped bitstream analysis) Processor Model Decoder application Light Task 1 Heavy Task 3 Task 2 Workload model + Bitstream analysis Task Differentiation + Hybrid Simulation MPSoC platform details (number of processing elements) System resource values (Frequency + Buffer values) (exec task1, exec task2, exec task3 ) Frame discard strategy PSNR calculator Quality Assessment quality out

Step 1 Task Differentiation Tasks in a decoder application are differentiated based on a lightness property of the tasks (using training set video clips) For a task t k, k where 1 k N T, lightness property is determined by T k F th T tot Light tasks and other tasks which cannot be accurately modeled are simulated Accurate task workload models are derived for the remaining tasks

MPEG 2/MPEG 4 decoder task differentiation MPEG 2 decoder (F th = 0.2) Light and Simulated Heavy and Modeled VLD IDCT MC MPEG 4 decoder (F th = 0.3) Light and Simulated Heavy and Modeled VLD AC DC prediction IDCT MC

Step 2 Hybrid Simulation Workload of heavy tasks (IDCT+MC for both MPEG 2 and MPEG 4 decoder) from Step 1 are estimated by extracting certain easily obtainable parameters from the video stream Accurate workload models are used for IDCT and MC (accuracy measured in terms of a frame drop deviation condition) Workload of light tasks from Step 1 are estimated by simulation as deriving accurate workload model is difficult

Frame Drop Deviation (FDD) Network Interface PE 1 PE 2 Display Interface network B 1 B 2 B 3 VLD/ VLD+AC IDCT + MC Video decoder B 1 Input buffer, B 2 Intermediate buffer, B 3 - Playout buffer b sim (t) = r f1 + B_bot sim and b model (t) = s f2 + B_bot model, t r f1 r no. of MBs of (f1)-th frame at the top of the buffer and 0 r FSIZE s f2 has the same interpretation as r f1 According to FDD, everytime a buffer overflow occurs, FDD = 0=> f1 f2 = 0 => f1 = f2

Workload model for heavy tasks in MPEG 2/MPEG 4 Video clips from training set used to derive the workload models Workload models were developed for portable ISA (PISA). VLD task workload accuracy is difficult to achieve by using a model in both MPEG 2 and MPEG 4. AC DC prediction workload accuracy is also difficult to attain in MPEG 4.

MPEG 2 MC workload model MC workload depends on 6 parameters of the MPEG 2 frame namely 1) Y component s x dimension is HALF PIXEL 2) Y component s y dimension is HALF PIXEL 3 & 4) U or V component s x and y dimension is HALF PIXEL 5) forward or backward motion compensation is required 6) motion compensation window is 16x8 or 16x16 Depending on the frame type, the MC routine is called with different parameters Look up table with 64 processor workload values is used to model the MC workload Workload MC = LUT(x), where x is a 6 bit value

MPEG 2 IDCT workload model IDCT workload depends on the number and position of non zero IDCT coefficients in the 8x8 block structure of MB To adhere to FDD condition, certain shortcut conditions of fast IDCT implementations are also taken into consideration The IDCT workload model proposed is Workload i = basis i + n_sig i scnt i, i Workload IDCT = ι Workload i, 1 i 6 From training set simulations basis i = 1965/1852/708/595 = 113 and = 143

Frame discard strategy Multimedia frames are required to be discarded when the resources are insufficient to process them Frame discard strategy Simple mechanism of dropping entire frame if one incoming MB cannot be accommodated in the buffer Dropped frames are replaced by previous accepted frames

Frame discard strategy ( contd) Rule 1: An I frame drop is followed by drop of an entire group of pictures (GOP). No. of drops will be a minimum of GOP length Rule 2: A P frame drop is followed by drop of the subsequent frames in the GOP. No. of drops will depend on the position of P frame in the GOP Rule 3: A B frame drop does not require any other frame drop Rule 4: A frame is dropped if any of its MBs causes overflow or it is dependent on a previously dropped frame

PSNR calculation A difference based PSNR (quality metric) is calculated as the original video frames are not available Noise Mean square error (MSE) between the actual pixel values of dropped frame and pixel values of last accepted frame in display order PSNR value calculated using

Experimental Results (Speed of Hybrid Simulation for MPEG 2) Simulation Time (in mins) ~ 5 times faster ~ 8 times faster

Experimental Results (Speed of Hybrid Simulation for MPEG 4) ~ 3 times faster (short length clips) ~ 3 times faster (long duration clips) Simulation Time (in mins)

Experimental Results (Quality Estimation Accuracy) PSNR values obtained using model based workload values were verified using simulation based workload values PSNR values computed for 1500 resource combinations of f PE1, f PE2, B 1 and B 2 PSNR values found for the basemap as well as newmap task mapping configurations basemap 98% accuracy for motion video clips. Only 0.3% deviation in PSNR values for the remaining 2%. 100% accuracy for the still videos. newmap 100% accuracy in PSNR estimation for all clips

Experimental Results (PSNR vs f PE1 trade off) tens_080 v700_080 PSNR (in db) basemap newmap basemap newmap PE1 frequency (f PE1 in MHz)

Experimental Results (PSNR vs f PE2 trade off) tens_080 v700_080 PSNR (in db) basemap newmap PE2 frequency (f PE2 in MHz)

Experimental Results (PSNR vs B 1 trade off) tens_080 v700_080 PSNR (in db) basemap newmap basemap newmap Buffer 1 Size (B 1 in MBs)

Experimental Results (PSNR vs B 2 trade off) tens_080 v700_080 PSNR (in db) basemap newmap basemap newmap Buffer 2 Size (B 2 in MBs)

Concluding Remarks Central focus: To devise a hybrid simulation strategy in order to enable the system designers to rapidly arrive at quantitative estimates of quality degradations for video clips in the context of resource constraints Framework also very useful to understand the non trivial influences of system resources on the quantitative quality degradations Can be used to quickly estimate optimal points in resource space for desired quality Influence of other components in the framework such as frame discard strategy on the quality estimate can be studied rapidly