Introduction to Video Compression Techniques. Slides courtesy of Tay Vaughan Making Multimedia Work

Similar documents
Overview: Video Coding Standards

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

Video coding standards

Chapter 2 Introduction to

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

Multimedia Communications. Video compression

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and

Multimedia Communications. Image and Video compression

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

Principles of Video Compression

Motion Video Compression

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

Advanced Computer Networks

The H.26L Video Coding Project

The H.263+ Video Coding Standard: Complexity and Performance

H.261: A Standard for VideoConferencing Applications. Nimrod Peleg Update: Nov. 2003

A video signal consists of a time sequence of images. Typical frame rates are 24, 25, 30, 50 and 60 images per seconds.

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

Video coding using the H.264/MPEG-4 AVC compression standard

Video 1 Video October 16, 2001

Chapter 10 Basic Video Compression Techniques

Implementation of an MPEG Codec on the Tilera TM 64 Processor

ITU-T Video Coding Standards

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

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4

An Overview of Video Coding Algorithms

Video Compression - From Concepts to the H.264/AVC Standard

Digital Image Processing

Video (Fundamentals, Compression Techniques & Standards) Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

AUDIOVISUAL COMMUNICATION

Research Topic. Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks

17 October About H.265/HEVC. Things you should know about the new encoding.

International Journal for Research in Applied Science & Engineering Technology (IJRASET) Motion Compensation Techniques Adopted In HEVC

CHROMA CODING IN DISTRIBUTED VIDEO CODING

HEVC: Future Video Encoding Landscape

COMP 9519: Tutorial 1

complex than coding of interlaced data. This is a significant component of the reduced complexity of AVS coding.

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

MPEG-2. Lecture Special Topics in Signal Processing. Multimedia Communications: Coding, Systems, and Networking

Novel VLSI Architecture for Quantization and Variable Length Coding for H-264/AVC Video Compression Standard

Study of AVS China Part 7 for Mobile Applications. By Jay Mehta EE 5359 Multimedia Processing Spring 2010

MPEG + Compression of Moving Pictures for Digital Cinema Using the MPEG-2 Toolkit. A Digital Cinema Accelerator

Reduced complexity MPEG2 video post-processing for HD display

Film Grain Technology

Part1 박찬솔. Audio overview Video overview Video encoding 2/47

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second

Video Over Mobile Networks

Improvement of MPEG-2 Compression by Position-Dependent Encoding

yintroduction to video compression ytypes of frames ysome video compression standards yinvolves sending:

Joint Optimization of Source-Channel Video Coding Using the H.264/AVC encoder and FEC Codes. Digital Signal and Image Processing Lab

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

ITU-T Video Coding Standards H.261 and H.263

A Study on AVS-M video standard

Video Processing Applications Image and Video Processing Dr. Anil Kokaram

Motion Re-estimation for MPEG-2 to MPEG-4 Simple Profile Transcoding. Abstract. I. Introduction

Distributed Multimedia Systems. 2.Coding. László Böszörményi Distributed Multimedia Systems Coding - 1

STUDY OF AVS CHINA PART 7 JIBEN PROFILE FOR MOBILE APPLICATIONS

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

Overview of the H.264/AVC Video Coding Standard

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

Chapter 2 Video Coding Standards and Video Formats

SUMMIT LAW GROUP PLLC 315 FIFTH AVENUE SOUTH, SUITE 1000 SEATTLE, WASHINGTON Telephone: (206) Fax: (206)

An Efficient Low Bit-Rate Video-Coding Algorithm Focusing on Moving Regions

Midterm Review. Yao Wang Polytechnic University, Brooklyn, NY11201

MPEG has been established as an international standard

FINAL REPORT PERFORMANCE ANALYSIS OF AVS-M AND ITS APPLICATION IN MOBILE ENVIRONMENT

PACKET-SWITCHED networks have become ubiquitous

A Low-Power 0.7-V H p Video Decoder

Digital Video Telemetry System

MPEG-1 and MPEG-2 Digital Video Coding Standards

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

