1 # Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3 @page dwx_image_streamer_multi_sample Image Streamer Multi-Thread Sample
5 The Image streamer sample demonstrates how to use an image streamer in a multi-thread environment.
6 It consumes a CPU image.
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>®</sup> CUDA<sup>®</sup> kernel on it.
13 4. Streams the resulting image to a dwImageGL object.
14 5. Renders it on screen.
16 The sample contains comments for every step.
20 To run the sample, enter:
22 ./sample_image_streamer_multi
24 The sample has no inputs.