DriveWorks SDK Reference

| 0.6.67 Release

/builds/driveav/dw/sdk/samples/image/image_streamer_cross_process/README.md
Go to the documentation of this file.
1 # Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_image_streamer_cross_sample Image Streamer Cross-Process Sample
4 
5 The image streamer cross-process sample demonstrates how to use an image
6 streamer across multiple processes.
7 
8 ## Running the Sample
9 
10 The command line for the sample is:
11 
12  ./sample_image_streamer_cross --type=<consumer|producer> --csi-port=<ab/cd/ef> \
13  --timeout=<any in ms> --fifo-size=<3...>
14 
15 You must run the sample from two terminals.
16 - On the first terminal, enter the above command with only the
17  `type=consumer` argument. This launches a window and a cross-process consumer
18  that waits for the producer.
19 
20  ./sample_image_streamer_cross --type=consumer
21 
22 - On the other terminal, enter the above command but specify `type=producer` and the
23  other optional parameters. Because this is a demonstration on cross-process
24  streamer, only camera ar0231-rccb and similar are supported (resolution
25  1920x1208).
26 
27  ./sample_image_streamer_cross --type=producer --csi-port=<ab/cd/ef> \
28  --timeout=<any in ms> --fifo-size=<3...>
29 
30 NOTE: that the consumer needs to be launched first. In case the producer is launched first, do not kill
31 the process, simply wait for it to timeout. When consumer is running, after launching the
32 producer, it will start receiving frames and displaying them on screen.
33 
34