Noodle
Loading...
Searching...
No Matches
noodle_buffer.h File Reference

Grow-only float buffers used by NoodleBuffer convolution overloads. More...

#include <stddef.h>
Include dependency graph for noodle_buffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NoodleBuffer
 Grow-only float buffer managed by Noodle. More...

Functions

void noodle_buffer_init (NoodleBuffer *buf)
 Initialize a NoodleBuffer.
float * noodle_buffer_require (NoodleBuffer *buf, size_t required_floats)
 Ensure that a buffer can hold at least required_floats floats.
void noodle_buffer_free (NoodleBuffer *buf)
 Release a NoodleBuffer.
size_t noodle_buffer_capacity (const NoodleBuffer *buf)
 Return the buffer capacity in float elements.
size_t noodle_buffer_capacity_bytes (const NoodleBuffer *buf)
 Return the buffer capacity in bytes.

Detailed Description

Grow-only float buffers used by NoodleBuffer convolution overloads.