MEF_TRUE = 1
MEF_UNKNOWN = 0
MEF_FALSE = -1
MEF_BIG_ENDIAN = 0
MEF_LITTLE_ENDIAN = 1
MEF_VERSION_MAJOR = 3
MEF_VERSION_MINOR = 0
TYPE_BYTES = 5
UUID_BYTES = 16
NO_UUID = 0
TIME_STRING_BYTES = 32
MEF_BASE_FILE_NAME_BYTES = 256
MEF_SEGMENT_BASE_FILE_NAME_BYTES = (256 + 8)
MEF_FULL_FILE_NAME_BYTES = 1024
PAD_BYTE_VALUE = 0x7e
FILE_NUMBERING_DIGITS = 6
NO_TYPE_CODE = 0
MAXIMUM_GMT_OFFSET = 86400
MINIMUM_GMT_OFFSET = -86400
UNKNOWN_NUMBER_OF_ENTRIES = -1
UUTC_NO_ENTRY = 0x800000000000
CRC_NO_ENTRY = 0
CRC_IGNORE = 0
CRC_VALIDATE = 1
CRC_VALIDATE_ON_INPUT = 2
CRC_VALIDATE_ON_OUTPUT = 4
CRC_CALCULATE = 8
CRC_CALCULATE_ON_INPUT = 16
CRC_CALCULATE_ON_OUTPUT = 32
ENCRYPTION_LEVEL_NO_ENTRY = -128
NO_ENCRYPTION = 0
LEVEL_0_ENCRYPTION = 0
LEVEL_1_ENCRYPTION = 1
LEVEL_2_ENCRYPTION = 2
LEVEL_0_ACCESS = 0
LEVEL_1_ACCESS = 1
LEVEL_2_ACCESS = 2
LEVEL_1_ENCRYPTION_DECRYPTED = -1
LEVEL_2_ENCRYPTION_DECRYPTED = -2
ENCRYPTION_BLOCK_BYTES = 16
ENCRYPTION_KEY_BYTES = 176
PASSWORD_BYTES = 16
UTF8_PASSWORD_BYTES = (16 * 4)
MAX_PASSWORD_CHARACTERS = (16 - 1)
PASSWORD_VALIDATION_FIELD_BYTES = 16
RTO_USE_SYSTEM_TIME = -1
RTO_IGNORE = 0
RTO_APPLY = 1
RTO_REMOVE = 2
RTO_APPLY_ON_OUTPUT = 4
RTO_APPLY_ON_INPUT = 8
RTO_REMOVE_ON_OUTPUT = 16
RTO_REMOVE_ON_INPUT = 32
RTO_INPUT_ACTION = 1
RTO_OUTPUT_ACTION = 2
UNKNOWN_CHANNEL_TYPE = -1
TIME_SERIES_CHANNEL_TYPE = 1
VIDEO_CHANNEL_TYPE = 2
UNIVERSAL_HEADER_OFFSET = 0
UNIVERSAL_HEADER_BYTES = 1024
UNIVERSAL_HEADER_HEADER_CRC_OFFSET = 0
UNIVERSAL_HEADER_HEADER_CRC_NO_ENTRY = 0
UNIVERSAL_HEADER_BODY_CRC_OFFSET = 4
UNIVERSAL_HEADER_BODY_CRC_NO_ENTRY = 0
UNIVERSAL_HEADER_FILE_TYPE_OFFSET = 8
UNIVERSAL_HEADER_FILE_TYPE_NO_ENTRY = 0
UNIVERSAL_HEADER_MEF_VERSION_MAJOR_OFFSET = 13
UNIVERSAL_HEADER_MEF_VERSION_MAJOR_NO_ENTRY = 0xff
UNIVERSAL_HEADER_MEF_VERSION_MINOR_OFFSET = 14
UNIVERSAL_HEADER_MEF_VERSION_MINOR_NO_ENTRY = 0xff
UNIVERSAL_HEADER_BYTE_ORDER_CODE_OFFSET = 15
UNIVERSAL_HEADER_BYTE_ORDER_CODE_NO_ENTRY = 0xff
UNIVERSAL_HEADER_START_TIME_OFFSET = 16
UNIVERSAL_HEADER_START_TIME_NO_ENTRY = UUTC_NO_ENTRY
UNIVERSAL_HEADER_END_TIME_OFFSET = 24
UNIVERSAL_HEADER_END_TIME_NO_ENTRY = UUTC_NO_ENTRY
UNIVERSAL_HEADER_NUMBER_OF_ENTRIES_OFFSET = 32
UNIVERSAL_HEADER_NUMBER_OF_ENTRIES_NO_ENTRY = -1
UNIVERSAL_HEADER_MAXIMUM_ENTRY_SIZE_OFFSET = 40
UNIVERSAL_HEADER_MAXIMUM_ENTRY_SIZE_NO_ENTRY = -1
UNIVERSAL_HEADER_SEGMENT_NUMBER_OFFSET = 48
UNIVERSAL_HEADER_SEGMENT_NUMBER_NO_ENTRY = -1
UNIVERSAL_HEADER_CHANNEL_LEVEL_CODE = -2
UNIVERSAL_HEADER_SESSION_LEVEL_CODE = -3
UNIVERSAL_HEADER_CHANNEL_NAME_OFFSET = 52
UNIVERSAL_HEADER_SESSION_NAME_OFFSET = 308
UNIVERSAL_HEADER_ANONYMIZED_NAME_OFFSET = 564
UNIVERSAL_HEADER_ANONYMIZED_NAME_BYTES = 256
UNIVERSAL_HEADER_LEVEL_UUID_OFFSET = 820
UNIVERSAL_HEADER_FILE_UUID_OFFSET = 836
UNIVERSAL_HEADER_PROVENANCE_UUID_OFFSET = 852
UNIVERSAL_HEADER_LEVEL_1_PASSWORD_VALIDATION_FIELD_OFFSET = 868
UNIVERSAL_HEADER_LEVEL_2_PASSWORD_VALIDATION_FIELD_OFFSET = 884
UNIVERSAL_HEADER_PROTECTED_REGION_OFFSET = 900
UNIVERSAL_HEADER_PROTECTED_REGION_BYTES = 60
UNIVERSAL_HEADER_DISCRETIONARY_REGION_OFFSET = 960
UNIVERSAL_HEADER_DISCRETIONARY_REGION_BYTES = 64
METADATA_FILE_BYTES = 16384
METADATA_SECTION_1_BYTES = 1536
METADATA_SECTION_2_ENCRYPTION_OFFSET = 1024
METADATA_SECTION_2_ENCRYPTION_DEFAULT = 1
METADATA_SECTION_3_ENCRYPTION_OFFSET = 1025
METADATA_SECTION_3_ENCRYPTION_DEFAULT = 2
METADATA_SECTION_1_PROTECTED_REGION_OFFSET = 1026
METADATA_SECTION_1_PROTECTED_REGION_BYTES = 766
METADATA_SECTION_1_DISCRETIONARY_REGION_OFFSET = 1792
METADATA_SECTION_1_DISCRETIONARY_REGION_BYTES = 768
METADATA_SECTION_2_OFFSET = 2560
METADATA_SECTION_2_BYTES = 10752
METADATA_CHANNEL_DESCRIPTION_OFFSET = 2560
METADATA_CHANNEL_DESCRIPTION_BYTES = 2048
METADATA_SESSION_DESCRIPTION_OFFSET = 4608
METADATA_SESSION_DESCRIPTION_BYTES = 2048
METADATA_RECORDING_DURATION_OFFSET = 6656
METADATA_RECORDING_DURATION_NO_ENTRY = -1
TIME_SERIES_METADATA_REFERENCE_DESCRIPTION_OFFSET = 6664
TIME_SERIES_METADATA_REFERENCE_DESCRIPTION_BYTES = 2048
TIME_SERIES_METADATA_ACQUISITION_CHANNEL_NUMBER_OFFSET = 8712
TIME_SERIES_METADATA_ACQUISITION_CHANNEL_NUMBER_NO_ENTRY = -1
TIME_SERIES_METADATA_SAMPLING_FREQUENCY_OFFSET = 8720
TIME_SERIES_METADATA_SAMPLING_FREQUENCY_NO_ENTRY = -1.0
TIME_SERIES_METADATA_LOW_FREQUENCY_FILTER_SETTING_OFFSET = 8728
TIME_SERIES_METADATA_LOW_FREQUENCY_FILTER_SETTING_NO_ENTRY = -1.0
TIME_SERIES_METADATA_HIGH_FREQUENCY_FILTER_SETTING_OFFSET = 8736
TIME_SERIES_METADATA_HIGH_FREQUENCY_FILTER_SETTING_NO_ENTRY = -1.0
TIME_SERIES_METADATA_NOTCH_FILTER_FREQUENCY_SETTING_OFFSET = 8744
TIME_SERIES_METADATA_NOTCH_FILTER_FREQUENCY_SETTING_NO_ENTRY = -1.0
TIME_SERIES_METADATA_AC_LINE_FREQUENCY_OFFSET = 8752
TIME_SERIES_METADATA_AC_LINE_FREQUENCY_NO_ENTRY = -1.0
TIME_SERIES_METADATA_UNITS_CONVERSION_FACTOR_OFFSET = 8760
TIME_SERIES_METADATA_UNITS_CONVERSION_FACTOR_NO_ENTRY = 0.0
TIME_SERIES_METADATA_UNITS_DESCRIPTION_OFFSET = 8768
TIME_SERIES_METADATA_UNITS_DESCRIPTION_BYTES = 128
TIME_SERIES_METADATA_MAXIMUM_NATIVE_SAMPLE_VALUE_OFFSET = 8896
TIME_SERIES_METADATA_MAXIMUM_NATIVE_SAMPLE_VALUE_NO_ENTRY = 0x7ff8000000000000
TIME_SERIES_METADATA_MINIMUM_NATIVE_SAMPLE_VALUE_OFFSET = 8904
TIME_SERIES_METADATA_MINIMUM_NATIVE_SAMPLE_VALUE_NO_ENTRY = 0x7ff8000000000000
TIME_SERIES_METADATA_START_SAMPLE_OFFSET = 8912
TIME_SERIES_METADATA_START_SAMPLE_NO_ENTRY = -1
TIME_SERIES_METADATA_NUMBER_OF_SAMPLES_OFFSET = 8920
TIME_SERIES_METADATA_NUMBER_OF_SAMPLES_NO_ENTRY = -1
TIME_SERIES_METADATA_NUMBER_OF_BLOCKS_OFFSET = 8928
TIME_SERIES_METADATA_NUMBER_OF_BLOCKS_NO_ENTRY = -1
TIME_SERIES_METADATA_MAXIMUM_BLOCK_BYTES_OFFSET = 8936
TIME_SERIES_METADATA_MAXIMUM_BLOCK_BYTES_NO_ENTRY = -1
TIME_SERIES_METADATA_MAXIMUM_BLOCK_SAMPLES_OFFSET = 8944
TIME_SERIES_METADATA_MAXIMUM_BLOCK_SAMPLES_NO_ENTRY = 0xFFFFFFFF
TIME_SERIES_METADATA_MAXIMUM_DIFFERENCE_BYTES_OFFSET = 8948
TIME_SERIES_METADATA_MAXIMUM_DIFFERENCE_BYTES_NO_ENTRY = 0xFFFFFFFF
TIME_SERIES_METADATA_BLOCK_INTERVAL_OFFSET = 8952
TIME_SERIES_METADATA_BLOCK_INTERVAL_NO_ENTRY = -1
TIME_SERIES_METADATA_NUMBER_OF_DISCONTINUITIES_OFFSET = 8960
TIME_SERIES_METADATA_NUMBER_OF_DISCONTINUITIES_NO_ENTRY = -1
TIME_SERIES_METADATA_MAXIMUM_CONTIGUOUS_BLOCKS_OFFSET = 8968
TIME_SERIES_METADATA_MAXIMUM_CONTIGUOUS_BLOCKS_NO_ENTRY = -1
TIME_SERIES_METADATA_MAXIMUM_CONTIGUOUS_BLOCK_BYTES_OFFSET = 8976
TIME_SERIES_METADATA_MAXIMUM_CONTIGUOUS_BLOCK_BYTES_NO_ENTRY = -1
TIME_SERIES_METADATA_MAXIMUM_CONTIGUOUS_SAMPLES_OFFSET = 8984
TIME_SERIES_METADATA_MAXIMUM_CONTIGUOUS_SAMPLES_NO_ENTRY = -1
TIME_SERIES_METADATA_SECTION_2_PROTECTED_REGION_OFFSET = 8992
TIME_SERIES_METADATA_SECTION_2_PROTECTED_REGION_BYTES = 2160
TIME_SERIES_METADATA_SECTION_2_DISCRETIONARY_REGION_OFFSET = 11152
TIME_SERIES_METADATA_SECTION_2_DISCRETIONARY_REGION_BYTES = 2160
VIDEO_METADATA_HORIZONTAL_RESOLUTION_OFFSET = 6664
VIDEO_METADATA_HORIZONTAL_RESOLUTION_NO_ENTRY = -1
VIDEO_METADATA_VERTICAL_RESOLUTION_OFFSET = 6672
VIDEO_METADATA_VERTICAL_RESOLUTION_NO_ENTRY = -1
VIDEO_METADATA_FRAME_RATE_OFFSET = 6680
VIDEO_METADATA_FRAME_RATE_NO_ENTRY = -1.0
VIDEO_METADATA_NUMBER_OF_CLIPS_OFFSET = 6688
VIDEO_METADATA_NUMBER_OF_CLIPS_NO_ENTRY = -1
VIDEO_METADATA_MAXIMUM_CLIP_BYTES_OFFSET = 6696
VIDEO_METADATA_MAXIMUM_CLIP_BYTES_NO_ENTRY = -1
VIDEO_METADATA_VIDEO_FORMAT_OFFSET = 6704
VIDEO_METADATA_VIDEO_FORMAT_BYTES = 128
VIDEO_METADATA_VIDEO_FILE_CRC_OFFSET = 6832
VIDEO_METADATA_VIDEO_FILE_CRC_NO_ENTRY = 0
VIDEO_METADATA_SECTION_2_PROTECTED_REGION_OFFSET = 6836
VIDEO_METADATA_SECTION_2_PROTECTED_REGION_BYTES = 3236
VIDEO_METADATA_SECTION_2_DISCRETIONARY_REGION_OFFSET = 10072
VIDEO_METADATA_SECTION_2_DISCRETIONARY_REGION_BYTES = 3240
METADATA_SECTION_3_OFFSET = 13312
METADATA_SECTION_3_BYTES = 3072
METADATA_RECORDING_TIME_OFFSET_OFFSET = 13312
METADATA_RECORDING_TIME_OFFSET_NO_ENTRY = UUTC_NO_ENTRY
METADATA_DST_START_TIME_OFFSET = 13320
METADATA_DST_START_TIME_NO_ENTRY = UUTC_NO_ENTRY
METADATA_DST_END_TIME_OFFSET = 13328
METADATA_DST_END_TIME_NO_ENTRY = UUTC_NO_ENTRY
METADATA_GMT_OFFSET_OFFSET = 13336
GMT_OFFSET_NO_ENTRY = -86401
METADATA_SUBJECT_NAME_1_OFFSET = 13340
METADATA_SUBJECT_NAME_BYTES = 128
METADATA_SUBJECT_NAME_2_OFFSET = 13468
METADATA_SUBJECT_ID_OFFSET = 13596
METADATA_SUBJECT_ID_BYTES = 128
METADATA_RECORDING_LOCATION_OFFSET = 13724
METADATA_RECORDING_LOCATION_BYTES = 512
METADATA_SECTION_3_PROTECTED_REGION_OFFSET = 14236
METADATA_SECTION_3_PROTECTED_REGION_BYTES = 1124
METADATA_SECTION_3_DISCRETIONARY_REGION_OFFSET = 15360
METADATA_SECTION_3_DISCRETIONARY_REGION_BYTES = 1024
RECORD_HEADER_BYTES = 24
RECORD_HEADER_RECORD_CRC_OFFSET = 0
RECORD_HEADER_RECORD_CRC_NO_ENTRY = 0
RECORD_HEADER_TYPE_OFFSET = 4
RECORD_HEADER_TYPE_NO_ENTRY = 0
RECORD_HEADER_VERSION_MAJOR_OFFSET = 9
RECORD_HEADER_VERSION_MAJOR_NO_ENTRY = 0xff
RECORD_HEADER_VERSION_MINOR_OFFSET = 10
RECORD_HEADER_VERSION_MINOR_NO_ENTRY = 0xff
RECORD_HEADER_ENCRYPTION_OFFSET = 11
RECORD_HEADER_BYTES_OFFSET = 12
RECORD_HEADER_BYTES_NO_ENTRY = 0
RECORD_HEADER_TIME_OFFSET = 16
RECORD_HEADER_TIME_NO_ENTRY = UUTC_NO_ENTRY
RECORD_INDEX_BYTES = 24
RECORD_INDEX_TYPE_OFFSET = 0
RECORD_INDEX_TYPE_NO_ENTRY = 0
RECORD_INDEX_VERSION_MAJOR_OFFSET = 5
RECORD_INDEX_VERSION_MAJOR_NO_ENTRY = 0xff
RECORD_INDEX_VERSION_MINOR_OFFSET = 6
RECORD_INDEX_VERSION_MINOR_NO_ENTRY = 0xff
RECORD_INDEX_ENCRYPTION_OFFSET = 7
RECORD_INDEX_FILE_OFFSET_OFFSET = 8
RECORD_INDEX_FILE_OFFSET_NO_ENTRY = -1
RECORD_INDEX_TIME_OFFSET = 16
RECORD_INDEX_TIME_NO_ENTRY = UUTC_NO_ENTRY
TIME_SERIES_INDEX_BYTES = 56
TIME_SERIES_INDEX_FILE_OFFSET_OFFSET = 0
TIME_SERIES_INDEX_FILE_OFFSET_NO_ENTRY = -1
TIME_SERIES_INDEX_START_TIME_OFFSET = 8
TIME_SERIES_INDEX_START_TIME_NO_ENTRY = UUTC_NO_ENTRY
TIME_SERIES_INDEX_START_SAMPLE_OFFSET = 16
TIME_SERIES_INDEX_START_SAMPLE_NO_ENTRY = -1
TIME_SERIES_INDEX_NUMBER_OF_SAMPLES_OFFSET = 24
TIME_SERIES_INDEX_NUMBER_OF_SAMPLES_NO_ENTRY = 0xFFFFFFFF
TIME_SERIES_INDEX_BLOCK_BYTES_OFFSET = 28
TIME_SERIES_INDEX_BLOCK_BYTES_NO_ENTRY = 0xFFFFFFFF
TIME_SERIES_INDEX_MAXIMUM_SAMPLE_VALUE_OFFSET = 32
TIME_SERIES_INDEX_MAXIMUM_SAMPLE_VALUE_NO_ENTRY = 0x80000000
TIME_SERIES_INDEX_MINIMUM_SAMPLE_VALUE_OFFSET = 36
TIME_SERIES_INDEX_MINIMUM_SAMPLE_VALUE_NO_ENTRY = 0x80000000
TIME_SERIES_INDEX_PROTECTED_REGION_OFFSET = 40
TIME_SERIES_INDEX_PROTECTED_REGION_BYTES = 4
TIME_SERIES_INDEX_RED_BLOCK_FLAGS_OFFSET = 44
TIME_SERIES_INDEX_RED_BLOCK_PROTECTED_REGION_OFFSET = 45
RED_BLOCK_PROTECTED_REGION_BYTES = 3
TIME_SERIES_INDEX_RED_BLOCK_DISCRETIONARY_REGION_OFFSET = 48
RED_BLOCK_DISCRETIONARY_REGION_BYTES = 8
VIDEO_INDEX_BYTES = 64
VIDEO_INDEX_START_TIME_OFFSET = 0
VIDEO_INDEX_START_TIME_NO_ENTRY = UUTC_NO_ENTRY
VIDEO_INDEX_END_TIME_OFFSET = 8
VIDEO_INDEX_END_TIME_NO_ENTRY = UUTC_NO_ENTRY
VIDEO_INDEX_START_FRAME_OFFSET = 16
VIDEO_INDEX_START_FRAME_NO_ENTRY = 0xFFFFFFFF
VIDEO_INDEX_END_FRAME_OFFSET = 20
VIDEO_INDEX_END_FRAME_NO_ENTRY = 0xFFFFFFFF
VIDEO_INDEX_FILE_OFFSET_OFFSET = 24
VIDEO_INDEX_FILE_OFFSET_NO_ENTRY = -1
VIDEO_INDEX_CLIP_BYTES_OFFSET = 32
VIDEO_INDEX_CLIP_BYTES_NO_ENTRY = -1
VIDEO_INDEX_PROTECTED_REGION_OFFSET = 40
VIDEO_INDEX_PROTECTED_REGION_BYTES = 16
VIDEO_INDEX_DISCRETIONARY_REGION_OFFSET = 56
VIDEO_INDEX_DISCRETIONARY_REGION_BYTES = 8
