PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
nvSDIutil.h
Go to the documentation of this file.
1 /***************************************************************************\
2 |* *|
3 |* Copyright 2007 NVIDIA Corporation. All rights reserved. *|
4 |* *|
5 |* NOTICE TO USER: *|
6 |* *|
7 |* This source code is subject to NVIDIA ownership rights under U.S. *|
8 |* and international Copyright laws. Users and possessors of this *|
9 |* source code are hereby granted a nonexclusive, royalty-free *|
10 |* license to use this code in individual and commercial software. *|
11 |* *|
12 |* NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE *|
13 |* CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR *|
14 |* IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH *|
15 |* REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF *|
16 |* MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR *|
17 |* PURPOSE. IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, *|
18 |* INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES *|
19 |* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN *|
20 |* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING *|
21 |* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOURCE *|
22 |* CODE. *|
23 |* *|
24 |* U.S. Government End Users. This source code is a "commercial item" *|
25 |* as that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting *|
26 |* of "commercial computer software" and "commercial computer software *|
27 |* documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) *|
28 |* and is provided to the U.S. Government only as a commercial end item. *|
29 |* Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through *|
30 |* 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the *|
31 |* source code with only those rights set forth herein. *|
32 |* *|
33 |* Any use of this source code in individual and commercial software must *|
34 |* include, in the user documentation and internal comments to the code, *|
35 |* the above Disclaimer and U.S. Government End Users Notice. *|
36 |* *|
37 |* *|
38 \***************************************************************************/
39 
40 #ifndef NVSDIUTIL_H
41 #define NVSDIUTIL_H
42 
43 #if WIN32
44 #include <windows.h>
45 #endif
46 
47 #include <assert.h>
48 #include <stdio.h>
49 
50 #include <string>
51 #include <iostream>
52 
53 #include "nvConfigure.h"
54 #include <GL/glu.h>
55 
56 #include "nvapi.h"
57 
58 std::string SignalFormatToString( NVVIOSIGNALFORMAT format );
59 std::string DataFormatToString( NVVIODATAFORMAT format );
60 std::string SyncStatusToString( NVVIOSYNCSTATUS status );
61 std::string SyncSourceToString( NVVIOSYNCSOURCE source );
62 std::string ComponentSamplingFormatToString( NVVIOCOMPONENTSAMPLING sampling );
63 std::string ColorSpaceToString( NVVIOCOLORSPACE space );
64 std::string LinkIDToString( NVVIOLINKID id );
65 
66 #endif
const char * source
Definition: phidget22.h:2461
std::string ColorSpaceToString(NVVIOCOLORSPACE space)
Definition: nvSDIutil.cpp:495
std::string DataFormatToString(NVVIODATAFORMAT format)
Definition: nvSDIutil.cpp:316
std::string ComponentSamplingFormatToString(NVVIOCOMPONENTSAMPLING sampling)
Definition: nvSDIutil.cpp:473
std::string SyncStatusToString(NVVIOSYNCSTATUS status)
Definition: nvSDIutil.cpp:430
std::string SignalFormatToString(NVVIOSIGNALFORMAT format)
Definition: nvSDIutil.cpp:42
std::string LinkIDToString(NVVIOLINKID id)
Definition: nvSDIutil.cpp:524
std::string SyncSourceToString(NVVIOSYNCSOURCE source)
Definition: nvSDIutil.cpp:457