The open imaging DSP library
Loading...
Searching...
No Matches
port.h
1
8#ifndef MPIX_PORT
9#define MPIX_PORT
10
11#include <stddef.h>
12#include <stdint.h>
13
22
31void *mpix_port_alloc(size_t size);
32
40void mpix_port_free(void *mem);
41
50void mpix_port_printf(char *fmt, ...);
51
52#endif
void mpix_port_free(void *mem)
Free a buffer allocated with mpix_port_alloc().
uint32_t mpix_port_get_uptime_us(void)
Get the uptime in microsecond, used to compute performance statistics.
void mpix_port_printf(char *fmt,...)
Print debug information to the console.
void * mpix_port_alloc(size_t size)
Allocate a buffer to use with libmpix.