PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include <stdint.h>
#include <sys/ioctl.h>
Go to the source code of this file.
Classes | |
struct | custom_videomode |
struct | ioctl_getsn |
struct | ioctl_grabframe |
struct | ioctl_grabframe2 |
struct | ioctl_sendps2 |
struct | ioctl_setparams |
struct | ioctl_videomode |
struct | v2u_adjustment_range |
struct | v2u_ioctl_property |
union | v2u_property_value |
struct | v2u_rect |
struct | v2u_size |
struct | v2u_str_ucs2 |
struct | v2u_version |
struct | vesa_videomode |
#define ResetADC_PowerDown 0x02 |
Definition at line 404 of file v2u_defs.h.
#define ResetADC_PowerUp 0x03 |
Definition at line 405 of file v2u_defs.h.
#define ResetADC_Reset 0x01 |
Definition at line 403 of file v2u_defs.h.
#define V2U_CAPS_DVI_CAPTURE 0x0002 /* Captures DVI single-link */ |
Definition at line 412 of file v2u_defs.h.
#define V2U_CAPS_DVI_DUAL_LINK 0x0004 /* Captures DVI dual-link */ |
Definition at line 413 of file v2u_defs.h.
#define V2U_CAPS_EDID 0x0010 /* Programmable EDID */ |
Definition at line 415 of file v2u_defs.h.
#define V2U_CAPS_HW_COMPRESSION 0x0020 /* On-board compression */ |
Definition at line 416 of file v2u_defs.h.
#define V2U_CAPS_HW_SCALE 0x0080 /* Hardware scale */ |
Definition at line 418 of file v2u_defs.h.
#define V2U_CAPS_KVM 0x0008 /* KVM functionality */ |
Definition at line 414 of file v2u_defs.h.
#define V2U_CAPS_SIGNATURE 0x0100 /* Signed hardware */ |
Definition at line 419 of file v2u_defs.h.
#define V2U_CAPS_SYNC_THRESHOLD 0x0040 /* Adjustable sync thresholds */ |
Definition at line 417 of file v2u_defs.h.
#define V2U_CAPS_VGA_CAPTURE 0x0001 /* Captures VGA signal*/ |
Definition at line 411 of file v2u_defs.h.
#define V2U_CUSTOM_VIDEOMODE_COUNT 8 |
Definition at line 330 of file v2u_defs.h.
#define V2U_DEFAULT_SYNC_THRESHOLD 128 |
Definition at line 400 of file v2u_defs.h.
#define V2U_DSHOW_FIX_FPS 0x800 |
Definition at line 358 of file v2u_defs.h.
#define V2U_DSHOW_FLIP_VERTICALLY 0x400 |
Definition at line 357 of file v2u_defs.h.
#define V2U_DSHOW_LIMIT_FPS 0x200 |
Definition at line 356 of file v2u_defs.h.
#define V2U_FALSE 0 |
Definition at line 77 of file v2u_defs.h.
#define V2U_FLAG_VALID_GRABFLAGS 0x0020 |
Definition at line 161 of file v2u_defs.h.
#define V2U_FLAG_VALID_HSHIFT 0x0001 |
Definition at line 151 of file v2u_defs.h.
#define V2U_FLAG_VALID_OFFSETGAIN 0x0004 |
Definition at line 155 of file v2u_defs.h.
#define V2U_FLAG_VALID_PHASE 0x0002 |
Definition at line 153 of file v2u_defs.h.
#define V2U_FLAG_VALID_PLLSHIFT 0x0010 |
Definition at line 159 of file v2u_defs.h.
#define V2U_FLAG_VALID_VSHIFT 0x0008 |
Definition at line 157 of file v2u_defs.h.
#define V2U_FPS_DENOMINATOR 100 |
Definition at line 408 of file v2u_defs.h.
#define V2U_GRAB_BMP_BOTTOM_UP 0x10000 |
Definition at line 165 of file v2u_defs.h.
#define V2U_GRAB_PREFER_WIDE_MODE 0x20000 |
Definition at line 168 of file v2u_defs.h.
#define V2U_GrabFrame2_Fields | ( | pointer | ) |
Definition at line 642 of file v2u_defs.h.
#define V2U_GRABFRAME_ADDR_IS_PHYS 0x20000000 /* Buffer addr is physical */ |
Definition at line 682 of file v2u_defs.h.
#define V2U_GRABFRAME_BOTTOM_UP_FLAG 0x80000000 /* Invert order of lines */ |
Definition at line 680 of file v2u_defs.h.
#define V2U_GRABFRAME_DEINTERLACE 0x10000000 /* De-interlace image, if it is interlaced */ |
Definition at line 683 of file v2u_defs.h.
#define V2U_GrabFrame_Fields | ( | pointer | ) |
Definition at line 631 of file v2u_defs.h.
#define V2U_GRABFRAME_FLAGS_MASK 0xf0000000 /* Bits reserved for flags */ |
Definition at line 679 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT | ( | p | ) | ((p) & V2U_GRABFRAME_FORMAT_MASK) |
Definition at line 788 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_2VUY 0x00000300 |
Definition at line 759 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_ARGB32 0x00000B00 |
Definition at line 767 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_BGR16 0x00000400 |
Definition at line 760 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_BGR24 0x00000800 |
Definition at line 764 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_C2VUY 0x00000D00 /* Compressed 2VUY */ |
Definition at line 769 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_CBGR24 0x00000900 /* Compressed BGR24 */ |
Definition at line 765 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_CRGB24 0x00000600 /* Compressed RGB24 */ |
Definition at line 762 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_CYUY2 0x00000700 /* Compressed YUY2 */ |
Definition at line 763 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_I420 0x00000A00 /* Same as YUV420P */ |
Definition at line 766 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_MASK 0x0000ffff /* Image format mask */ |
Definition at line 751 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_NV12 0x00000C00 |
Definition at line 768 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_RGB16 0x00000010 |
Definition at line 755 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_RGB24 0x00000018 |
Definition at line 756 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_RGB4 0x00000004 |
Definition at line 753 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_RGB8 0x00000008 /* R2:G3:B3 */ |
Definition at line 754 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_RGB_MASK 0x0000001f /* Mask for RGB formats */ |
Definition at line 752 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_Y8 0x00000500 |
Definition at line 761 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_YUY2 0x00000100 /* Same as YUV422 */ |
Definition at line 757 of file v2u_defs.h.
#define V2U_GRABFRAME_FORMAT_YV12 0x00000200 |
Definition at line 758 of file v2u_defs.h.
#define V2U_GRABFRAME_KEYFRAME_FLAG 0x40000000 /* Full frame is requested */ |
Definition at line 681 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_2VUY V2U_GRABFRAME_FORMAT_2VUY |
Definition at line 782 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_ARGB32 V2U_GRABFRAME_FORMAT_ARGB32 |
Definition at line 778 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_BGR16 V2U_GRABFRAME_FORMAT_BGR16 |
Definition at line 783 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_BGR24 V2U_GRABFRAME_FORMAT_BGR24 |
Definition at line 785 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_I420 V2U_GRABFRAME_FORMAT_I420 |
Definition at line 781 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_MASK V2U_GRABFRAME_FORMAT_MASK |
Definition at line 772 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_NV12 V2U_GRABFRAME_FORMAT_NV12 |
Definition at line 786 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_RGB16 V2U_GRABFRAME_FORMAT_RGB16 |
Definition at line 776 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_RGB24 V2U_GRABFRAME_FORMAT_RGB24 |
Definition at line 777 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_RGB4 V2U_GRABFRAME_FORMAT_RGB4 |
Definition at line 774 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_RGB8 V2U_GRABFRAME_FORMAT_RGB8 |
Definition at line 775 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_RGB_MASK V2U_GRABFRAME_FORMAT_RGB_MASK |
Definition at line 773 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_Y8 V2U_GRABFRAME_FORMAT_Y8 |
Definition at line 784 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_YUY2 V2U_GRABFRAME_FORMAT_YUY2 |
Definition at line 779 of file v2u_defs.h.
#define V2U_GRABFRAME_PALETTE_YV12 V2U_GRABFRAME_FORMAT_YV12 |
Definition at line 780 of file v2u_defs.h.
#define V2U_GRABFRAME_RESERVED 0x0f000000 /* These are ignored */ |
Definition at line 678 of file v2u_defs.h.
#define V2U_GRABFRAME_ROTATION_180 0x00300000 /* Rotation 180 degrees */ |
Definition at line 707 of file v2u_defs.h.
#define V2U_GRABFRAME_ROTATION_LEFT90 0x00100000 /* 90 degrees to the left */ |
Definition at line 705 of file v2u_defs.h.
#define V2U_GRABFRAME_ROTATION_MASK 0x00300000 /* Bits reserved for mode */ |
Definition at line 703 of file v2u_defs.h.
#define V2U_GRABFRAME_ROTATION_NONE 0x00000000 /* No rotation */ |
Definition at line 704 of file v2u_defs.h.
#define V2U_GRABFRAME_ROTATION_RIGHT90 0x00200000 /* 90 degrees to the right */ |
Definition at line 706 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_AREA 0x00080000 /* Weighted average */ |
Definition at line 742 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_AVERAGE 0x00020000 /* Weighted average */ |
Definition at line 736 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_BICUBIC 0x00050000 /* Bicubic */ |
Definition at line 739 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_BICUBLIN 0x00090000 /* Lum bicub,Chr bilinear*/ |
Definition at line 743 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_BILINEAR 0x00040000 /* Bilinear */ |
Definition at line 738 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_EXPERIMENTAL 0x00060000 /* Experimental */ |
Definition at line 740 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_FAST_BILINEAR 0x00030000 /* Fast bilinear */ |
Definition at line 737 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_HW 0x000D0000 /* Hardware provided */ |
Definition at line 747 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_LANCZOS 0x000B0000 /* Lanczos */ |
Definition at line 745 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_MASK 0x000F0000 /* Scale algorithm mask */ |
Definition at line 734 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_MAX_MODE 0x000D0000 /* Maximum valid mode */ |
Definition at line 748 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_NEAREST 0x00010000 /* Nearest neighbour */ |
Definition at line 735 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_POINT 0x00070000 /* Nearest neighbour */ |
Definition at line 741 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_SINC 0x000A0000 /* Sinc */ |
Definition at line 744 of file v2u_defs.h.
#define V2U_GRABFRAME_SCALE_SPLINE 0x000C0000 /* Natural bicubic spline*/ |
Definition at line 746 of file v2u_defs.h.
#define V2U_INPUT_ANALOG 0x01 |
Definition at line 362 of file v2u_defs.h.
#define V2U_INPUT_COMPOSITE 0x08 |
Definition at line 365 of file v2u_defs.h.
#define V2U_INPUT_DIGITAL 0x02 |
Definition at line 363 of file v2u_defs.h.
#define V2U_INPUT_NONE 0x00 |
Definition at line 361 of file v2u_defs.h.
#define V2U_INPUT_SOG 0x04 |
Definition at line 364 of file v2u_defs.h.
#define V2U_MAX_GAIN 255 |
Definition at line 179 of file v2u_defs.h.
#define V2U_MAX_OFFSET 63 |
Definition at line 181 of file v2u_defs.h.
#define V2U_MAX_PHASE 31 |
Definition at line 177 of file v2u_defs.h.
#define V2U_MAX_SYNC_THRESHOLD 255 |
Definition at line 399 of file v2u_defs.h.
#define V2U_MIN_GAIN 0 |
Definition at line 178 of file v2u_defs.h.
#define V2U_MIN_OFFSET 0 |
Definition at line 180 of file v2u_defs.h.
#define V2U_MIN_PHASE 0 |
Definition at line 176 of file v2u_defs.h.
#define V2U_MIN_SYNC_THRESHOLD 0 |
Definition at line 398 of file v2u_defs.h.
#define V2U_PACKED __attribute__((packed)) |
Definition at line 34 of file v2u_defs.h.
Definition at line 584 of file v2u_defs.h.
#define V2U_PROPERTY_LIST | ( | property | ) |
Definition at line 459 of file v2u_defs.h.
#define V2U_PS2ADDR_KEYBOARD 0x01 |
Definition at line 195 of file v2u_defs.h.
#define V2U_PS2ADDR_MOUSE 0x02 |
Definition at line 196 of file v2u_defs.h.
#define V2U_ROTATION_FLAGS_TO_MODE | ( | _f | ) | ((V2URotationMode)(((_f) & V2U_GRABFRAME_ROTATION_MASK) >> 20)) |
Definition at line 281 of file v2u_defs.h.
#define V2U_ROTATION_MODE_TO_FLAGS | ( | _m | ) | (((_m) << 20) & V2U_GRABFRAME_ROTATION_MASK) |
Definition at line 279 of file v2u_defs.h.
#define V2U_SCALE_FLAGS_TO_MODE | ( | _f | ) | ((V2UScaleMode)(((_f) & V2U_GRABFRAME_SCALE_MASK) >> 16)) |
Definition at line 266 of file v2u_defs.h.
#define V2U_SCALE_MODE_TO_FLAGS | ( | _m | ) | (((_m) << 16) & V2U_GRABFRAME_SCALE_MASK) |
Definition at line 264 of file v2u_defs.h.
#define V2U_SN_BUFSIZ 32 |
Definition at line 204 of file v2u_defs.h.
#define V2U_TRUE 1 |
Definition at line 76 of file v2u_defs.h.
#define V2U_USERDATA_LEN 8 |
Definition at line 590 of file v2u_defs.h.
#define V2UERROR_FAULT 1 /* Unspecified error */ |
Definition at line 657 of file v2u_defs.h.
#define V2UERROR_INVALARG 2 /* Invalid argument */ |
Definition at line 658 of file v2u_defs.h.
#define V2UERROR_NOSIGNAL 5 /* No signal detected */ |
Definition at line 661 of file v2u_defs.h.
#define V2UERROR_OK 0 /* Success */ |
Definition at line 656 of file v2u_defs.h.
#define V2UERROR_OUTOFMEMORY 4 /* Out of memory */ |
Definition at line 660 of file v2u_defs.h.
#define V2UERROR_SMALLBUF 3 /* Insufficient buffer size */ |
Definition at line 659 of file v2u_defs.h.
#define V2UERROR_TIMEOUT 7 /* grab timeout */ |
Definition at line 663 of file v2u_defs.h.
#define V2UERROR_UNSUPPORTED 6 /* Unsupported video mode */ |
Definition at line 662 of file v2u_defs.h.
#define V2UPALETTE_2_BPP | ( | p | ) |
Definition at line 791 of file v2u_defs.h.
#define V2UPALETTE_COMPRESSED | ( | p | ) |
Definition at line 810 of file v2u_defs.h.
#define V2UPropType_Enum V2UPropType_Int32 |
Definition at line 457 of file v2u_defs.h.
#define VIDEOMODE_TYPE_DIGITAL 0x10 |
Definition at line 320 of file v2u_defs.h.
#define VIDEOMODE_TYPE_DUALLINK 0x08 |
Definition at line 319 of file v2u_defs.h.
#define VIDEOMODE_TYPE_ENABLED 0x02 |
Definition at line 317 of file v2u_defs.h.
#define VIDEOMODE_TYPE_HSYNCPOSITIVE 0x40 |
Definition at line 322 of file v2u_defs.h.
#define VIDEOMODE_TYPE_INTERLACED 0x20 |
Definition at line 321 of file v2u_defs.h.
#define VIDEOMODE_TYPE_SUPPORTED 0x04 |
Definition at line 318 of file v2u_defs.h.
#define VIDEOMODE_TYPE_TOPFIELDFIRST 0x100 |
Definition at line 324 of file v2u_defs.h.
#define VIDEOMODE_TYPE_VALID 0x01 |
Definition at line 316 of file v2u_defs.h.
#define VIDEOMODE_TYPE_VSYNCPOSITIVE 0x80 |
Definition at line 323 of file v2u_defs.h.
Definition at line 71 of file v2u_defs.h.
Definition at line 69 of file v2u_defs.h.
typedef struct ioctl_getsn V2U_GetSN |
typedef struct ioctl_grabframe V2U_GrabFrame |
typedef struct ioctl_grabframe2 V2U_GrabFrame2 |
typedef struct ioctl_setparams V2U_GrabParameters |
typedef int16_t V2U_INT16 |
Definition at line 61 of file v2u_defs.h.
typedef int32_t V2U_INT32 |
Definition at line 63 of file v2u_defs.h.
typedef int64_t V2U_INT64 |
Definition at line 65 of file v2u_defs.h.
typedef int8_t V2U_INT8 |
Definition at line 59 of file v2u_defs.h.
typedef struct v2u_ioctl_property V2U_Property |
typedef struct ioctl_sendps2 V2U_SendPS2 |
Definition at line 73 of file v2u_defs.h.
typedef V2U_UINT16 V2U_UCS2 |
Definition at line 70 of file v2u_defs.h.
typedef uint16_t V2U_UINT16 |
Definition at line 62 of file v2u_defs.h.
typedef uint32_t V2U_UINT32 |
Definition at line 64 of file v2u_defs.h.
typedef uint64_t V2U_UINT64 |
Definition at line 66 of file v2u_defs.h.
typedef uint8_t V2U_UINT8 |
Definition at line 60 of file v2u_defs.h.
typedef struct ioctl_videomode V2U_VideoMode |
typedef struct v2u_adjustment_range V2UAdjRange |
typedef enum v2u_bus_type V2UBusType |
typedef enum v2u_digital_mode_detect V2UDigitalModeDetect |
typedef enum v2u_noise_filter V2UNoiseFilter |
typedef enum v2u_product_type V2UProductType |
typedef enum v2u_property_access V2UPropertyAccess |
typedef enum v2u_property_key V2UPropertyKey |
typedef enum v2u_property_type V2UPropertyType |
typedef union v2u_property_value V2UPropertyValue |
typedef enum v2u_rotation_mode V2URotationMode |
typedef enum v2u_scale_mode V2UScaleMode |
typedef struct v2u_str_ucs2 V2UStrUcs2 |
typedef struct v2u_version V2UVersion |
typedef struct custom_videomode V2UVGAMode |
typedef struct vesa_videomode V2UVideoModeDescr |
typedef const V2UVideoModeDescr* V2UVideoModeDescrCPtr |
Definition at line 327 of file v2u_defs.h.
enum v2u_bus_type |
Enumerator | |
---|---|
V2UBusType_Other | |
V2UBusType_USB | |
V2UBusType_PCI | |
V2UBusType_Count |
Definition at line 389 of file v2u_defs.h.
Enumerator | |
---|---|
V2UDigitalMode_AutoDetect | |
V2UDigitalMode_SingleLink | |
V2UDigitalMode_DualLink | |
V2UDigitalMode_Count |
Definition at line 368 of file v2u_defs.h.
enum v2u_noise_filter |
Enumerator | |
---|---|
V2UNoiseFilter_Auto | |
V2UNoiseFilter_None | |
V2UNoiseFilter_Low | |
V2UNoiseFilter_Moderate | |
V2UNoiseFilter_High | |
V2UNoiseFilter_Extreme | |
V2UNoiseFilter_Count |
Definition at line 377 of file v2u_defs.h.
enum v2u_product_type |
Definition at line 211 of file v2u_defs.h.
enum v2u_property_access |
Enumerator | |
---|---|
V2UPropAccess_NO | |
V2UPropAccess_RO | |
V2UPropAccess_RW | |
V2UPropAccess_WO |
Definition at line 421 of file v2u_defs.h.
enum v2u_property_key |
Enumerator | |
---|---|
V2UKey_Count |
Definition at line 582 of file v2u_defs.h.
enum v2u_property_type |
Definition at line 429 of file v2u_defs.h.
enum v2u_rotation_mode |
Enumerator | |
---|---|
V2URotationNone | |
V2URotationLeft90 | |
V2URotationRight90 | |
V2URotation180 | |
V2URotationCount |
Definition at line 269 of file v2u_defs.h.
enum v2u_scale_mode |
Definition at line 244 of file v2u_defs.h.