ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
jof_worker.h
Go to the documentation of this file.
1
18
19#pragma once
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
42
69[[nodiscard]] jof_worker_result_t jof_worker_convert(const char* in_path, const char* out_path);
70
71#ifdef __cplusplus
72}
73#endif
jof_worker_result_t
Process exit code contract between the worker and its Go driver.
Definition jof_worker.h:33
@ k_jof_worker_ok
Atlas fully written to the output path.
Definition jof_worker.h:34
@ k_jof_worker_output
Output open/write/close failed.
Definition jof_worker.h:37
@ k_jof_worker_geometry
Source dimensions unusable or unproduceable.
Definition jof_worker.h:38
@ k_jof_worker_input
Input open/stat/read failed or was refused.
Definition jof_worker.h:36
@ k_jof_worker_usage
Wrong argument count or null path.
Definition jof_worker.h:35
@ k_jof_worker_decode
Source is hostile or an unsupported variant.
Definition jof_worker.h:39
@ k_jof_worker_memory
A bounded work arena could not be allocated.
Definition jof_worker.h:40
jof_worker_result_t jof_worker_convert(const char *in_path, const char *out_path)
Transcode one encoded image file into one JOF atlas file.
Definition jof_worker.c:410