TISGrabberGlobalDefs.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #ifndef __GLOBALDEFS_H__
  2. #define __GLOBALDEFS_H__
  3. typedef enum
  4. {
  5. FILETYPE_BMP,
  6. FILETYPE_JPEG,
  7. FILETYPE_MEGA=65536 // Borland C++ 6 compatibility
  8. } IMG_FILETYPE;
  9. typedef enum
  10. {
  11. Y800,
  12. RGB24,
  13. RGB32,
  14. UYVY,
  15. Y16,
  16. NONE, // used as return value
  17. COLORFORMAT_MEGA=65536 // Borland C++ 6 compatibility
  18. } COLORFORMAT;
  19. typedef enum
  20. {
  21. PROP_VID_BRIGHTNESS = 0,
  22. PROP_VID_CONTRAST,
  23. PROP_VID_HUE,
  24. PROP_VID_SATURATION,
  25. PROP_VID_SHARPNESS,
  26. PROP_VID_GAMMA,
  27. PROP_VID_COLORENABLE,
  28. PROP_VID_WHITEBALANCE,
  29. PROP_VID_BLACKLIGHTCOMPENSATION,
  30. PROP_VID_GAIN,
  31. PROP_VID_MEGA=65536 // Borland C++ 6 compatibility
  32. } VIDEO_PROPERTY;
  33. typedef enum
  34. {
  35. PROP_CAM_PAN = 0,
  36. PROP_CAM_TILT,
  37. PROP_CAM_ROLL,
  38. PROP_CAM_ZOOM,
  39. PROP_CAM_EXPOSURE,
  40. PROP_CAM_IRIS,
  41. PROP_CAM_FOCUS,
  42. PROP_CAM_MEGA=65536 // Borland C++ 6 compatibility
  43. } CAMERA_PROPERTY;
  44. typedef enum
  45. {
  46. eParamLong,
  47. eParamBoolean,
  48. eParamFloat,
  49. eParamString,
  50. eParamData
  51. } FRAMEFILTER_PARAM_TYPE;
  52. typedef enum
  53. {
  54. ePropertyRange,
  55. ePropertyAbsoluteValue,
  56. ePropertySwitch,
  57. ePropertyButton,
  58. ePropertyMapStrings,
  59. ePropertyUnknown
  60. } PROPERTY_INTERFACE_TYPE;
  61. #endif