mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-21 10:59:53 -08:00
7 lines
333 B
C
7 lines
333 B
C
typedef void encoder_t;
|
|
|
|
typedef void (*encoder_output_cb)(const uint8_t *buf, uint64_t size);
|
|
|
|
const char *encoder_get_error();
|
|
bool encoder_create(parameters_t *params, int stride, int colorspace, encoder_output_cb output_cb, encoder_t **enc);
|
|
void encoder_encode(encoder_t *enc, int buffer_fd, size_t size, int64_t timestamp_us);
|