PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Macros
v2u_id.h File Reference

Go to the source code of this file.

Macros

#define EPIPHAN_VENDORID   0x5555
 
#define V2U_PRODUCT_MAP(map)
 
#define VGA2USB_IS_ANY(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_DVI2USB(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_DVI2USB_DUO(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_DVI2USB_RESPIN(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_DVI2USB_SOLO(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_KVM2USB(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_KVM2USB_LR(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_KVM2USB_LR_RESPIN(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_KVM2USB_PRO(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_VGA2USB(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_VGA2USB_HR(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_VGA2USB_HR_RESPIN(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_VGA2USB_LR(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_VGA2USB_LR_RESPIN(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_VGA2USB_PRO(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_IS_VGA2USB_PRO_RESPIN(idVendor, idProduct, iProduct, iMfg)
 
#define VGA2USB_PRODID_DAVINCI1   0x5000
 
#define VGA2USB_PRODID_DVI2FIFO   0x4080
 
#define VGA2USB_PRODID_DVI2PCI   0x3B00
 
#define VGA2USB_PRODID_DVI2USB   0x2222
 
#define VGA2USB_PRODID_DVI2USB_DUO   0x3422
 
#define VGA2USB_PRODID_DVI2USB_RESPIN   0x3380
 
#define VGA2USB_PRODID_DVI2USB_SOLO   0x3411
 
#define VGA2USB_PRODID_GIOCONDA   0x5100
 
#define VGA2USB_PRODID_KVM2FIFO   0x4004
 
#define VGA2USB_PRODID_KVM2USB   0x1120
 
#define VGA2USB_PRODID_KVM2USB_LR   0x3344
 
#define VGA2USB_PRODID_KVM2USB_LR_RESPIN   0x3383
 
#define VGA2USB_PRODID_KVM2USB_PRO   0x3337
 
#define VGA2USB_PRODID_ORNITHOPTER   0x5200
 
#define VGA2USB_PRODID_VGA2FIFO   0x4000
 
#define VGA2USB_PRODID_VGA2PCI   0x3A00
 
#define VGA2USB_PRODID_VGA2USB   0x1110
 
#define VGA2USB_PRODID_VGA2USB_HR   0x3332
 
#define VGA2USB_PRODID_VGA2USB_HR_RESPIN   0x3392
 
#define VGA2USB_PRODID_VGA2USB_LR   0x3340
 
#define VGA2USB_PRODID_VGA2USB_LR_RESPIN   0x3382
 
#define VGA2USB_PRODID_VGA2USB_PRO   0x3333
 
#define VGA2USB_PRODID_VGA2USB_PRO_RESPIN   0x33A2
 
#define VGA2USB_VENDORID   EPIPHAN_VENDORID
 
#define VGA2USB_WIN_DEVICE_FORMAT   "EpiphanVga2usb%lu"
 

Macro Definition Documentation

◆ EPIPHAN_VENDORID

#define EPIPHAN_VENDORID   0x5555

Vendor and product ids.

NOTE: if you are adding a new product ID, don't forget to update V2U_PRODUCT_MAP macro below.

Definition at line 22 of file v2u_id.h.

◆ V2U_PRODUCT_MAP

#define V2U_PRODUCT_MAP (   map)
Value:
#define VGA2USB_PRODID_VGA2USB_PRO
Definition: v2u_id.h:29
#define VGA2USB_PRODID_DVI2USB_SOLO
Definition: v2u_id.h:37
#define VGA2USB_PRODID_VGA2FIFO
Definition: v2u_id.h:39
#define VGA2USB_PRODID_DAVINCI1
Definition: v2u_id.h:42
#define VGA2USB_PRODID_KVM2USB_LR
Definition: v2u_id.h:35
#define VGA2USB_PRODID_VGA2USB_PRO_RESPIN
Definition: v2u_id.h:33
#define VGA2USB_PRODID_DVI2USB_DUO
Definition: v2u_id.h:38
#define VGA2USB_PRODID_DVI2USB
Definition: v2u_id.h:26
#define VGA2USB_PRODID_DVI2PCI
Definition: v2u_id.h:44
#define VGA2USB_PRODID_KVM2USB
Definition: v2u_id.h:25
#define VGA2USB_PRODID_VGA2PCI
Definition: v2u_id.h:43
#define VGA2USB_PRODID_VGA2USB_LR_RESPIN
Definition: v2u_id.h:30
#define VGA2USB_PRODID_VGA2USB_HR_RESPIN
Definition: v2u_id.h:32
#define VGA2USB_PRODID_VGA2USB
Definition: v2u_id.h:24
#define VGA2USB_PRODID_KVM2USB_LR_RESPIN
Definition: v2u_id.h:31
#define VGA2USB_PRODID_KVM2FIFO
Definition: v2u_id.h:40
#define VGA2USB_PRODID_VGA2USB_LR
Definition: v2u_id.h:27
#define VGA2USB_PRODID_DVI2FIFO
Definition: v2u_id.h:41
#define VGA2USB_PRODID_VGA2USB_HR
Definition: v2u_id.h:28
#define VGA2USB_PRODID_GIOCONDA
Definition: v2u_id.h:45
#define VGA2USB_PRODID_KVM2USB_PRO
Definition: v2u_id.h:36
#define VGA2USB_PRODID_DVI2USB_RESPIN
Definition: v2u_id.h:34

