Module cros_codecs::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
- Iterator over IVF packets.
- Iterator NALUs in a bitstream.
- A structure that holds user-allocated memory for a surface as well as its layout.
Functions
- Simple decoding loop that plays the stream once from start to finish.
- Surface allocation callback that results in self-allocated memory.
- Surface allocation callback that returns user-allocated memory for the surfaces.