1 # Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
3 @page dwx_image_streamer_cross_sample Image Streamer Cross-Process Sample
5 The image streamer cross-process sample demonstrates how to use an image
6 streamer across multiple processes.
10 The command line for the sample is:
12 ./sample_image_streamer_cross --type=<consumer|producer> --csi-port=<ab/cd/ef> \
13 --timeout=<any in ms> --fifo-size=<3...>
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.
20 ./sample_image_streamer_cross --type=consumer
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
27 ./sample_image_streamer_cross --type=producer --csi-port=<ab/cd/ef> \
28 --timeout=<any in ms> --fifo-size=<3...>
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.