Crate libdav1d_sys
source ·Expand description
These are raw FFI bindings for libdav1d, a fast software AV1 decoder. Refer to libdav1d’s documentation for details.
Modules§
Structs§
- Input packet metadata which are copied from the input data used to decode each image into the matching structure of the output image returned back to the user. Since these are metadata fields, they can be used for other purposes than the documented ones, they will still be passed from input data to output picture without being used internally.
- < allocation origin
- A reference-counted object wrapper for a user-configurable pointer.
Enums§
Constants§
Functions§
- Apply film grain to a previously decoded picture. If the picture contains no film grain metadata, then this function merely returns a new reference.
- Close a decoder instance and free all associated memory.
- Allocate data.
- Release reference to a Dav1dDataProps.
- Free the data reference.
- Wrap an existing data array.
- Wrap a user-provided data pointer into a reference counted object.
- Initialize settings to default values.
- Flush all delayed frames in decoder and clear internal decoder state, to be used when seeking.
- Retrieve the user-provided metadata associated with the input data packet for the last decoding error reported to the user, i.e. a negative return value (not EAGAIN) from dav1d_send_data() or dav1d_get_picture().
- Fetch a combination of DAV1D_EVENT_FLAG_* event flags generated by the decoding process.
- Get the decoder delay, which is the number of internally buffered frames, not including reference frames. This value is guaranteed to be >= 1 and <= max_frame_delay.
- Return a decoded picture.
- Allocate and open a decoder instance.
- Parse a Sequence Header OBU from bitstream data.
- Release reference to a picture.
- Feed bitstream data to the decoder, in the form of one or multiple AV1 Open Bitstream Units (OBUs).
- Get library version.
- Get library API version.