Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.8.83 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Simple Image Streamer Sample

    Description

    The Simple Image Streamer sample demonstrates how to use an image streamer.

    The sample has no inputs and is intended as a guide on how to properly create, setup, use and release an image streamer. The sample does the following:

    1. Manually creates a dwImageCPU object.
    2. Streams it to a dwImageCUDA object.
    3. Applies an NVIDIA® CUDA® kernel on it.
    4. Streams the resulting image to dwImageGL object.
    5. Renders the image on screen.

    Running the Sample

    The command line for the sample is:

    ./sample_image_streamer_simple
    

    Output

    The sample creates a window and renders a colored pattern.

    simple image streamer

    Additional information

    For more details see Image.

    人人超碰97caoporen国产