visca_private.h
Upload User: shyika
Upload Date: 2017-11-25
Package Size: 1227k
Code Size: 4k
Category:

Video Capture

Development Platform:

Unix_Linux

  1. #ifndef __VISCA_PRIVATE_H__
  2. #define __VISCA_PRIVATE_H__
  3. /*
  4.     unicap
  5.     Copyright (C) 2004  Arne Caspari  ( arne_caspari@users.sourceforge.net )
  6.     This program is free software; you can redistribute it and/or modify
  7.     it under the terms of the GNU General Public License as published by
  8.     the Free Software Foundation; either version 2 of the License, or
  9.     (at your option) any later version.
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.     You should have received a copy of the GNU General Public License
  15.     along with this program; if not, write to the Free Software
  16.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  17. */
  18. #define VISCA_COMMAND_ZOOM           0x07
  19. #define VISCA_COMMAND_ZOOM_DIRECT    0x47
  20. #define VISCA_COMMAND_FOCUS          0x08
  21. #define VISCA_COMMAND_FOCUS_AUTO     0x38
  22. #define VISCA_COMMAND_FOCUS_DIRECT   0x48
  23. #define VISCA_COMMAND_FOCUS_MODE_INQ 0x57
  24. #define VISCA_FOCUS_AUTO             0x02
  25. #define VISCA_FOCUS_MANUAL           0x03
  26. #define VISCA_COMMAND_AE_MODE        0x39
  27. #define VISCA_AE_MODE_FULL_AUTO      0x00
  28. #define VISCA_AE_MODE_MANUAL         0x03
  29. #define VISCA_AE_MODE_SHUTTER_PRIO   0x0A
  30. #define VISCA_AE_MODE_IRIS_PRIO      0x0B
  31. #define VISCA_AE_MODE_BRIGHT         0x0D
  32. #define VISCA_AE_MENU_ITEM_FULL_AUTO     "Full Auto"
  33. #define VISCA_AE_MENU_ITEM_MANUAL        "Manual"
  34. #define VISCA_AE_MENU_ITEM_SHUTTER_PRIO  "Shutter Priority"
  35. #define VISCA_AE_MENU_ITEM_IRIS_PRIO     "Iris Priority"
  36. #define VISCA_AE_MENU_ITEM_BRIGHT        "Bright Mode"
  37. #define VISCA_COMMAND_SHUTTER_DIRECT 0x4A
  38. #define VISCA_COMMAND_IRIS_DIRECT    0x4B
  39. #define VISCA_COMMAND_GAIN_DIRECT    0x4C
  40. #define VISCA_COMMAND_WHITE_BALANCE  0x35
  41. #define VISCA_WHITE_BALANCE_AUTO     0x00
  42. #define VISCA_WHITE_BALANCE_INDOOR   0x01
  43. #define VISCA_WHITE_BALANCE_OUTDOOR  0x02
  44. #define VISCA_COMMAND_COMPLETE 0x50
  45. unicap_status_t visca_set_white_balance( vid21394handle_t vid21394handle, 
  46.  unicap_property_t *property );
  47. unicap_status_t visca_get_white_balance( vid21394handle_t vid21394handle, 
  48.  unicap_property_t *property );
  49. unicap_status_t visca_set_zoom( vid21394handle_t vid21394handle, 
  50. unicap_property_t *property );
  51. unicap_status_t visca_get_zoom( vid21394handle_t vid21394handle, 
  52. unicap_property_t *property );
  53. unicap_status_t visca_set_focus( vid21394handle_t vid21394handle, 
  54.  unicap_property_t *property );
  55. unicap_status_t visca_get_focus( vid21394handle_t vid21394handle, 
  56.  unicap_property_t *property );
  57. unicap_status_t visca_set_gain( vid21394handle_t vid21394handle, 
  58. unicap_property_t *property );
  59. unicap_status_t visca_get_gain( vid21394handle_t vid21394handle, 
  60. unicap_property_t *property );
  61. unicap_status_t visca_set_shutter( vid21394handle_t vid21394handle, 
  62.    unicap_property_t *property );
  63. unicap_status_t visca_get_shutter( vid21394handle_t vid21394handle, 
  64.    unicap_property_t *property );
  65. unicap_status_t visca_set_iris( vid21394handle_t vid21394handle, 
  66. unicap_property_t *property );
  67. unicap_status_t visca_get_iris( vid21394handle_t vid21394handle, 
  68. unicap_property_t *property );
  69. unicap_status_t visca_set_ae_mode( vid21394handle_t vid21394handle, 
  70.    unicap_property_t *property );
  71. unicap_status_t visca_get_ae_mode( vid21394handle_t vid21394handle, 
  72.    unicap_property_t *property );
  73. #endif//__VISCA_PRIVATE_H__