Module utils

Source
Expand description

Utility functions used by several parts of this crate.

This module is for anything that doesn’t fit into the other top-level modules. Try not to add new code here unless it really doesn’t belong anywhere else.

Structs§

BitWriter
DmabufFrame
IvfFileHeader
Helper struct for synthesizing IVF file header
IvfFrameHeader
Helper struct for synthesizing IVF frame header
IvfIterator
Iterator over IVF packets.
NalIterator
Iterator NALUs in a bitstream.
UserPtrFrame
A structure that holds user-allocated memory for a frame as well as its layout.

Enums§

BitWriterError

Functions§

simple_playback_loop
Simple decoding loop that plays the stream once from start to finish.
simple_playback_loop_owned_frames
Frame allocation callback that results in self-allocated memory.
simple_playback_loop_userptr_frames
Frame allocation callback that returns user-allocated memory for the frames.

Type Aliases§

BitWriterResult