Tools for managing frame buffers and converting between image formats.
More...
Tools for managing frame buffers and converting between image formats.
Allocate a frame structure.
- Parameters
-
data_bytes | Number of bytes to allocate, or zero |
- Returns
- New frame, or NULL on error
Definition at line 64 of file frame.c.
Duplicate a frame, preserving color format.
- Parameters
-
in | Original frame |
out | Duplicate frame |
Definition at line 109 of file frame.c.
Free a frame structure.
- Parameters
-
Definition at line 92 of file frame.c.