MediaCodecs.H265.NaluSplitter (MediCodecs v0.7.0)
View SourceSplit a bytestream to a list of nalus.
Summary
Functions
Flushes any unprocessed data from the splitter.
Creates a new NaluSplitter.
Processes the given data and splits it into nalus.
Functions
@spec flush(MediaCodecs.H264.NaluSplitter.t()) :: list()
Flushes any unprocessed data from the splitter.
@spec new(MediaCodecs.H264.NaluSplitter.input_structure()) :: MediaCodecs.H264.NaluSplitter.t()
Creates a new NaluSplitter.
Options
:input_type
- The type of input data, can be:annexb
,:elementary
, or{:elementary, size}
. Defaults to:annexb
.
@spec process(MediaCodecs.H264.NaluSplitter.t(), binary()) :: {[binary()], MediaCodecs.H264.NaluSplitter.t()}
Processes the given data and splits it into nalus.