This macro helps to map VGA2USB product ids into product names

Definition at line 139 of file v2u_id.h.

◆ VGA2USB_IS_ANY

#define VGA2USB_IS_ANY (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
(VGA2USB_IS_VGA2USB(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_KVM2USB(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_DVI2USB(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_DVI2USB_SOLO(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_DVI2USB_DUO(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_DVI2USB_RESPIN(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_VGA2USB_PRO(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_VGA2USB_HR(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_VGA2USB_LR(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_VGA2USB_LR_RESPIN(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_VGA2USB_HR_RESPIN(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_VGA2USB_PRO_RESPIN(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_KVM2USB_PRO(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_KVM2USB_LR(idVendor,idProduct,iProduct,iMfg) || \
VGA2USB_IS_KVM2USB_LR_RESPIN(idVendor,idProduct,iProduct,iMfg))
#define VGA2USB_IS_VGA2USB(idVendor, idProduct, iProduct, iMfg)
Definition: v2u_id.h:52

Definition at line 112 of file v2u_id.h.

◆ VGA2USB_IS_DVI2USB

#define VGA2USB_IS_DVI2USB (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_DVI2USB && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_DVI2USB
Definition: v2u_id.h:26

Definition at line 60 of file v2u_id.h.

◆ VGA2USB_IS_DVI2USB_DUO

#define VGA2USB_IS_DVI2USB_DUO (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_DVI2USB_DUO && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_DVI2USB_DUO
Definition: v2u_id.h:38

Definition at line 100 of file v2u_id.h.

◆ VGA2USB_IS_DVI2USB_RESPIN

#define VGA2USB_IS_DVI2USB_RESPIN (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID &&(idProduct)==VGA2USB_PRODID_DVI2USB_RESPIN &&\
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_DVI2USB_RESPIN
Definition: v2u_id.h:34

Definition at line 104 of file v2u_id.h.

◆ VGA2USB_IS_DVI2USB_SOLO

#define VGA2USB_IS_DVI2USB_SOLO (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_DVI2USB_SOLO && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_DVI2USB_SOLO
Definition: v2u_id.h:37

Definition at line 96 of file v2u_id.h.

◆ VGA2USB_IS_KVM2USB

#define VGA2USB_IS_KVM2USB (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_KVM2USB && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_KVM2USB
Definition: v2u_id.h:25

Definition at line 56 of file v2u_id.h.

◆ VGA2USB_IS_KVM2USB_LR

#define VGA2USB_IS_KVM2USB_LR (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_KVM2USB_LR && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_KVM2USB_LR
Definition: v2u_id.h:35

Definition at line 88 of file v2u_id.h.

◆ VGA2USB_IS_KVM2USB_LR_RESPIN

#define VGA2USB_IS_KVM2USB_LR_RESPIN (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_KVM2USB_LR_RESPIN && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_KVM2USB_LR_RESPIN
Definition: v2u_id.h:31

Definition at line 108 of file v2u_id.h.

◆ VGA2USB_IS_KVM2USB_PRO

#define VGA2USB_IS_KVM2USB_PRO (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_KVM2USB_PRO && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_KVM2USB_PRO
Definition: v2u_id.h:36

Definition at line 92 of file v2u_id.h.

◆ VGA2USB_IS_VGA2USB

#define VGA2USB_IS_VGA2USB (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_VGA2USB && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_VGA2USB
Definition: v2u_id.h:24

Macros for detecting VGA2USB hardware

Definition at line 52 of file v2u_id.h.

◆ VGA2USB_IS_VGA2USB_HR

#define VGA2USB_IS_VGA2USB_HR (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_VGA2USB_HR && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_VGA2USB_HR
Definition: v2u_id.h:28

Definition at line 68 of file v2u_id.h.

◆ VGA2USB_IS_VGA2USB_HR_RESPIN

#define VGA2USB_IS_VGA2USB_HR_RESPIN (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_VGA2USB_HR_RESPIN && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_VGA2USB_HR_RESPIN
Definition: v2u_id.h:32

Definition at line 80 of file v2u_id.h.

◆ VGA2USB_IS_VGA2USB_LR

#define VGA2USB_IS_VGA2USB_LR (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_VGA2USB_LR && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_VGA2USB_LR
Definition: v2u_id.h:27

Definition at line 72 of file v2u_id.h.

◆ VGA2USB_IS_VGA2USB_LR_RESPIN

#define VGA2USB_IS_VGA2USB_LR_RESPIN (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_VGA2USB_LR_RESPIN && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_VGA2USB_LR_RESPIN
Definition: v2u_id.h:30

Definition at line 76 of file v2u_id.h.

◆ VGA2USB_IS_VGA2USB_PRO

#define VGA2USB_IS_VGA2USB_PRO (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_VGA2USB_PRO && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_VGA2USB_PRO
Definition: v2u_id.h:29

Definition at line 64 of file v2u_id.h.

◆ VGA2USB_IS_VGA2USB_PRO_RESPIN

#define VGA2USB_IS_VGA2USB_PRO_RESPIN (   idVendor,
  idProduct,
  iProduct,
  iMfg 
)
Value:
((idVendor)==VGA2USB_VENDORID && (idProduct)==VGA2USB_PRODID_VGA2USB_PRO_RESPIN && \
((iProduct)>0 || (iMfg)>0))
#define VGA2USB_VENDORID
Definition: v2u_id.h:23
#define VGA2USB_PRODID_VGA2USB_PRO_RESPIN
Definition: v2u_id.h:33

Definition at line 84 of file v2u_id.h.

◆ VGA2USB_PRODID_DAVINCI1

#define VGA2USB_PRODID_DAVINCI1   0x5000

Definition at line 42 of file v2u_id.h.

◆ VGA2USB_PRODID_DVI2FIFO

#define VGA2USB_PRODID_DVI2FIFO   0x4080

Definition at line 41 of file v2u_id.h.

◆ VGA2USB_PRODID_DVI2PCI

#define VGA2USB_PRODID_DVI2PCI   0x3B00

Definition at line 44 of file v2u_id.h.

◆ VGA2USB_PRODID_DVI2USB

#define VGA2USB_PRODID_DVI2USB   0x2222

Definition at line 26 of file v2u_id.h.

◆ VGA2USB_PRODID_DVI2USB_DUO

#define VGA2USB_PRODID_DVI2USB_DUO   0x3422

Definition at line 38 of file v2u_id.h.

◆ VGA2USB_PRODID_DVI2USB_RESPIN

#define VGA2USB_PRODID_DVI2USB_RESPIN   0x3380

Definition at line 34 of file v2u_id.h.

◆ VGA2USB_PRODID_DVI2USB_SOLO

#define VGA2USB_PRODID_DVI2USB_SOLO   0x3411

Definition at line 37 of file v2u_id.h.

◆ VGA2USB_PRODID_GIOCONDA

#define VGA2USB_PRODID_GIOCONDA   0x5100

Definition at line 45 of file v2u_id.h.

◆ VGA2USB_PRODID_KVM2FIFO

#define VGA2USB_PRODID_KVM2FIFO   0x4004

Definition at line 40 of file v2u_id.h.

◆ VGA2USB_PRODID_KVM2USB

#define VGA2USB_PRODID_KVM2USB   0x1120

Definition at line 25 of file v2u_id.h.

◆ VGA2USB_PRODID_KVM2USB_LR

#define VGA2USB_PRODID_KVM2USB_LR   0x3344

Definition at line 35 of file v2u_id.h.

◆ VGA2USB_PRODID_KVM2USB_LR_RESPIN

#define VGA2USB_PRODID_KVM2USB_LR_RESPIN   0x3383

Definition at line 31 of file v2u_id.h.

◆ VGA2USB_PRODID_KVM2USB_PRO

#define VGA2USB_PRODID_KVM2USB_PRO   0x3337

Definition at line 36 of file v2u_id.h.

◆ VGA2USB_PRODID_ORNITHOPTER

#define VGA2USB_PRODID_ORNITHOPTER   0x5200

Definition at line 46 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2FIFO

#define VGA2USB_PRODID_VGA2FIFO   0x4000

Definition at line 39 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2PCI

#define VGA2USB_PRODID_VGA2PCI   0x3A00

Definition at line 43 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2USB

#define VGA2USB_PRODID_VGA2USB   0x1110

Definition at line 24 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2USB_HR

#define VGA2USB_PRODID_VGA2USB_HR   0x3332

Definition at line 28 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2USB_HR_RESPIN

#define VGA2USB_PRODID_VGA2USB_HR_RESPIN   0x3392

Definition at line 32 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2USB_LR

#define VGA2USB_PRODID_VGA2USB_LR   0x3340

Definition at line 27 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2USB_LR_RESPIN

#define VGA2USB_PRODID_VGA2USB_LR_RESPIN   0x3382

Definition at line 30 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2USB_PRO

#define VGA2USB_PRODID_VGA2USB_PRO   0x3333

Definition at line 29 of file v2u_id.h.

◆ VGA2USB_PRODID_VGA2USB_PRO_RESPIN

#define VGA2USB_PRODID_VGA2USB_PRO_RESPIN   0x33A2

Definition at line 33 of file v2u_id.h.

◆ VGA2USB_VENDORID

#define VGA2USB_VENDORID   EPIPHAN_VENDORID

Definition at line 23 of file v2u_id.h.

◆ VGA2USB_WIN_DEVICE_FORMAT

#define VGA2USB_WIN_DEVICE_FORMAT   "EpiphanVga2usb%lu"

Windows device name format. Used by user level code on Windows to open a handle to the VGA2USB driver.

Definition at line 134 of file v2u_id.h.