Introduction to image compression

IMAGE SEGMENTATION APPROACH FOR REALIZING ZOOMABLE STREAMING HEVC VIDEO ZARNA PATEL. Presented to the Faculty of the Graduate School of

Fast MBAFF/PAFF Motion Estimation and Mode Decision Scheme for H.264

1 Introduction Motivation Modus Operandi Thesis Outline... 2

Into the Depths: The Technical Details Behind AV1. Nathan Egge Mile High Video Workshop 2018 July 31, 2018

H.264/AVC Baseline Profile Decoder Complexity Analysis

In MPEG, two-dimensional spatial frequency analysis is performed using the Discrete Cosine Transform

Visual Communication at Limited Colour Display Capability

MPEGTool: An X Window Based MPEG Encoder and Statistics Tool 1

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

H.264/AVC. The emerging. standard. Ralf Schäfer, Thomas Wiegand and Heiko Schwarz Heinrich Hertz Institute, Berlin, Germany

CONTEXT-BASED COMPLEXITY REDUCTION

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

Part II Video. General Concepts MPEG1 encoding MPEG2 encoding MPEG4 encoding

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

Lecture 23: Digital Video. The Digital World of Multimedia Guest lecture: Jayson Bowen

On Complexity Modeling of H.264/AVC Video Decoding and Its Application for Energy Efficient Decoding

INTERNATIONAL TELECOMMUNICATION UNION. SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Coding of moving video

ABSTRACT ERROR CONCEALMENT TECHNIQUES IN H.264/AVC, FOR VIDEO TRANSMISSION OVER WIRELESS NETWORK. Vineeth Shetty Kolkeri, M.S.

New forms of video compression

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

MPEG-2 Video Compression

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

Video Coding IPR Issues

FEC FOR EFFICIENT VIDEO TRANSMISSION OVER CDMA

Digital Media. Daniel Fuller ITEC 2110

1997 Digital Signal Processing Solutions

WHITE PAPER. Perspectives and Challenges for HEVC Encoding Solutions. Xavier DUCLOUX, December >>

Drift Compensation for Reduced Spatial Resolution Transcoding

Transcription:

Introduction to Video Compression Techniques Slides courtesy of Tay Vaughan Making Multimedia Work

Agenda Video Compression Overview Motivation for creating standards What do the standards specify Brief review of video compression Current video compression standards H.261, H.263, MPEG 1 2 4 Advanced Video Compression Standards, H.264, VC1, AVS

Video Compression Overview Problem: Raw video contains an immense amount of data. Communication and storage capabilities are limited and expensive. Example HDTV video signal:

Video Compression: Why? Bandwidth Reduction Application Data Rate Uncompressed Compressed Video Conference 352 x 240 @ 15 fps 30.4 Mbps 64-768 kbps CD-ROM Digital Video 352 x 240 @ 30 fps 60.8 Mbps 1.5-4 Mbps Broadcast Video 720 x 480 @ 30 fps 248.8 Mbps 3-8 Mbps HDTV 1280 x 720 @ 60 fps 1.33 Gbps 20 Mbps

Video Compression Standards STANDARD APPLICATION BIT RATE JPEG Continuous-tone still-image compression H.261 Video telephony and teleconferencing over ISDN MPEG-1 Video on digital storage media (CD-ROM) Variable p x 64 kb/s 1.5 Mb/s MPEG-2 Digital Television > 2 Mb/s H.263 Video telephony over PSTN < 33.6 kb/s MPEG-4 Object-based coding, synthetic content, interactivity H.264 From Low bitrate coding to HD encoding, HD-DVD, Surveillance, Video conferencing. Variable Variable

Motivation for Standards Goal of standards: Ensuring interoperability Enabling communication between devices made by different manufacturers. Promoting a technology or industry. Reducing costs.

History of Video Standards

What Do the Standards Specify? A video compression system consists of the following: An encoder Compressed bit streams A decoder What parts of the system do the standards specify?

