MCPcopy Create free account
hub / github.com/RenderKit/oidn / printUsage

Function printUsage

apps/oidnDenoise.cpp:20–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#endif
19
20OIDN_NAMESPACE_USING
21
22void printUsage()
23{
24 std::cout << "Intel(R) Open Image Denoise" << std::endl;
25 std::cout << "usage: oidnDenoise [-d/--device [0-9]+|default|cpu|sycl|cuda|hip|metal]" << std::endl
26 << " [-f/--filter RT|RTLightmap]" << std::endl
27 << " [--hdr color.pfm] [--ldr color.pfm] [--srgb] [--dir directional.pfm]" << std::endl
28 << " [--alb albedo.pfm] [--nrm normal.pfm] [--clean_aux]" << std::endl
29 << " [--is/--input_scale value]" << std::endl
30 << " [-o/--output output.pfm]" << std::endl
31 << " [-r/--ref reference_output.pfm] [--maxerror e]" << std::endl
32 << " [-t/--type float|half]" << std::endl
33 << " [-q/--quality default|h|high|b|balanced|f|fast]" << std::endl
34 << " [-w/--weights weights.tza]" << std::endl
35 << " [--threads n] [--affinity 0|1] [--maxmem MB] [--inplace]" << std::endl
36 << " [--buffer host|device|managed]" << std::endl
37 << " [-n times_to_run] [-v/--verbose 0-3]" << std::endl
38 << " [--ld|--list_devices] [-h/--help]" << std::endl;
39}
40
41void errorCallback(void* userPtr, Error error, const char* message)
42{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected