- Work Directory(Step 1)
The steps for library download and environment setup can be found in l2_vitis_codec. For getting the design,
cd L2/demos/jxlEnc
- Build kernel(Step 2)
Run the following make command to build your XCLBIN and host binary targeting a specific device. Please be noticed that this process will take a long time, maybe couple of hours.
make run TARGET=hw
- Run kernel(Step 3)
To get the benchmark results, please run the following command.
PATH_TO_BUILD/host.exe --xclbin PATH_TO_BUILD/jxlEnc.xclbin PNGFilePath JXLFilePath
Note: “PATH_TO_BUILD” is decided by your chosen “PLATFORM=” when running hw build, Default arguments are set in Makefile.
JXL Encoder Input Arguments:
Usage: host.exe -[-xclbin] --xclbin: the kernel name PNGFilePath: the path to the input *.PNG JXLFilePath: the path to the output *.jxl
Note: Default arguments are set in Makefile, you can use other pictures listed in the table.