What Do the Standards Specify? Not the encoder, not the decoder.

What Do the Standards Specify? Just the bit stream syntax and the decoding process, for example it tells to use IDCT, but not how to implement the IDCT. Enables improved encoding and decoding strategies to be employed in a standard compatible manner.

Achieving Compression Reduce redundancy and irrelevancy. Sources of redundancy: Temporal Adjacent frames highly correlated. Spatial Nearby pixels are often correlated with each other. Color space RGB components are correlated among themselves. Irrelevancy Perceptually unimportant information.

Basic Video Compression Architecture Exploiting the redundancies Temporal MC prediction and MC interpolation Spatial Block DCT Color Color space conversion Scalar quantization of DCT coefficients Run length and Huffman coding of the non zero quantized DCT coefficients

MPEG Structure Video Structure

Block Transform Encoding DCT Zig-zag Quantize 011010001011101... Run-length Code Huffman Code

139 144 149 153 144 151 153 156 150 155 160 163 159 161 162 160 original image Block Encoding DCT AC components 79 0-2 -1-1 -1 0 0-1 0 0 0 0 0 0 0 run-length code 0 79 1-2 0-1 0-1 0-1 2-1 0 0 Huffman code DC component 1260-1 -12-5 -23-17 -6-3 Quantize -11-9 -2 2-7 -2 0 1 zigzag 10011011100011... 79 0-1 0-2 -1 0 0-1 -1 0 0 0 0 0 0 coded bitstream < 10 bits (0.55 bits/pixel)

Result of Coding/decoding 139 144 149 153 144 151 153 156 150 155 160 163 159 161 162 160 original block 144 146 149 152 156 150 152 154 155 156 157 158 160 161 161 162 reconstructed block -5-2 0 1-4 1 1 2-5 -1 3 5-1 0 1-2 errors

Examples Uncompressed (262 KB) Compressed (50) (22 KB, 12:1) Compressed (1) (6 KB, 43:1)

Video Compression Main addition over image compression Exploit the temporal redundancy Predict current frame based on previously coded frames Types of coded frames: I frame Intra coded frame, coded independently of all other frames P frame Predictively coded frame, coded based on previously coded frame B frame Bi directionally predicted frame, coded based on both previous and future coded frames

Motion Compensated Prediction (P and B Frames) Motion compensated prediction predict the current frame based on a reference frame while compensating for the motion Examples of block based motion compensated prediction for P frames and B frames.

Video coding is fun!! Find the differences!!

Conditional Replenishment

Residual Coding

Example Video Encoder

Example Video Decoder

AC/DC prediction for Intra Coding

Group of Pictures (GOP) Structure Enables random access into the coded bit-stream. Number of B frames and impact on search range.

Current Video Compression Standards Classification & Characterization of different standards Based on the same fundamental building blocks Motion-compensated prediction and interpolation 2-D Discrete Cosine Transform (DCT) Color space conversion Scalar quantization, run-length, and Huffman coding Other tools added for different applications Progressive or interlaced video Improved compression, error resilience, scalability, etc

H.261 (1990) Goal: real time, two way video communication Key features Low delay (150 ms) Low bit rates (p x 64 kb/s) Technical details Uses I- and P-frames (no B-frames) Full-pixel motion estimation Search range +/- 15 pixels Low-pass filter in the feedback loop

H.263 (1995) Goal: communication over conventional analog telephone lines (< 33.6 kb/s) Enhancements to H.261 Reduced overhead information Improved error resilience features Algorithmic enhancements Half-pixel motion estimation with larger motion search range Four advanced coding modes Unrestricted motion vector mode Advanced prediction mode ( median MV predictor using 3 neighbors) PB-frame mode OBMC

MPEG-1 and MPEG-2 MPEG 1 (1991) Goal is compression for digital storage media, CD-ROM Achieves VHS quality video and audio at ~1.5 Mb/sec?? MPEG 2 (1993) Superset of MPEG-1 to support higher bit rates, higher resolutions, and interlaced pictures Original goal to support interlaced video from conventional television. Eventually extended to support HDTV Provides field-based coding and scalability tools

