Skip to Content
Coding Video
book

Coding Video

by Iain E. Richardson
September 2024
Intermediate to advanced
448 pages
14h 23m
English
Wiley
Content preview from Coding Video

4Structures

4.1 Introduction

4.1.1 How Does a Video Codec Use Structures?

A complete video clip or sequence is processed by a video encoder to create a compressed bitstream. In order to handle the large amount of image data in a sequence of video frames, the encoder splits it up into manageable structures. In this chapter, we will look at how a video encoder does this and how it bridges the gap between a source video, which contains multiple frames each made up of thousands or millions of pixels, and encoded data units. We will also look at the processing and storage capabilities of a practical codec that handles a relatively small region or block of data at a time. Figure 4.1 illustrates how a source video sequence is split up into manageable‐sized structures, such as blocks of pixels. These structures are processed and encoded to produce the compressed bitstream.

A coded video sequence is a series of coded pictures that, when decoded, will play back as a complete video programme or clip. Coded frames or pictures may be organised into multi‐picture structures during encoding, such as Group of Pictures (s). Each picture may be coded as a single unit or in multiple sections known as slices or tiles. Each slice or tile contains one or more Basic Units, such as Macroblocks or Coding Tree Units.

The Basic Unit is a unit of data handled by the encoder and decoder. In present‐day codecs, it is a square. In the older MPEG‐2 and H.264/AVC standards, it is 16 × 16 pixels, up to 64 × 64 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Programming with Rust

Programming with Rust

Donis Marshall
C++ Software Design

C++ Software Design

Klaus Iglberger

Publisher Resources

ISBN: 9781118711781Purchase Link