camconstants | index /mnt/c7edac05-619d-4dd7-8e17-5f7b6524752f/ss-v2.5.3rc27/myapps/host_hcamapi/host/camconstants.py |
# ==========================================================================
#
# Copyright (C) 2016 Sanstreak (http://www.sanstreak.com)
# All Rights Reserved.
#
# Authors: Todd Fischer <fischer@sanstreak.com>
#
# The contents of this software are proprietary and confidential to
# Sanstreak and intended for use only in Sanstreak products.
#
# Lists of status enumeration values
# ==========================================================================
Data | ||
AUTO_EXPOSURE_AVERAGE = 2 AUTO_EXPOSURE_OFF = 0 AUTO_EXPOSURE_SATURATION = 1 CAMAPI_ACCESSORY_STATE_CONNECTED = 1 CAMAPI_ACCESSORY_STATE_REMOVED = 2 CAMAPI_ACCESSORY_STATE_RUNNING = 3 CAMAPI_ACCESSORY_STATE_STOPPED = 4 CAMAPI_ACCESSORY_STATE_UNKNOWN = 0 CAMAPI_ESTORAGE_STATE_CONFIGURED = 102 CAMAPI_ESTORAGE_STATE_ERROR = 104 CAMAPI_ESTORAGE_STATE_MOUNTED = 103 CAMAPI_ESTORAGE_STATE_UNCONFIGURED = 101 CAMAPI_FLAG_DDR3_MEM_ERROR = 65536 CAMAPI_FLAG_GENLOCK_CONFIG_ERROR = 524288 CAMAPI_FLAG_GENLOCK_NO_SIGNAL = 262144 CAMAPI_FLAG_NET_CONFIGURED = 512 CAMAPI_FLAG_NET_FULL = 2048 CAMAPI_FLAG_NET_NOT_MOUNTABLE = 1024 CAMAPI_FLAG_SD_CARD_STORAGE_FULL = 32 CAMAPI_FLAG_SD_CARD_STORAGE_INSTALLED = 8 CAMAPI_FLAG_SD_CARD_STORAGE_UNMOUNTED = 128 CAMAPI_FLAG_SHUTTER_FAILURE = 131072 CAMAPI_FLAG_STORAGE_BAD = 64 CAMAPI_FLAG_STORAGE_EXFAT_FORMAT = 4096 CAMAPI_FLAG_STORAGE_FULL = 1 CAMAPI_FLAG_STORAGE_MISSING_OR_UNMOUNTED = 2 CAMAPI_FLAG_USB_STORAGE_FULL = 16 CAMAPI_FLAG_USB_STORAGE_INSTALLED = 4 CAMAPI_FLAG_USB_STORAGE_UNMOUNTED = 256 CAMAPI_SAVE_STATE_IDLE = 1 CAMAPI_SAVE_STATE_SAVE_INTERRUPTED = 9 CAMAPI_SAVE_STATE_SAVE_TRUNCATING = 10 CAMAPI_SAVE_STATE_SAVING = 5 CAMAPI_SAVE_STATE_SELECTIVE_SAVING = 12 CAMAPI_STATE_BUFFERS_FULL_TRIGGER_DISABLED = 13 CAMAPI_STATE_CALIBRATING = 2 CAMAPI_STATE_REVIEWING = 11 CAMAPI_STATE_RUNNING = 3 CAMAPI_STATE_RUNNING_PRETRIGGER_FULL = 6 CAMAPI_STATE_SAVE_INTERRUPTED = 9 CAMAPI_STATE_SAVE_TRUNCATING = 10 CAMAPI_STATE_SAVING = 5 CAMAPI_STATE_SELECTIVE_SAVING = 12 CAMAPI_STATE_TRIGGERED = 4 CAMAPI_STATE_TRIGGER_CANCELED = 7 CAMAPI_STATE_UNCONFIGURED = 1 CAMAPI_STATE_WAITING_FOR_SAVE_TO_COMPLETE_TRIGGER_DISABLED = 14 CAMAPI_STATUS_CODE_OUT_OF_DATE = 4 CAMAPI_STATUS_INVALID_CONFIGURATION = 6 CAMAPI_STATUS_INVALID_PARAMETER = 5 CAMAPI_STATUS_INVALID_STATE = 2 CAMAPI_STATUS_OKAY = 1 CAMAPI_STATUS_STORAGE_ERROR = 3 CAMAPI_STATUS_TIMEOUT = 7 CAMERA_BINARY_SETTINGS = ('subsample', 'force_monochrome', 'trigger_debounce', 'gamma_correction', 'save_view', 'overlay_notes', 'overlay_logo', 'overlay_settings', 'overlay_frame_number', 'multirate_capture') CAMERA_COMMON_SETTINGS = ('camera_name', 'iso', 'exposure', 'horizontal', 'vertical', 'h_offset', 'v_offset', 'subsample', 'edr', 'overclock', 'genlock', 'force_monochrome', 'multishot_count', 'trigger_debounce', 'gamma_correction', 'save_mode', 'pipeline', 'notes', 'overlay_notes', 'overlay_logo', ...) CAMERA_MRC_SETTINGS = ('pretrigger_frame_rate', 'posttrigger1_frame_rate', 'posttrigger2_frame_rate', 'pretrigger_duration', 'posttrigger1_duration', 'posttrigger2_duration', 'multirate_capture') CAMERA_NET_RO_SETTINGS = ('eth0_carrier', 'macaddr', 'active_ipv4_addr', 'active_ipv4_netmask') CAMERA_NET_RW_SETTINGS = ('ipv4_method', 'ipv4_addr', 'ipv4_netmask', 'ipv4_gateway', 'ntp_server') CAMERA_RO_MRC_SETTINGS = ('pretrigger_frames', 'posttrigger1_frames', 'posttrigger2_frames') CAMERA_RO_SETTINGS = ('warning',) CAMERA_SETTINGS = ('camera_name', 'iso', 'exposure', 'horizontal', 'vertical', 'h_offset', 'v_offset', 'subsample', 'edr', 'overclock', 'genlock', 'force_monochrome', 'multishot_count', 'trigger_debounce', 'gamma_correction', 'save_mode', 'pipeline', 'notes', 'overlay_notes', 'overlay_logo', ...) CAMERA_SRC_SETTINGS = ('frame_rate', 'duration', 'pretrigger') CAMERA_TEXT_SETTINGS = ('pipeline', 'camera_name', 'notes', 'filename_pattern', 'encode_framerate') GENLOCK_EXT = 3 GENLOCK_MASTER = 1 GENLOCK_OFF = 0 GENLOCK_RECEIVER = 2 GENLOCK_SLAVE = 2 GENLOCK_SOURCE = 1 NETWORK_IPV4_METHOD_DHCP = 2 NETWORK_IPV4_METHOD_DHCP_FALLBACK_FIXED = 1 NETWORK_IPV4_METHOD_FIXED = 0 PLAYBACK_FRAMERATE_23_976 = 1 PLAYBACK_FRAMERATE_24 = 2 PLAYBACK_FRAMERATE_25 = 3 PLAYBACK_FRAMERATE_29_97 = 4 PLAYBACK_FRAMERATE_30 = 5 PLAYBACK_FRAMERATE_50 = 6 PLAYBACK_FRAMERATE_59_94 = 7 PLAYBACK_FRAMERATE_60 = 8 PLAYBACK_FRAMERATE_UNKNOWN = 0 RENAME_STAGE_QUEUED = 2 RENAME_STAGE_SAVED = 0 RENAME_STAGE_TRIGGERED = 1 SAVE_MODE_AUTO = 0 SAVE_MODE_BACKGROUND = 2 SAVE_MODE_BACKGROUND_LIFO = 3 SAVE_MODE_MANUAL = 4 SAVE_MODE_REVIEW = 1 STREAM_STATUS_RUNTIME_ERROR = 303 STREAM_STATUS_STORAGE_FULL = 302 |