Skip to content
Snippets Groups Projects
Commit d4956266 authored by Ezequiel Garcia's avatar Ezequiel Garcia
Browse files

media: uapi: mpeg2: Split sequence and picture parameters


Typically, bitstreams are composed of one sequence header NAL unit,
followed by a number of picture header and picture coding extension
NAL units. Each picture can be composed by a number of slices.

Let's split the MPEG-2 uAPI to follow these semantics more closely,
allowing more usage flexibility. Having these controls splitted
allows applications to set a sequence control at the beginning
of a sequence, and then set a picture control for each frame.

While here add padding fields where needed, and document
the uAPI header thoroughly.

Signed-off-by: default avatarEzequiel Garcia <ezequiel@collabora.com>
parent 7bda4518
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment