ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
jof_worker_main.c File Reference

Process entry for the cbz2jof page worker. More...

#include "jof_worker.h"
Include dependency graph for jof_worker_main.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Convert one image file into one JOF atlas file.

Detailed Description

Process entry for the cbz2jof page worker.

Requires exactly two paths after argv[0] (encoded source image, destination JOF atlas) and exits with the jof_worker_result_t code from jof_worker_convert().

[Ring 4 / Domain] {World: NS}

Since
0.1.0

Definition in file jof_worker_main.c.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Convert one image file into one JOF atlas file.

Parameters
[in]argcArgument count (must be 3: program, input, output).
[in]argvArgument vector.
Returns
The jof_worker_result_t code as a process exit status.
Since
0.1.0

Definition at line 24 of file jof_worker_main.c.

References jof_worker_convert(), and k_jof_worker_usage.