SlideShare a Scribd company logo
Copyright © 2013 LOGTEL
Lecture 2 - High Level Syntax
Copyright © 2013 LOGTEL
Ref
HEVC Encoder
Motion
Est.
Motion
Comp.
+
Intra
Pred.
Intra
Inter
-
Residual
T & Q CABAC
Bit-Stream
Q-1
& T-1
+
+
MVs
Intra
Est.
Mode
SAO Params
Est.
Deblk.
&SAO
Filter Control
Reconstructed
RefRefRef.
DPB
RefRefRef
Input Video
SAO params
Quantized
residuals
Reference samples Intra/Inter
Decision
MVs/Intra modes
Copyright © 2013 LOGTEL
Bitstream Structure
VPSVPS SPSSPS PPSPPS
Slice
Header
Slice
Header
Slice DataSlice Data
Picture #1
* * * *
Slice
Header
Slice
Header
Slice DataSlice Data
Picture #k
Slice
Header
Slice
Header
Slice DataSlice Data * * * *
Notes
•VPS/SPS/PPS can be either a part of bitstream or can be transmitted
by other means (e.g. out-of-band).
•SPS/PPS are accessed through referencing to facilitate with applications
where SPS/PPS are signaled out-of-band
•VPS/SPS/PPS/Slice are encapsulated in NAL unit with 16-bits header
Copyright © 2013 LOGTEL
High-Level Syntax (VPS/SPS(
 VPS – dedicated to convey information that is common for multiple
layers, i.e. each layer refers same VPS
 SPS – contain information which applies to all slices of a video sequence
and is fixed within this sequence:
 Profile, level, picture size, number sub-layers
 Enabling flags
 Restrictions
 Temporal scalability control
 Visual usability information (VUI)
Note: there is duplication of some information between SPS and VPS
Copyright © 2013 LOGTEL
High-Level Syntax (PPS, Slice Header(
 PPS – conveys information which could change from picture to picture
 Reference list size
 Initial QP
 Enabling flags
 Tiles/Wavefronts
 Slice Header - conveys information that can change from slice to slice
 POC, Slice type
 Reference picture lists
 Prediction weights
 Tiles Entry points
Copyright © 2013 LOGTEL
Selected Picture Types (IDR, CRA)
 IDR - pictures following the IDR in decoding order cannot use
pictures decoded prior to the IDR as reference:
 CRA – pictures following the CRA in both decoding and presentation
order cannot use pictures decoded prior the CRA as reference:
11 2 3 4
0 2 3 11 4
0
CRA
CRA
Decoding order:
Presentation order:
Leading pictures
Copyright © 2013 LOGTEL
11 2 3 4
0 2 3 11 4
0
CRA
CRARADLRASL
Selected Picture Types: (RADL, RASL)
Leading pictures - following in decoding order but preceding in
presentation order. Leading pictures are divided into two types:
• RADL (random access decodable leading) – can be correctly
decoded if decoding starts with the current CRA
• RASL (random access skipped leading) - can’t be correctly
decoding if decoding starts with the current CRA and therefore
this picture should be skipped.
Decoding order:
Presentation order:
Leading pictures
Copyright © 2013 LOGTEL
Picture/Slice Syntax
Coding Tree Block (CTB):
Picture/Slice/Tile is partitioned into square coding tree blocks (CTBs). The
size of CTB is signaled in SPS (16x16, 32x32, 64x64).
Luma CTB covers a square picture area of N ×N samples and the
corresponding chroma CTBs cover each (N/2) × (N/2) samples (in 4:2:0
format).
Coding Block (CB):
Each CTB can be further partitioned into multiple coding blocks (CBs).
The size of the CB can range from the same size as the CTB to the
minimum size (8×8).
The minimum CU size (maximal depth of coding block tree) is signaled in
SPS
Copyright © 2013 LOGTEL 9
Picture/Slice Syntax (cont.)
Copyright © 2013 LOGTEL
CTU/CU Syntax
Coding Tree Units (CTU):
The luma CTB and the two chroma CTBs, together with the associated
syntax, form coding tree unit (CTU). The CTU is the basic processing
unit similar to MB in prior standards.
Coding Unit (CU):
The luma CB and the chroma CBs, together with the associated syntax,
form a coding unit (CU). Each CU can be either Intra or Inter predicted.
Actually CU is the basic unit for compression.
Copyright © 2013 LOGTEL
CTU/CU Syntax (2(
64x64 CTU
smallest CU (SCU(
Copyright © 2013 LOGTEL
CTU/CU Syntax (3) - traversing
All CUs in a CTU are encoded (traversed( in Z–Scan order:
64x64 CTU
The above figure was granted by Benjamin Bross
“Relax it's only HEVC”, WBU-ISOG Forum, European Broadcast Union, Geneva, Switzerland, November
28, 2012
Copyright © 2013 LOGTEL
CTU/CU Syntax (4(
Formally CTU specifies quad-tree traversed in ‘inorder’.
Note: unlike to prior standards where MB header is followed by data, in HEVC ‘headers are
dispersed’:
CTU
Header
CTU
Header
CU DataCU Data
CTU
CU HdrCU Hdr * * * * CU DataCU DataCU HdrCU Hdr
Copyright © 2013 LOGTEL
CTU/CU Syntax (5(
Prediction Block (PB):
Each CB is partitioned in 1, 2 or 4 prediction blocks (PBs).
Prediction Unit (PU):
The luma PB and the chroma PBs, together with the associated syntax, form a
prediction unit (PU).
2Nx2N NxN only if CB is smallest CB
2Nx2N NxN 2NxN Nx2N
INTRA
INTER
Copyright © 2013 LOGTEL
CTU/CU Syntax (6(
Inter Assymetric Partitions: conditioned by amp_enabled_flag in SPS
nLx2N nRx2N 2NxnU 2NxnD
2NxnU 2NxnD nRx2NnLx2N
When assymetric partitions are beneficial:
Copyright © 2013 LOGTEL
CTU/CU Syntax (7(
Transform Block (TB( :
Each luma CB can be quadtree partitioned into one, four or larger number
of TBs. The number of transform levels is controlled by
max_transform_hierarchy_depth_inter and
max_transform_hierarchy_depth_intra.
Example:
CB divided into two TB levels (the block #1 is split into four blocks):
00
22 33
1,21,2 1,31,3
1,01,0 1,11,1
0 2 3
1,0 1,1 1,2 1,3
Copyright © 2013 LOGTEL
CTU/CU Syntax (8(
CTU Header: CU partitioning, sample adaptive offset (SAO) parameters.
CU Header: PU and TU partitioning
CTU
Header
CTU
Header
CU DataCU Data
CTU
CU HdrCU Hdr * * * * CU DataCU DataCU HdrCU Hdr
Notes:
The smallest luma PB size is 4 × 8 or 8 × 4 samples (4x8 and 8x4 are
permitted only for uni-directional predictions).
Chroma PBs mimic corresponding luma partition with the scaling factor 1/2
(for 4:2:0) until 8x8 sizes.

More Related Content

What's hot

VIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN, OPPORTUNITIES & CHALLENGES
VIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN,   OPPORTUNITIES & CHALLENGESVIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN,   OPPORTUNITIES & CHALLENGES
VIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN, OPPORTUNITIES & CHALLENGES
Dr. Mohieddin Moradi
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video coding
Iain Richardson
 
Iain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video Compression
Iain Richardson
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainVideoguy
 
Getting the most out of H.264
Getting the most out of H.264Getting the most out of H.264
Getting the most out of H.264
Iain Richardson
 
HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1
Dr. Mohieddin Moradi
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding StandardVideoguy
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)
Varun Ravi
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video Compression
Iain Richardson
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniques
cnssources
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
Mazin Alwaaly
 
High-Dynamic Range (HDR) Demystified
High-Dynamic Range (HDR) DemystifiedHigh-Dynamic Range (HDR) Demystified
High-Dynamic Range (HDR) Demystified
Intel® Software
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)
danishrafiq
 
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Förderverein Technische Fakultät
 
Video coding standards ppt
Video coding standards pptVideo coding standards ppt
Video coding standards ppt
Lokesh Reddy Avula
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
Sanjiv Malik
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & Broadcasting
Dr. Mohieddin Moradi
 
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian FeldmannBitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin Inc
 
VVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossVVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin Bross
Mathias Wien
 

What's hot (20)

VIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN, OPPORTUNITIES & CHALLENGES
VIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN,   OPPORTUNITIES & CHALLENGESVIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN,   OPPORTUNITIES & CHALLENGES
VIDEO QUALITY ENHANCEMENT IN BROADCAST CHAIN, OPPORTUNITIES & CHALLENGES
 
A short history of video coding
A short history of video codingA short history of video coding
A short history of video coding
 
Iain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video CompressionIain Richardson: An Introduction to Video Compression
Iain Richardson: An Introduction to Video Compression
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Getting the most out of H.264
Getting the most out of H.264Getting the most out of H.264
Getting the most out of H.264
 
HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1HDR and WCG Principles-Part 1
HDR and WCG Principles-Part 1
 
Video Coding Standard
Video Coding StandardVideo Coding Standard
Video Coding Standard
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)
 
Image compression
Image compressionImage compression
Image compression
 
Introduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video CompressionIntroduction to H.264 Advanced Video Compression
Introduction to H.264 Advanced Video Compression
 
Video Compression Techniques
Video Compression TechniquesVideo Compression Techniques
Video Compression Techniques
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
High-Dynamic Range (HDR) Demystified
High-Dynamic Range (HDR) DemystifiedHigh-Dynamic Range (HDR) Demystified
High-Dynamic Range (HDR) Demystified
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)
 
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
Versatile Video Coding – Video Compression beyond HEVC: Coding Tools for SDR ...
 
Video coding standards ppt
Video coding standards pptVideo coding standards ppt
Video coding standards ppt
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Latest Technologies in Production & Broadcasting
Latest  Technologies in Production & BroadcastingLatest  Technologies in Production & Broadcasting
Latest Technologies in Production & Broadcasting
 
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian FeldmannBitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
Bitmovin AV1/VVC Presentation_Streaming Media East by Christian Feldmann
 
VVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin BrossVVC tutorial at ICME 2020 together with Benjamin Bross
VVC tutorial at ICME 2020 together with Benjamin Bross
 

Viewers also liked

H.264 nal and RTP
H.264 nal and RTPH.264 nal and RTP
H.264 nal and RTP
Yoss Cohen
 
Current developments in video quality: From the emerging HEVC standard to tem...
Current developments in video quality: From the emerging HEVC standard to tem...Current developments in video quality: From the emerging HEVC standard to tem...
Current developments in video quality: From the emerging HEVC standard to tem...
Harilaos Koumaras
 
Choosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate StreamingChoosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate Streaming
Bitmovin Inc
 
WiFi Display
WiFi DisplayWiFi Display
WiFi Display
Yoss Cohen
 
Computer Vision - Image Filters
Computer Vision - Image FiltersComputer Vision - Image Filters
Computer Vision - Image Filters
Yoss Cohen
 
ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...
ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...
ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...
Mathias Wien
 
모두의 알파고
모두의 알파고모두의 알파고
모두의 알파고
Donghun Lee
 

Viewers also liked (7)

H.264 nal and RTP
H.264 nal and RTPH.264 nal and RTP
H.264 nal and RTP
 
Current developments in video quality: From the emerging HEVC standard to tem...
Current developments in video quality: From the emerging HEVC standard to tem...Current developments in video quality: From the emerging HEVC standard to tem...
Current developments in video quality: From the emerging HEVC standard to tem...
 
Choosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate StreamingChoosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate Streaming
 
WiFi Display
WiFi DisplayWiFi Display
WiFi Display
 
Computer Vision - Image Filters
Computer Vision - Image FiltersComputer Vision - Image Filters
Computer Vision - Image Filters
 
ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...
ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...
ICME 2016 - High Efficiency Video Coding - Coding Tools and Specification: HE...
 
모두의 알파고
모두의 알파고모두의 알파고
모두의 알파고
 

Similar to HEVC Definitions and high-level syntax

H.265ImprovedCE_over_H.264-HarmonicMay2014Final
H.265ImprovedCE_over_H.264-HarmonicMay2014FinalH.265ImprovedCE_over_H.264-HarmonicMay2014Final
H.265ImprovedCE_over_H.264-HarmonicMay2014FinalDonald Pian
 
The H.264 Video Compression Standard
The H.264 Video Compression StandardThe H.264 Video Compression Standard
The H.264 Video Compression StandardVideoguy
 
Packetizing scalable streams in heterogeneous peer to-peer networks
Packetizing scalable streams in heterogeneous peer to-peer networksPacketizing scalable streams in heterogeneous peer to-peer networks
Packetizing scalable streams in heterogeneous peer to-peer networksAlpen-Adria-Universität
 
GPRS/EDGE Basics / knowledge sharing
GPRS/EDGE Basics /  knowledge sharingGPRS/EDGE Basics /  knowledge sharing
GPRS/EDGE Basics / knowledge sharing
Mustafa Golam
 
3.3 gpp NR USER Plane introduction
3.3 gpp NR USER Plane introduction3.3 gpp NR USER Plane introduction
3.3 gpp NR USER Plane introduction
Saurabh Verma
 
Ewsd
EwsdEwsd
Ewsd
PTCL
 
Day1 slot3 br radio configuration assessment and bss radio configurationv0.4
Day1 slot3   br radio configuration assessment and bss radio configurationv0.4Day1 slot3   br radio configuration assessment and bss radio configurationv0.4
Day1 slot3 br radio configuration assessment and bss radio configurationv0.4fdr1975
 
For spreading factor & channels
For spreading factor & channelsFor spreading factor & channels
For spreading factor & channelsShivendra Verma
 
Wcdma channel
Wcdma channelWcdma channel
Wcdma channelYutthak
 
Turbocode
TurbocodeTurbocode
Turbocode
Mustafa Khaleel
 
BTS NOKIA EBENEZA.pptx
BTS NOKIA EBENEZA.pptxBTS NOKIA EBENEZA.pptx
BTS NOKIA EBENEZA.pptx
Abdul Michaque Tembe
 
Design and implementation of DADCT
Design and implementation of DADCTDesign and implementation of DADCT
Design and implementation of DADCT
Satish Kumar
 
Tree structured partitioning into transform blocks and units and interpicture...
Tree structured partitioning into transform blocks and units and interpicture...Tree structured partitioning into transform blocks and units and interpicture...
Tree structured partitioning into transform blocks and units and interpicture...
LainAcarolu
 

Similar to HEVC Definitions and high-level syntax (20)

H.265ImprovedCE_over_H.264-HarmonicMay2014Final
H.265ImprovedCE_over_H.264-HarmonicMay2014FinalH.265ImprovedCE_over_H.264-HarmonicMay2014Final
H.265ImprovedCE_over_H.264-HarmonicMay2014Final
 
digital_set_top_box2
digital_set_top_box2digital_set_top_box2
digital_set_top_box2
 
digital_set_top_box
digital_set_top_boxdigital_set_top_box
digital_set_top_box
 
digital_set_top_box
digital_set_top_boxdigital_set_top_box
digital_set_top_box
 
digital_set_top_box2
digital_set_top_box2digital_set_top_box2
digital_set_top_box2
 
digital_set_top_box
digital_set_top_boxdigital_set_top_box
digital_set_top_box
 
digital_set_top_box2
digital_set_top_box2digital_set_top_box2
digital_set_top_box2
 
The H.264 Video Compression Standard
The H.264 Video Compression StandardThe H.264 Video Compression Standard
The H.264 Video Compression Standard
 
Deblocking_Filter_v2
Deblocking_Filter_v2Deblocking_Filter_v2
Deblocking_Filter_v2
 
Packetizing scalable streams in heterogeneous peer to-peer networks
Packetizing scalable streams in heterogeneous peer to-peer networksPacketizing scalable streams in heterogeneous peer to-peer networks
Packetizing scalable streams in heterogeneous peer to-peer networks
 
GPRS/EDGE Basics / knowledge sharing
GPRS/EDGE Basics /  knowledge sharingGPRS/EDGE Basics /  knowledge sharing
GPRS/EDGE Basics / knowledge sharing
 
3.3 gpp NR USER Plane introduction
3.3 gpp NR USER Plane introduction3.3 gpp NR USER Plane introduction
3.3 gpp NR USER Plane introduction
 
Ewsd
EwsdEwsd
Ewsd
 
Day1 slot3 br radio configuration assessment and bss radio configurationv0.4
Day1 slot3   br radio configuration assessment and bss radio configurationv0.4Day1 slot3   br radio configuration assessment and bss radio configurationv0.4
Day1 slot3 br radio configuration assessment and bss radio configurationv0.4
 
For spreading factor & channels
For spreading factor & channelsFor spreading factor & channels
For spreading factor & channels
 
Wcdma channel
Wcdma channelWcdma channel
Wcdma channel
 
Turbocode
TurbocodeTurbocode
Turbocode
 
BTS NOKIA EBENEZA.pptx
BTS NOKIA EBENEZA.pptxBTS NOKIA EBENEZA.pptx
BTS NOKIA EBENEZA.pptx
 
Design and implementation of DADCT
Design and implementation of DADCTDesign and implementation of DADCT
Design and implementation of DADCT
 
Tree structured partitioning into transform blocks and units and interpicture...
Tree structured partitioning into transform blocks and units and interpicture...Tree structured partitioning into transform blocks and units and interpicture...
Tree structured partitioning into transform blocks and units and interpicture...
 

More from Yoss Cohen

Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
Yoss Cohen
 
open platform for swarm training
open platform for swarm training open platform for swarm training
open platform for swarm training
Yoss Cohen
 
Deep Learning - system view
Deep Learning - system viewDeep Learning - system view
Deep Learning - system view
Yoss Cohen
 
Dspip deep learning syllabus
Dspip deep learning syllabusDspip deep learning syllabus
Dspip deep learning syllabus
Yoss Cohen
 
IoT consideration selection
IoT consideration selectionIoT consideration selection
IoT consideration selection
Yoss Cohen
 
IoT evolution
IoT evolutionIoT evolution
IoT evolution
Yoss Cohen
 
Nvidia jetson nano bringup
Nvidia jetson nano bringupNvidia jetson nano bringup
Nvidia jetson nano bringup
Yoss Cohen
 
Autonomous car teleportation architecture
Autonomous car teleportation architectureAutonomous car teleportation architecture
Autonomous car teleportation architecture
Yoss Cohen
 
Motion estimation overview
Motion estimation overviewMotion estimation overview
Motion estimation overview
Yoss Cohen
 
Intro to machine learning with scikit learn
Intro to machine learning with scikit learnIntro to machine learning with scikit learn
Intro to machine learning with scikit learn
Yoss Cohen
 
DASH and HTTP2.0
DASH and HTTP2.0DASH and HTTP2.0
DASH and HTTP2.0
Yoss Cohen
 
FFMPEG on android
FFMPEG on androidFFMPEG on android
FFMPEG on android
Yoss Cohen
 
Hands-on Video Course - "RAW Video"
Hands-on Video Course - "RAW Video" Hands-on Video Course - "RAW Video"
Hands-on Video Course - "RAW Video"
Yoss Cohen
 
Video quality testing
Video quality testingVideo quality testing
Video quality testing
Yoss Cohen
 
HEVC / H265 Hands-On course
HEVC / H265 Hands-On courseHEVC / H265 Hands-On course
HEVC / H265 Hands-On course
Yoss Cohen
 
Web video standards
Web video standardsWeb video standards
Web video standards
Yoss Cohen
 
Product wise computer vision development
Product wise computer vision developmentProduct wise computer vision development
Product wise computer vision developmentYoss Cohen
 
3D Video Programming for Android
3D Video Programming for Android3D Video Programming for Android
3D Video Programming for Android
Yoss Cohen
 
Analog Video
Analog Video Analog Video
Analog Video
Yoss Cohen
 
Video optimization for android - Part I
Video optimization for android - Part IVideo optimization for android - Part I
Video optimization for android - Part I
Yoss Cohen
 

More from Yoss Cohen (20)

Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
open platform for swarm training
open platform for swarm training open platform for swarm training
open platform for swarm training
 
Deep Learning - system view
Deep Learning - system viewDeep Learning - system view
Deep Learning - system view
 
Dspip deep learning syllabus
Dspip deep learning syllabusDspip deep learning syllabus
Dspip deep learning syllabus
 
IoT consideration selection
IoT consideration selectionIoT consideration selection
IoT consideration selection
 
IoT evolution
IoT evolutionIoT evolution
IoT evolution
 
Nvidia jetson nano bringup
Nvidia jetson nano bringupNvidia jetson nano bringup
Nvidia jetson nano bringup
 
Autonomous car teleportation architecture
Autonomous car teleportation architectureAutonomous car teleportation architecture
Autonomous car teleportation architecture
 
Motion estimation overview
Motion estimation overviewMotion estimation overview
Motion estimation overview
 
Intro to machine learning with scikit learn
Intro to machine learning with scikit learnIntro to machine learning with scikit learn
Intro to machine learning with scikit learn
 
DASH and HTTP2.0
DASH and HTTP2.0DASH and HTTP2.0
DASH and HTTP2.0
 
FFMPEG on android
FFMPEG on androidFFMPEG on android
FFMPEG on android
 
Hands-on Video Course - "RAW Video"
Hands-on Video Course - "RAW Video" Hands-on Video Course - "RAW Video"
Hands-on Video Course - "RAW Video"
 
Video quality testing
Video quality testingVideo quality testing
Video quality testing
 
HEVC / H265 Hands-On course
HEVC / H265 Hands-On courseHEVC / H265 Hands-On course
HEVC / H265 Hands-On course
 
Web video standards
Web video standardsWeb video standards
Web video standards
 
Product wise computer vision development
Product wise computer vision developmentProduct wise computer vision development
Product wise computer vision development
 
3D Video Programming for Android
3D Video Programming for Android3D Video Programming for Android
3D Video Programming for Android
 
Analog Video
Analog Video Analog Video
Analog Video
 
Video optimization for android - Part I
Video optimization for android - Part IVideo optimization for android - Part I
Video optimization for android - Part I
 

Recently uploaded

Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 

Recently uploaded (20)

Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 

HEVC Definitions and high-level syntax

  • 1. Copyright © 2013 LOGTEL Lecture 2 - High Level Syntax
  • 2. Copyright © 2013 LOGTEL Ref HEVC Encoder Motion Est. Motion Comp. + Intra Pred. Intra Inter - Residual T & Q CABAC Bit-Stream Q-1 & T-1 + + MVs Intra Est. Mode SAO Params Est. Deblk. &SAO Filter Control Reconstructed RefRefRef. DPB RefRefRef Input Video SAO params Quantized residuals Reference samples Intra/Inter Decision MVs/Intra modes
  • 3. Copyright © 2013 LOGTEL Bitstream Structure VPSVPS SPSSPS PPSPPS Slice Header Slice Header Slice DataSlice Data Picture #1 * * * * Slice Header Slice Header Slice DataSlice Data Picture #k Slice Header Slice Header Slice DataSlice Data * * * * Notes •VPS/SPS/PPS can be either a part of bitstream or can be transmitted by other means (e.g. out-of-band). •SPS/PPS are accessed through referencing to facilitate with applications where SPS/PPS are signaled out-of-band •VPS/SPS/PPS/Slice are encapsulated in NAL unit with 16-bits header
  • 4. Copyright © 2013 LOGTEL High-Level Syntax (VPS/SPS(  VPS – dedicated to convey information that is common for multiple layers, i.e. each layer refers same VPS  SPS – contain information which applies to all slices of a video sequence and is fixed within this sequence:  Profile, level, picture size, number sub-layers  Enabling flags  Restrictions  Temporal scalability control  Visual usability information (VUI) Note: there is duplication of some information between SPS and VPS
  • 5. Copyright © 2013 LOGTEL High-Level Syntax (PPS, Slice Header(  PPS – conveys information which could change from picture to picture  Reference list size  Initial QP  Enabling flags  Tiles/Wavefronts  Slice Header - conveys information that can change from slice to slice  POC, Slice type  Reference picture lists  Prediction weights  Tiles Entry points
  • 6. Copyright © 2013 LOGTEL Selected Picture Types (IDR, CRA)  IDR - pictures following the IDR in decoding order cannot use pictures decoded prior to the IDR as reference:  CRA – pictures following the CRA in both decoding and presentation order cannot use pictures decoded prior the CRA as reference: 11 2 3 4 0 2 3 11 4 0 CRA CRA Decoding order: Presentation order: Leading pictures
  • 7. Copyright © 2013 LOGTEL 11 2 3 4 0 2 3 11 4 0 CRA CRARADLRASL Selected Picture Types: (RADL, RASL) Leading pictures - following in decoding order but preceding in presentation order. Leading pictures are divided into two types: • RADL (random access decodable leading) – can be correctly decoded if decoding starts with the current CRA • RASL (random access skipped leading) - can’t be correctly decoding if decoding starts with the current CRA and therefore this picture should be skipped. Decoding order: Presentation order: Leading pictures
  • 8. Copyright © 2013 LOGTEL Picture/Slice Syntax Coding Tree Block (CTB): Picture/Slice/Tile is partitioned into square coding tree blocks (CTBs). The size of CTB is signaled in SPS (16x16, 32x32, 64x64). Luma CTB covers a square picture area of N ×N samples and the corresponding chroma CTBs cover each (N/2) × (N/2) samples (in 4:2:0 format). Coding Block (CB): Each CTB can be further partitioned into multiple coding blocks (CBs). The size of the CB can range from the same size as the CTB to the minimum size (8×8). The minimum CU size (maximal depth of coding block tree) is signaled in SPS
  • 9. Copyright © 2013 LOGTEL 9 Picture/Slice Syntax (cont.)
  • 10. Copyright © 2013 LOGTEL CTU/CU Syntax Coding Tree Units (CTU): The luma CTB and the two chroma CTBs, together with the associated syntax, form coding tree unit (CTU). The CTU is the basic processing unit similar to MB in prior standards. Coding Unit (CU): The luma CB and the chroma CBs, together with the associated syntax, form a coding unit (CU). Each CU can be either Intra or Inter predicted. Actually CU is the basic unit for compression.
  • 11. Copyright © 2013 LOGTEL CTU/CU Syntax (2( 64x64 CTU smallest CU (SCU(
  • 12. Copyright © 2013 LOGTEL CTU/CU Syntax (3) - traversing All CUs in a CTU are encoded (traversed( in Z–Scan order: 64x64 CTU The above figure was granted by Benjamin Bross “Relax it's only HEVC”, WBU-ISOG Forum, European Broadcast Union, Geneva, Switzerland, November 28, 2012
  • 13. Copyright © 2013 LOGTEL CTU/CU Syntax (4( Formally CTU specifies quad-tree traversed in ‘inorder’. Note: unlike to prior standards where MB header is followed by data, in HEVC ‘headers are dispersed’: CTU Header CTU Header CU DataCU Data CTU CU HdrCU Hdr * * * * CU DataCU DataCU HdrCU Hdr
  • 14. Copyright © 2013 LOGTEL CTU/CU Syntax (5( Prediction Block (PB): Each CB is partitioned in 1, 2 or 4 prediction blocks (PBs). Prediction Unit (PU): The luma PB and the chroma PBs, together with the associated syntax, form a prediction unit (PU). 2Nx2N NxN only if CB is smallest CB 2Nx2N NxN 2NxN Nx2N INTRA INTER
  • 15. Copyright © 2013 LOGTEL CTU/CU Syntax (6( Inter Assymetric Partitions: conditioned by amp_enabled_flag in SPS nLx2N nRx2N 2NxnU 2NxnD 2NxnU 2NxnD nRx2NnLx2N When assymetric partitions are beneficial:
  • 16. Copyright © 2013 LOGTEL CTU/CU Syntax (7( Transform Block (TB( : Each luma CB can be quadtree partitioned into one, four or larger number of TBs. The number of transform levels is controlled by max_transform_hierarchy_depth_inter and max_transform_hierarchy_depth_intra. Example: CB divided into two TB levels (the block #1 is split into four blocks): 00 22 33 1,21,2 1,31,3 1,01,0 1,11,1 0 2 3 1,0 1,1 1,2 1,3
  • 17. Copyright © 2013 LOGTEL CTU/CU Syntax (8( CTU Header: CU partitioning, sample adaptive offset (SAO) parameters. CU Header: PU and TU partitioning CTU Header CTU Header CU DataCU Data CTU CU HdrCU Hdr * * * * CU DataCU DataCU HdrCU Hdr Notes: The smallest luma PB size is 4 × 8 or 8 × 4 samples (4x8 and 8x4 are permitted only for uni-directional predictions). Chroma PBs mimic corresponding luma partition with the scaling factor 1/2 (for 4:2:0) until 8x8 sizes.