MPEG-2 Profiles and Levels Goal: to enable more efficient implementations for different applications. Profile Subset of the tools applicable for a family of applications. Level Bounds on the complexity for any profile. DVD & Digital TV: Main Profile at Main Level (MP@ML) HDTV: Main Profile at High Level (MP@HL)

MPEG-4 (1993) Primary goals: new functionalities, not better compression Object-based or content-based representation Separate coding of individual visual objects Content-based access and manipulation Integration of natural and synthetic objects Interactivity Communication over error-prone environments Includes frame-based coding techniques from earlier standards

MV Prediction MPEG 4

Comparing MPEG-1/2 and H.261/3 With MPEG-4 MPEG 1/2 and H.261/H.263 Algorithms for compression Basically describe a pipe for storage or transmission Frame-based Emphasis on hardware implementation MPEG 4 Set of tools for a variety of applications Define tools and glue to put them together Object-based and frame-based Emphasis on software Downloadable algorithms, not encoders or decoders

MPEG-1 video vs H.261 Half-pel accuracy motion estimation, range up to +/- 64 Using bi-directional temporal prediction Important for handling uncovered regions Using perceptual-based quantization matrix for I-blocks (same as JPEG) DC coefficients coded predictively

MPEG-2 : MC for Interlaced Video Field prediction for field pictures Field prediction for frame pictures Dual prime for P-pictures 16x8 MC for field pictures

Field prediction for field pictures Each field is predicted individually from the reference fields A P-field is predicted from one previous field A B-field is predicted from two fields chosen from two reference pictures

Field Prediction for Frame Pictures Field prediction for frame pictures : the MB to be predicted is split into top field pels and bottom field pels. Each 16x8 field block is predicted separately with its own motion vectors ( P- frame ) or two motion vectors ( B-frame )

Advanced Video Coding Standard, H.264 Common elements with other standards Macroblocks: 16x16 luma + 2 x 8x8 chroma samples Input: association of luma and chroma and conventional Sub-sampling of chroma (4:2:0) Block motion displacement Motion vectors over picture boundaries Variable block-size motion Block transforms Scalar quantization I, P and B picture coding types

H.264 Encoder block diagram - Decoder Coder Control Integer Transform/ Scal./Quant. Scaling & Inv. Transform Control Data Quant. Transf. coeffs Entropy Coding Intra/Inter Intra-frame Prediction Motion- Compensation De-blocking Filter Output Video Signal Motion Estimation Motion Data

H.264 New elements introduced Every macroblock is split in one of 7 ways Up to 16 mini-blocks (and as many MVs) Accuracy of motion compensation = 1/4 pixel Multiple reference frames

H.264 Improved motion estimation De-blocking filter at estimation Integer 4x4 DCT approximation Eliminates Problem of mismatch between different implementation. Problem of encoder/decoder drift. Arithmetic coding for MVs & coefficients. Compute SATD (Sum of Absolute Transformed Differences) instead of SAD. Cost of transformed differences (i.e. residual coefficients) for 4x4 block using 4 x 4 Hadamard-Transformation

H.264/AVC Half sample positions are obtained by applying a 6-tap filter. (1,-5,20,20,-5,1) Quarter sample positions are obtained by averaging samples at integer and half sample positions

H.264/AVC Profiles

H.264/AVC Features Support for multiple reference pictures. It gives significant compression when motion is periodic in nature.

H.264/AVC Features PAFF (Picture adaptive frame/field) Combine the two fields together and to code them as one single coded frame (frame mode). Not combine the two fields and to code them as separate coded fields (field mode). MBAFF (Macro block adaptive frame/field) The decision of field/frame happens at macro block pair level.

H.264/AVC Features Flexible macro block ordering Picture can be partitioned into regions (slices) Each region can be decoded independently.

H.264/AVC Features Arbitrary slice ordering. Since each slice can be decoded independently. It can be sent out of order Redundant pictures Encoder has the flexibility to send redundant pictures. These pictures can be used during loss of data.

