Command Line Switches

The following table shows the nvsipl_reprocess application's command line switches.

All numeric arguments may be specified in decimal (for example, 18) or hexadecimal (for example, 0x12).

Switch Description Default Setting
-h or --help Displays help text. Display only if an invalid command line argument is found.
-c or --platform-config <name>

Specifies name of the platform configuration that describes the connection of image sensors to Xavier based platforms.

The ‑h switch displays supported configurations.

Required argument.
-t or --test-config-file <file> Set custom platform config JSON file name. Use default platform config.
-v or --verbosity <n> Sets verbosity level. Supported values are 0 (none) to 4 (maximum verbosity). 1 (errors)
-f or --filedump-prefix "<prefix>"

Sets a prefix for the output files’ filenames.

The output files contain the processed images.

The names of the files created have the form:

<e>_<p>_cam_<s>.yuv

Where:

  • <e> is the prefix. It may begin with a pathname.
  • <p> contains the ISP output index.
  • <s> is the ID of the sensor that originated the images.

For example, if the prefix is /home/nvidia/test, the path name of the output file from Sensor0 processed by ISP1 is:

/home/nvidia/test_ISP1_cam_0.yuv

No output files are generated.
-s or --frames-to-skip <s> Skip <s> frames from the beginning of the file. No frame skipping.
-n or --frames-to-save <n> Saves <n> frames after skipped frames. Processing saves frames until the end of the input file.
-i or --input-raw-file <file> Specifies the RAW input file to process. Required argument.
-m or --link-enable-masks <m‑AB> <m-CD> <m-EF> <m-GH>

Specifies the position of sensor at the time of raw capture. The application retrieves the configuration of the sensor using the mask.

This application only supports one link at a time.

For example, ‘0x0000 0x0001 0x0000 0x0000’ specifies link 0 connected to the CSI-CD interface.

Required argument.
--icrop <y+h> Specifies the cropping at the input in the format <y+h>.
-l or --list-configs List config from file specified by -t or --test-config-file
--out0 <format>

Specifies the output format for processed images through ISP0.

Supported formats: yuv420_8b (BL), yuv420_8b_pl, yuv420_16b_709er (BL), yuv420_16b_709er_pl, yuv444_8b, yuv444_16b_709er, yuv444_8b_bl.

If both out0 and out1 are enabled, then their formats should match.

At least one of the three --out0 <format> or

--out1 <format> or –out2 <format> must be present.

--out1 <format>

Specifies the output format for processed images through ISP1.

Supported formats: supported formats same as out0 for RGB Bayer sensor data

luma_16b in case of RGB-IR sensor data.

If both out0 and out1 are enabled, then their formats should match if the sensor data input is from RGB Bayer sensor.

At least one of the three --out0 <format> or

--out1 <format> or –out2 <format> must be present.

--out2 <format>

Specifies the output format for processed images through ISP2.

Supported formats: supported formats same as out0 and additionally rgb_sensor_16f for RGB Bayer sensor data.

Not supported for RGB-IR sensor data.

At least one of the three --out0 <format> or

--out1 <format> or –out2 <format> must be present.

--out0size <wxh> Specifies the downscale output0 size in the format of <wxh>. If argument is not given, no downscaling occurs.
--out1size <wxh> Specifies the downscale output1 size in the format of <wxh>. If argument is not given, no downscaling occurs.
--out2size <wxh> Specifies the downscale output2 size in the format of <wxh>. If argument is not given, no downscaling occurs.
--out0crop <x+y+wxh> Specifies the cropping of output0 size after downscaling. If argument is not given, no cropping occurs.
--out1crop <x+y+wxh> Specifies the cropping of output1 size after downscaling. If argument is not given, no cropping occurs.
--out2crop <x+y+wxh> Specifies the cropping of output2 size after downscaling. If argument is not given, no cropping occurs.
--save-metadata Saves metadata to file for each pipeline. -
--header-skip <s1,s2> Skips <s1> bytes in the file header and <s2> bytes in each frame header. If option not specified, <s1> and <s2> are both 0.
--plug-in <type>

Plugin used for control algorithm components. Accepts:

NV: NVIDIA AE/AWB plug-in

SAMPLE: Sample plugin

CUSTOM: Custom plugin

NV
--nito <file> Specifies NVIDIA ISP tuning object <file> to use. Required argument.