1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
3 @page dwx_camera_slave_raw_sample Camera Slave with Raw Data Sample
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
8 @section dwx_camera_slave_raw_sample_description Description
10 The Camera Slave with Raw Data sample uses the GMSL camera interface available on
11 NVIDIA DRIVE<sup>™</sup> platforms. The sample creates a file for the RAW
12 data from the first camera on the selected camera group. The file is written to the disk.
14 @section dwx_camera_slave_raw_sample_running Running the Sample
16 The Camera Slave with Raw Data sample, sample_camera_slave_raw, accepts the following parameters:
18 ./sample_camera_slave_raw --host=[ip_address]
23 --interpolationDemosaic=[0|positive_integer]
24 --serializer-type=[h264|h265]
25 --write-file=[path/to/output/file]
30 Specifies the host IP address of the camera server
31 Default value: 127.0.0.1
34 Specifies the port # to connect to the server, each port number mapsto one camera group.
38 Specifies the sibling index of the camera group to connect to
42 Specifies the streaming mode. Available options: fifo/mailbox
43 In fifo mode, the server will queue the frames up to fifo-size frames, and if the slave is still slow, drop frame happens.
44 In mailbox mode, each readFrame call will get the latest frame from server, and server will not queue frames.
48 Specifies the fifo size of the sensor
49 If it exceeds certain threshold which is defined by camera server, the size will be cut off to safe value.
52 --serializer-type=[raw|lraw]
53 Represents the format of the video with two possible options:
57 --write-file=[path/to/output/file]
58 Specifies the output file.
59 If --write-file is not provided, no file is written out on disk.
62 @note: @ref sensor_distribution_tool must be running before launching this sample.