Comparison Feature MPEG4 WMV9 H.264 Prediction Block size 16*16, 8*8 16*16, 16*8, 8*8, 4*4 4*4,4*8,8*4,8*8, 8*16,16*8,16*16 Intra Prediction Ac Prediction (Transform Domain) Ac Prediction (Transform Domain) Intra Prediction (Spatial Domain) Entropy coding VLC VLC CAVLC,CABAC Reference frame One picture Two (Interlace) Multiple pictures Weighted Prediction No No Yes De-blocking Filter No (Optional) Yes Yes Transform 8*8 DCT 4*4,4*8,8*4,8*8 4*4,8*8(High Profile) Integer DCT

RD Comparison

Spatial Domain Intra Prediction What is Spatial Domain Intra Prediction? New Approach to Prediction Advantages of the spatial domain prediction The Big Picture Intra-Prediction Modes Implementation Challenges for Intra-Prediction

What is Intra Prediction Intra Prediction is a process of using the pixel data predicted from the neighboring blocks for the purpose of sending information regarding the current macro block instead of the actual pixel data. Current Block 11 16 23 35 Transform Engine Top Neighbor 10 20 11 23 1 6 3 15 Transform Engine 16 35 Current Block

New approach to Prediction... The H.264/AVC uses a new approach to the prediction of intra blocks by doing the prediction in the spatial domain rather than in frequency domain like other codecs. The H.264 /AVC uses the reconstructed but unfiltered macroblock data from the neighboring macroblocks to predict the current macroblock coefficients.

Advantages of spatial domain predictions Intuitively, the prediction of pixels from the neighbouring pixels (top/left) of macro blocks would be more efficient as compared to the prediction of the transform domain values. Predicting from samples in the pixel domain helps in better compression for intra blocks in a inter frame. Allows to better compression and hence a flexible bit rate control by providing the flexibility to eliminate redundancies across multiple directions.

Intra Prediction Modes H.264/AVC supports intra prediction for blocks of 4 x 4 to help achieve better compression for high motion areas. Supports 9 prediction modes. Supported only for luminance blocks H.264/AVC also has a 16 x 16 mode, which is aimed to provide better compression for flat regions of a picture at a lower computational costs. Supports 4 direction modes. Supported for 16x16 luminance blocks and 8x8 chrominance blocks

LUMA 16x16 / CHROMA Intra Prediction Modes explained... Intra16x16PredMo de Name of Intra16x16PredMode 0 Vertical (prediction mode) 1 Horizontal (prediction mode) 2 DC (prediction mode) 3 Plane (prediction mode)

Luma 4x4 Intra Prediction Modes explained... The H264 /MPEG4 AVC provides for eliminating redundancies in almost all directions using the 9 modes as shown below. Intra4x4PredMode Name of Prediction Mode 0 Vertical 1 Horizontal 8 2 DC 1 3 Diagonal_Down_Left 6 4 Diagonal_Down_Right 3 4 5 Vertical_Right 7 0 5 6 Horizontal_Down 7 Vertical_Left 8 Horizontal_Up

Luma 4x4 Intra Prediction Modes explained...

Intra Prediction Process 1. Determining the prediction mode (Only for a 4x4 block size mode). 2. Determination of samples to predict the block data. 3. Predict the block data.

Determining the prediction mode (Only for a 4x4 block size mode) -Flag in the bit-stream indicates, whether prediction mode is present in the bit-stream or it has to be Implicitly calculated. -In case of Implicit mode, the prediction mode is the minimum of prediction modes of neighbors A and B.

Intra Prediction Process 1. Determining the prediction mode (Only for a 4x4 block size mode). 2. Determination of samples to predict the block data. 3. Predict the block data.

Determination of samples to predict the block data. To Predict a 4x4 block (a p), a set of 13 samples (A M) from the neighboring pixels have to be chosen. For a 8x8 chrominance block a set if 17 neighboring pixels are chosen as sample values. Similarly for predicting a 16x16 luminance block, a set of 33 neighboring pixels are selected as the samples

