1 /* GStreamer 2 * Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk> 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Library General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Library General Public License for more details. 13 * 14 * You should have received a copy of the GNU Library General Public 15 * License along with this library; if not, write to the 16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 17 * Boston, MA 02110-1301, USA. 18 */ 19 20 #ifndef __MXF_QUARK_H__ 21 #define __MXF_QUARK_H__ 22 23 #include <gst/gst.h> 24 25 typedef enum { 26 MXF_QUARK_INSTANCE_UID = 0, 27 MXF_QUARK_GENERATION_UID = 1, 28 MXF_QUARK_OTHER_TAGS = 2, 29 MXF_QUARK_TAG = 3, 30 MXF_QUARK_DATA = 4, 31 MXF_QUARK_PREFACE = 5, 32 MXF_QUARK_LAST_MODIFIED_DATE = 6, 33 MXF_QUARK_VERSION = 7, 34 MXF_QUARK_OBJECT_MODEL_VERSION = 8, 35 MXF_QUARK_PRIMARY_PACKAGE = 9, 36 MXF_QUARK_IDENTIFICATIONS = 10, 37 MXF_QUARK_CONTENT_STORAGE = 11, 38 MXF_QUARK_OPERATIONAL_PATTERN = 12, 39 MXF_QUARK_ESSENCE_CONTAINERS = 13, 40 MXF_QUARK_DM_SCHEMES = 14, 41 MXF_QUARK_IDENTIFICATION = 15, 42 MXF_QUARK_THIS_GENERATION_UID = 16, 43 MXF_QUARK_COMPANY_NAME = 17, 44 MXF_QUARK_PRODUCT_NAME = 18, 45 MXF_QUARK_PRODUCT_VERSION = 19, 46 MXF_QUARK_VERSION_STRING = 20, 47 MXF_QUARK_PRODUCT_UID = 21, 48 MXF_QUARK_MODIFICATION_DATE = 22, 49 MXF_QUARK_TOOLKIT_VERSION = 23, 50 MXF_QUARK_PLATFORM = 24, 51 MXF_QUARK_PACKAGES = 25, 52 MXF_QUARK_ESSENCE_CONTAINER_DATA = 26, 53 MXF_QUARK_LINKED_PACKAGE = 27, 54 MXF_QUARK_INDEX_SID = 28, 55 MXF_QUARK_BODY_SID = 29, 56 MXF_QUARK_PACKAGE_UID = 30, 57 MXF_QUARK_NAME = 31, 58 MXF_QUARK_PACKAGE_CREATION_DATE = 32, 59 MXF_QUARK_PACKAGE_MODIFIED_DATE = 33, 60 MXF_QUARK_TRACKS = 34, 61 MXF_QUARK_MATERIAL_PACKAGE = 35, 62 MXF_QUARK_SOURCE_PACKAGE = 36, 63 MXF_QUARK_DESCRIPTOR = 37, 64 MXF_QUARK_TRACK_ID = 38, 65 MXF_QUARK_TRACK_NUMBER = 39, 66 MXF_QUARK_TRACK_NAME = 40, 67 MXF_QUARK_SEQUENCE = 41, 68 MXF_QUARK_TIMELINE_TRACK = 42, 69 MXF_QUARK_EDIT_RATE = 43, 70 MXF_QUARK_ORIGIN = 44, 71 MXF_QUARK_EVENT_TRACK = 45, 72 MXF_QUARK_EVENT_EDIT_RATE = 46, 73 MXF_QUARK_EVENT_ORIGIN = 47, 74 MXF_QUARK_STATIC_TRACK = 48, 75 MXF_QUARK_DATA_DEFINITION = 49, 76 MXF_QUARK_DURATION = 50, 77 MXF_QUARK_STRUCTURAL_COMPONENTS = 51, 78 MXF_QUARK_TIMECODE_COMPONENT = 52, 79 MXF_QUARK_START_TIMECODE = 53, 80 MXF_QUARK_ROUNDED_TIMECODE_BASE = 54, 81 MXF_QUARK_DROP_FRAME = 55, 82 MXF_QUARK_SOURCE_CLIP = 56, 83 MXF_QUARK_START_POSITION = 57, 84 MXF_QUARK_SOURCE_TRACK_ID = 58, 85 MXF_QUARK_DM_SOURCE_CLIP = 59, 86 MXF_QUARK_TRACK_IDS = 60, 87 MXF_QUARK_DM_SEGMENT = 61, 88 MXF_QUARK_EVENT_START_POSITION = 62, 89 MXF_QUARK_EVENT_COMMENT = 63, 90 MXF_QUARK_DM_FRAMEWORK = 64, 91 MXF_QUARK_LOCATORS = 65, 92 MXF_QUARK_FILE_DESCRIPTOR = 66, 93 MXF_QUARK_LINKED_TRACK_ID = 67, 94 MXF_QUARK_SAMPLE_RATE = 68, 95 MXF_QUARK_CONTAINER_DURATION = 69, 96 MXF_QUARK_ESSENCE_CONTAINER = 70, 97 MXF_QUARK_CODEC = 71, 98 MXF_QUARK_GENERIC_PICTURE_ESSENCE_DESCRIPTOR = 72, 99 MXF_QUARK_SIGNAL_STANDARD = 73, 100 MXF_QUARK_FRAME_LAYOUT = 74, 101 MXF_QUARK_STORED_WIDTH = 75, 102 MXF_QUARK_STORED_HEIGHT = 76, 103 MXF_QUARK_STORED_F2_OFFSET = 77, 104 MXF_QUARK_SAMPLED_WIDTH = 78, 105 MXF_QUARK_SAMPLED_HEIGHT = 79, 106 MXF_QUARK_SAMPLED_X_OFFSET = 80, 107 MXF_QUARK_SAMPLED_Y_OFFSET = 81, 108 MXF_QUARK_DISPLAY_HEIGHT = 82, 109 MXF_QUARK_DISPLAY_WIDTH = 83, 110 MXF_QUARK_DISPLAY_X_OFFSET = 84, 111 MXF_QUARK_DISPLAY_Y_OFFSET = 85, 112 MXF_QUARK_DISPLAY_F2_OFFSET = 86, 113 MXF_QUARK_ASPECT_RATIO = 87, 114 MXF_QUARK_ACTIVE_FORMAT_DESCRIPTOR = 88, 115 MXF_QUARK_VIDEO_LINE_MAP_0 = 89, 116 MXF_QUARK_VIDEO_LINE_MAP_1 = 90, 117 MXF_QUARK_ALPHA_TRANSPARENCY = 91, 118 MXF_QUARK_CAPTURE_GAMMA = 92, 119 MXF_QUARK_IMAGE_ALIGNMENT_OFFSET = 93, 120 MXF_QUARK_IMAGE_START_OFFSET = 94, 121 MXF_QUARK_IMAGE_END_OFFSET = 95, 122 MXF_QUARK_FIELD_DOMINANCE = 96, 123 MXF_QUARK_PICTURE_ESSENCE_CODING = 97, 124 MXF_QUARK_CDCI_PICTURE_ESSENCE_DESCRIPTOR = 98, 125 MXF_QUARK_COMPONENT_DEPTH = 99, 126 MXF_QUARK_HORIZONTAL_SUBSAMPLING = 100, 127 MXF_QUARK_VERTICAL_SUBSAMPLING = 101, 128 MXF_QUARK_COLOR_SITING = 102, 129 MXF_QUARK_REVERSED_BYTE_ORDER = 103, 130 MXF_QUARK_PADDING_BITS = 104, 131 MXF_QUARK_ALPHA_SAMPLE_DEPTH = 105, 132 MXF_QUARK_BLACK_REF_LEVEL = 106, 133 MXF_QUARK_WHITE_REF_LEVEL = 107, 134 MXF_QUARK_COLOR_RANGE = 108, 135 MXF_QUARK_RGBA_PICTURE_ESSENCE_DESCRIPTOR = 109, 136 MXF_QUARK_COMPONENT_MAX_REF = 110, 137 MXF_QUARK_COMPONENT_MIN_REF = 111, 138 MXF_QUARK_ALPHA_MAX_REF = 112, 139 MXF_QUARK_ALPHA_MIN_REF = 113, 140 MXF_QUARK_SCANNING_DIRECTION = 114, 141 MXF_QUARK_PIXEL_LAYOUT = 115, 142 MXF_QUARK_GENERIC_SOUND_ESSENCE_DESCRIPTOR = 116, 143 MXF_QUARK_AUDIO_SAMPLING_RATE = 117, 144 MXF_QUARK_LOCKED = 118, 145 MXF_QUARK_AUDIO_REF_LEVEL = 119, 146 MXF_QUARK_ELECTRO_SPATIAL_FORMULATION = 120, 147 MXF_QUARK_CHANNEL_COUNT = 121, 148 MXF_QUARK_QUANTIZATION_BITS = 122, 149 MXF_QUARK_DIAL_NORM = 123, 150 MXF_QUARK_SOUND_ESSENCE_COMPRESSION = 124, 151 MXF_QUARK_GENERIC_DATA_ESSENCE_DESCRIPTOR = 125, 152 MXF_QUARK_DATA_ESSENCE_CODING = 126, 153 MXF_QUARK_MULTIPLE_DESCRIPTOR = 127, 154 MXF_QUARK_SUB_DESCRIPTORS = 128, 155 MXF_QUARK_TEXT_LOCATOR = 129, 156 MXF_QUARK_LOCATOR_NAME = 130, 157 MXF_QUARK_NETWORK_LOCATOR = 131, 158 MXF_QUARK_URL_STRING = 132, 159 MXF_QUARK_WAVE_AUDIO_ESSENCE_DESCRIPTOR = 133, 160 MXF_QUARK_BLOCK_ALIGN = 134, 161 MXF_QUARK_SEQUENCE_OFFSET = 135, 162 MXF_QUARK_AVG_BPS = 136, 163 MXF_QUARK_CHANNEL_ASSIGNMENT = 137, 164 MXF_QUARK_PEAK_ENVELOPE_VERSION = 138, 165 MXF_QUARK_PEAK_ENVELOPE_FORMAT = 139, 166 MXF_QUARK_POINTS_PER_PEAK_VALUE = 140, 167 MXF_QUARK_PEAK_ENVELOPE_BLOCK_SIZE = 141, 168 MXF_QUARK_PEAK_CHANNELS = 142, 169 MXF_QUARK_PEAK_FRAMES = 143, 170 MXF_QUARK_PEAK_OF_PEAKS_POSITION = 144, 171 MXF_QUARK_PEAK_ENVELOPE_TIMESTAMP = 145, 172 MXF_QUARK_PEAK_ENVELOPE_DATA = 146, 173 MXF_QUARK_AES3_AUDIO_ESSENCE_DESCRIPTOR = 147, 174 MXF_QUARK_EMPHASIS = 148, 175 MXF_QUARK_BLOCK_START_OFFSET = 149, 176 MXF_QUARK_AUXILIARY_BITS_MODE = 150, 177 MXF_QUARK_CHANNEL_STATUS_MODE = 151, 178 MXF_QUARK_FIXED_CHANNEL_STATUS_DATA = 152, 179 MXF_QUARK_USER_DATA_MODE = 153, 180 MXF_QUARK_FIXED_USER_DATA = 154, 181 MXF_QUARK_LINKED_TIMECODE_TRACK_ID = 155, 182 MXF_QUARK_STREAM_NUMBER = 156, 183 MXF_QUARK_MPEG_VIDEO_DESCRIPTOR = 157, 184 MXF_QUARK_SINGLE_SEQUENCE = 158, 185 MXF_QUARK_CONST_B_FRAMES = 159, 186 MXF_QUARK_CODED_CONTENT_TYPE = 160, 187 MXF_QUARK_LOW_DELAY = 161, 188 MXF_QUARK_CLOSED_GOP = 162, 189 MXF_QUARK_IDENTICAL_GOP = 163, 190 MXF_QUARK_MAX_GOP = 164, 191 MXF_QUARK_B_PICTURE_COUNT = 165, 192 MXF_QUARK_BITRATE = 166, 193 MXF_QUARK_PROFILE_AND_LEVEL = 167, 194 MXF_QUARK_FILLER = 168, 195 196 MXF_QUARK_MAX 197 } MXFQuarkId; 198 199 extern GQuark _mxf_quark_table[MXF_QUARK_MAX]; 200 201 #define MXF_QUARK(q) _mxf_quark_table[MXF_QUARK_##q] 202 203 void mxf_quark_initialize (void); 204 205 #endif /* __MXF_QUARK_H__ */ 206