1 <!-- Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -->
3 @defgroup vwx_sample_opengl_interop OpenGL Interop Sample App
4 @brief OpenGL Interop Sample user guide.
8 <a name=
"Introduction">
11 `nvx_sample_opengl_interop` shows the interoperability of VisionWorks with OpenGL.
13 `nvx_sample_opengl_interop` is installed in the following directory:
15 /usr/share/visionworks/sources/samples/opengl_interop
17 For the steps to build sample applications, see the @ref nvx_samples_and_demos section
for your OS.
20 ## Executing the OpenGL Interop Sample ##
22 ./nvx_sample_opengl_interop [options]
24 ### Command Line Options ###
26 This topic provides a list of supported options and the values they consume.
28 #### \-s, \--source ####
29 - Parameter: [inputUri]
30 - Description: Specifies the input URI. Accepted parameters include a video (in .avi format), an image or an image sequence (.png, .jpg, .jpeg, .bmp, .tiff), camera to grab frames.
33 - `--source=/path/to/video.avi`
for video
34 - `--source=/path/to/image.png`
for image
35 - `--source=/path/to/image_%04d_sequence.png`
for image sequence sequence
39 @note On Vibrante V3Le, V4L platforms hardware accelerated video playback is supported
for H.264
40 elementary streams only.
42 @note The V4L platform has a permissions issue. If input data are an H.264 elementary stream, hardware decoder
43 is used and sample must be executed with super user permissions, i.e., with `sudo`.
46 #### \-h, \--help ####
47 - Description: Prints the help message.
49 ### Operational Keys ###
50 - Use `ESC` to close the sample.