Intra Prediction Process 1. Determining the prediction mode (Only for a 4x4 block size mode). 2. Determination of samples to predict the block data. 3. Predict the block data.

Intra Prediction Process Horizontal prediction mode M A B C D E F G H I I I I I J J J J J K K K K K L L L L L

Intra Prediction Process DC prediction mode M A B C D E F G H I X X X X J X X X X K X X X X L X X X X X = Mean

Implementation challenges with the intra Prediction The dependence of the blocks prediction samples on it s neighbors, which itself may a part of current MB prevent parallel processing of block data. Each of the 16 blocks in a given MB can choose any one of the nine prediction modes, With each mode entire processing changes. Each mode has a totally different mathematical weighting function used for deriving the predicted data from the samples.

H.264 /AVC adaptive De blocking filter Coarse quantization of the block-based image transform produce disturbing blocking artifacts at the block boundaries of the image. The second source of blocking artifacts is motion compensated prediction. Motion compensated blocks are generated by copying interpolated pixel data from different locations of possibly different reference frames. When the later P/B frames reference these images having blocky edges, the blocking artifacts further propagates to the interiors of the current blocks block worsening the situation further.

H.264/AVC adaptive de blocking filter : Impact on Reference frame Original Frame Reference frame De-blocked Reference frame

H.264/AVC adaptive de blocking filter : Impact on Reference frame

H.264 /AVC adaptive De blocking filter : Advantage over post processing approach. Ensures a certain level of quality. No need for potentially an extra frame buffer at the decoder. Improves both objective and subjective quality of video streams. Due to the fact that filtered reference frames offer higher quality prediction for motion compensation.

H.264 /AVC adaptive De blocking filter : Introduction The best way to deal with these artifacts is to filter the blocky edges to have a smoothed edge. This filtering process in known as the de block filtering. Till recently, the coding standards, defined the de blocking filter, but not mandating the use of the same, as the implementation is cycle consuming and is a function of the quality needed at the user end. But it was soon figured out that if the de block filter is not compulsorily implemented the frames suffered from blockiness caused in the past frames used as reference. This coupled with the increasing number crunching powers of the modern day DSP s, made it a easier choice for the standards body to make this de block filter mandatory tool or a block in the decode loop IN LOOP DEBLOCK FILTER. This filter not only smoothened the irritating blocky edges but also helped increase the rate distortion performance.

H.264/AVC adaptive De blocking filter process Last process in the frame decoding, which ensures all the top/left neighbors have been fully reconstructed and available as inputs for de blocking the current MB. Applied to all 4x4 blocks except at the boundaries of the picture. Filtering for block edges of any slice can be selectively disabled by means of flag. Vertical edges filtered first (left to right) followed by horizontal edges (top to bottom)

H.264/AVC adaptive De blocking filter process For de blocking an edge, 8 pixel samples in all are required in which 4 are from one side of the edge and 4 from the other side. Of these 8 pixel samples the de-block filter updates 6 pixels for a luminance block and 4 pixels for a chrominance block. p3 p2 p1 p0 q0 q1 q2 q3 p3 p2 p1 q0 q1 p0 q2 q3 Luminance pixels after filtering Chrominance pixels after filtering

H.264 /AVC adaptive De blocking filter, continued Is it just low pass filter? We want to filter only blocking artifacts and not genuine edges!!! Content dependent boundary filtering strength. The Boundary strengths are a method of implementing adaptive filtering for a given edge based on certain conditions based on MB type Reference picture ID Motion vector Other MB coding parameters The Boundary strengths for a chrominance block is determined from the boundary strength of the corresponding luminance macro block.

H.264 /AVC adaptive De blocking filter, continued Theblockingartifactsaremostnoticeableinverysmooth region where the pixel values do not change much across the block edge. Therefore, in addition to the boundary strength, a filtering threshold based on the pixel values are used to determine if de blocking process should be carried for the current edge.