DriveWorks SDK Reference

| 0.6.67 Release

/builds/driveav/dw/sdk/samples/image/image_streamer_multi/README.md
Go to the documentation of this file.
1 # Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_image_streamer_multi_sample Image Streamer Multi-Thread Sample
4 
5 The Image streamer sample demonstrates how to use an image streamer in a multi-thread environment.
6 It consumes a CPU image.
7 
8 The sample shows how to create, setup, use and release
9 an image streamer in multi-thread. It does the following:
10 1. Manually creates a dwImageCPU object.
11 2. Streams the dwImageCPU to a dwImageCUDA object.
12 3. Applies a NVIDIA<sup>&reg;</sup> CUDA<sup>&reg;</sup> kernel on it.
13 4. Streams the resulting image to a dwImageGL object.
14 5. Renders it on screen.
15 
16 The sample contains comments for every step.
17 
18 ## Running the Sample
19 
20 To run the sample, enter:
21 
22  ./sample_image_streamer_multi
23 
24 The sample has no inputs.