Skip to main content

Module nal

Module nal 

Source
Expand description

Types for reading H264 Network Abstraction Layer Units (NAL Units).

The data presented must already be in RBSP form (i.e. have been passed through RbspDecoder), where it has been encoded with ‘emulation prevention bytes’.

Modules§

pps
sei
slice
sps

Structs§

NalHeader
RefNal
A partially- or completely-buffered Nal backed by borrowed &[u8]s. See Nal docs.
RefNalReader
A reader through the bytes of a partially- or fully-buffered RefNal that implements std::io::BufRead.

Enums§

NalHeaderError
UnitType
UnitTypeError

Traits§

Nal
A partially- or completely-buffered encoded NAL. Must have at least one byte (the header). Partially-encoded NALs are prefixes of a complete NAL. They can always be parsed from the beginning.