PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
v2u_dshow.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * $Id: v2u_dshow.h 12436 2011-02-18 17:03:12Z monich $
4  *
5  * Copyright (C) 2009-2011 Epiphan Systems Inc. All rights reserved.
6  *
7  * VGA2USB driver for Windows.
8  * Declaration of VGA2USB proprietary property set
9  *
10  ****************************************************************************/
11 
12 #ifndef _VGA2USB_V2U_DSHOW_H_
13 #define _VGA2USB_V2U_DSHOW_H_ 1
14 
15 /* {9B2C649F-CAE6-4745-8D09-413DF0562C4B} */
16 #define STATIC_PROPSETID_V2U_PROPSET \
17  0x9b2c649fL, 0xcae6, 0x4745, 0x8d, 0x09, 0x41, 0x3d, 0xf0, 0x56, 0x2c, 0x4b
18 
19 /*
20  * Map between DirectShow PROP_GET properties and V2U properties
21  */
22 #define V2U_DSHOW_PROP_MAP(m) \
23  m( V2U_DSHOW_PROP_GET_DSFLAGS, V2UKey_DirectShowFlags ) \
24  m( V2U_DSHOW_PROP_GET_DSFIXRES, V2UKey_DirectShowFixRes ) \
25  m( V2U_DSHOW_PROP_GET_DSBITMAP, V2UKey_DirectShowDefaultBmp ) \
26  m( V2U_DSHOW_PROP_GET_DSSCALEMODE, V2UKey_DirectShowScaleMode ) \
27  m( V2U_DSHOW_PROP_GET_DSMAXRATE, V2UKey_DirectShowMaxFps ) \
28  m( V2U_DSHOW_PROP_GET_USERDATA, V2UKey_UserData ) \
29  m( V2U_DSHOW_PROP_GET_PROD_ID, V2UKey_UsbProductID ) \
30  m( V2U_DSHOW_PROP_GET_PROD_TYPE, V2UKey_ProductType ) \
31  m( V2U_DSHOW_PROP_GET_PROD_NAME, V2UKey_ProductName ) \
32  m( V2U_DSHOW_PROP_GET_VGAMODE_INFO, V2UKey_ModeMeasurmentsDump ) \
33  m( V2U_DSHOW_PROP_GET_HW_COMPRESSION, V2UKey_HardwareCompression ) \
34  m( V2U_DSHOW_PROP_GET_ADJ_RANGE, V2UKey_AdjustmentsRange ) \
35  m( V2U_DSHOW_PROP_GET_VERSION, V2UKey_Version ) \
36  m( V2U_DSHOW_PROP_GET_EDID, V2UKey_EDID ) \
37  m( V2U_DSHOW_PROP_GET_KVM_SUPPORT, V2UKey_KVMCapable ) \
38  m( V2U_DSHOW_PROP_GET_VGAMODE_ENTRY, V2UKey_VGAMode ) \
39  m( V2U_DSHOW_PROP_GET_VGAMODE, V2UKey_CurrentVGAMode ) \
40  m( V2U_DSHOW_PROP_GET_MEASURE_INTERVAL, V2UKey_ModeMeasureInterval ) \
41  m( V2U_DSHOW_PROP_GET_EDID_SUPPORT, V2UKey_EDIDSupport ) \
42  m( V2U_DSHOW_PROP_GET_TUNE_INTERVAL, V2UKey_TuneInterval ) \
43  m( V2U_DSHOW_PROP_GET_SN, V2UKey_SerialNumber ) \
44  m( V2U_DSHOW_PROP_GET_SIGNAL_TYPE, V2UKey_InputSignalType ) \
45  m( V2U_DSHOW_PROP_GET_DVIMODE_DETECT, V2UKey_DigitalModeDetect ) \
46  m( V2U_DSHOW_PROP_GET_NOISE_FILTER, V2UKey_NoiseFilter ) \
47  m( V2U_DSHOW_PROP_GET_HSYNC_THRESHOLD, V2UKey_HSyncThreshold ) \
48  m( V2U_DSHOW_PROP_GET_VSYNC_THRESHOLD, V2UKey_VSyncThreshold ) \
49  m( V2U_DSHOW_PROP_GET_DEVICE_CAPS, V2UKey_DeviceCaps ) \
50  m( V2U_DSHOW_PROP_GET_DSBITMAP2, V2UKey_DirectShowDefaultBmp2) \
51  m( V2U_DSHOW_PROP_GET_BUS_TYPE, V2UKey_BusType )
52 
53 #define V2U_DSHOW_PROP_RESERVE(r) \
54  r( V2U_DSHOW_PROP_RESERVED_1, 0 ) \
55  r( V2U_DSHOW_PROP_RESERVED_2, 0 )
56 
60 #undef V2U_DSHOW_PROP_DEFINE_ID
61 #define V2U_DSHOW_PROP_DEFINE_ID(id,key) id,
62 
63 typedef enum _V2U_DSHOW_PROP {
64  V2U_DSHOW_PROP_DETECT_VIDEO_MODE, /* V2U_VideoMode */
65  V2U_DSHOW_PROP_SET_PROPERTY, /* Any property */
66 
69 
70  V2U_DSHOW_PROP_GRAB_PARAMETERS, /* V2U_GrabParameters */
71  V2U_DSHOW_PROP_COUNT /* Not a valid value! */
73 
74 #undef V2U_DSHOW_PROP_DEFINE_ID
75 
76 #endif /* _VGA2USB_V2U_DSHOW_H_ */
_V2U_DSHOW_PROP
Definition: v2u_dshow.h:63
enum _V2U_DSHOW_PROP V2U_DSHOW_PROP
#define V2U_DSHOW_PROP_MAP(m)
Definition: v2u_dshow.h:22
#define V2U_DSHOW_PROP_RESERVE(r)
Definition: v2u_dshow.h:53
#define V2U_DSHOW_PROP_DEFINE_ID(id, key)
Definition: v2u_dshow.h:61