1 /* 2 * This file is part of FFmpeg. 3 * 4 * FFmpeg is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * FFmpeg 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 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with FFmpeg; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 #ifndef AVCODEC_SEI_H 20 #define AVCODEC_SEI_H 21 22 // SEI payload types form a common namespace between the H.264, H.265 23 // and H.266 standards. A given payload type always has the same 24 // meaning, but some names have different payload types in different 25 // standards (e.g. scalable-nesting is 30 in H.264 but 133 in H.265). 26 // The content of the payload data depends on the standard, though 27 // many generic parts have the same interpretation everywhere (such as 28 // mastering-display-colour-volume and user-data-unregistered). 29 enum { 30 SEI_TYPE_BUFFERING_PERIOD = 0, 31 SEI_TYPE_PIC_TIMING = 1, 32 SEI_TYPE_PAN_SCAN_RECT = 2, 33 SEI_TYPE_FILLER_PAYLOAD = 3, 34 SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35 = 4, 35 SEI_TYPE_USER_DATA_UNREGISTERED = 5, 36 SEI_TYPE_RECOVERY_POINT = 6, 37 SEI_TYPE_DEC_REF_PIC_MARKING_REPETITION = 7, 38 SEI_TYPE_SPARE_PIC = 8, 39 SEI_TYPE_SCENE_INFO = 9, 40 SEI_TYPE_SUB_SEQ_INFO = 10, 41 SEI_TYPE_SUB_SEQ_LAYER_CHARACTERISTICS = 11, 42 SEI_TYPE_SUB_SEQ_CHARACTERISTICS = 12, 43 SEI_TYPE_FULL_FRAME_FREEZE = 13, 44 SEI_TYPE_FULL_FRAME_FREEZE_RELEASE = 14, 45 SEI_TYPE_FULL_FRAME_SNAPSHOT = 15, 46 SEI_TYPE_PROGRESSIVE_REFINEMENT_SEGMENT_START = 16, 47 SEI_TYPE_PROGRESSIVE_REFINEMENT_SEGMENT_END = 17, 48 SEI_TYPE_MOTION_CONSTRAINED_SLICE_GROUP_SET = 18, 49 SEI_TYPE_FILM_GRAIN_CHARACTERISTICS = 19, 50 SEI_TYPE_DEBLOCKING_FILTER_DISPLAY_PREFERENCE = 20, 51 SEI_TYPE_STEREO_VIDEO_INFO = 21, 52 SEI_TYPE_POST_FILTER_HINT = 22, 53 SEI_TYPE_TONE_MAPPING_INFO = 23, 54 SEI_TYPE_SCALABILITY_INFO = 24, 55 SEI_TYPE_SUB_PIC_SCALABLE_LAYER = 25, 56 SEI_TYPE_NON_REQUIRED_LAYER_REP = 26, 57 SEI_TYPE_PRIORITY_LAYER_INFO = 27, 58 SEI_TYPE_LAYERS_NOT_PRESENT_4 = 28, 59 SEI_TYPE_LAYER_DEPENDENCY_CHANGE = 29, 60 SEI_TYPE_SCALABLE_NESTING_4 = 30, 61 SEI_TYPE_BASE_LAYER_TEMPORAL_HRD = 31, 62 SEI_TYPE_QUALITY_LAYER_INTEGRITY_CHECK = 32, 63 SEI_TYPE_REDUNDANT_PIC_PROPERTY = 33, 64 SEI_TYPE_TL0_DEP_REP_INDEX = 34, 65 SEI_TYPE_TL_SWITCHING_POINT = 35, 66 SEI_TYPE_PARALLEL_DECODING_INFO = 36, 67 SEI_TYPE_MVC_SCALABLE_NESTING = 37, 68 SEI_TYPE_VIEW_SCALABILITY_INFO = 38, 69 SEI_TYPE_MULTIVIEW_SCENE_INFO_4 = 39, 70 SEI_TYPE_MULTIVIEW_ACQUISITION_INFO_4 = 40, 71 SEI_TYPE_NON_REQUIRED_VIEW_COMPONENT = 41, 72 SEI_TYPE_VIEW_DEPENDENCY_CHANGE = 42, 73 SEI_TYPE_OPERATION_POINTS_NOT_PRESENT = 43, 74 SEI_TYPE_BASE_VIEW_TEMPORAL_HRD = 44, 75 SEI_TYPE_FRAME_PACKING_ARRANGEMENT = 45, 76 SEI_TYPE_MULTIVIEW_VIEW_POSITION_4 = 46, 77 SEI_TYPE_DISPLAY_ORIENTATION = 47, 78 SEI_TYPE_MVCD_SCALABLE_NESTING = 48, 79 SEI_TYPE_MVCD_VIEW_SCALABILITY_INFO = 49, 80 SEI_TYPE_DEPTH_REPRESENTATION_INFO_4 = 50, 81 SEI_TYPE_THREE_DIMENSIONAL_REFERENCE_DISPLAYS_INFO_4 = 51, 82 SEI_TYPE_DEPTH_TIMING = 52, 83 SEI_TYPE_DEPTH_SAMPLING_INFO = 53, 84 SEI_TYPE_CONSTRAINED_DEPTH_PARAMETER_SET_IDENTIFIER = 54, 85 SEI_TYPE_GREEN_METADATA = 56, 86 SEI_TYPE_STRUCTURE_OF_PICTURES_INFO = 128, 87 SEI_TYPE_ACTIVE_PARAMETER_SETS = 129, 88 SEI_TYPE_PARAMETER_SETS_INCLUSION_INDICATION = SEI_TYPE_ACTIVE_PARAMETER_SETS, 89 SEI_TYPE_DECODING_UNIT_INFO = 130, 90 SEI_TYPE_TEMPORAL_SUB_LAYER_ZERO_IDX = 131, 91 SEI_TYPE_DECODED_PICTURE_HASH = 132, 92 SEI_TYPE_SCALABLE_NESTING_5 = 133, 93 SEI_TYPE_REGION_REFRESH_INFO = 134, 94 SEI_TYPE_NO_DISPLAY = 135, 95 SEI_TYPE_TIME_CODE = 136, 96 SEI_TYPE_MASTERING_DISPLAY_COLOUR_VOLUME = 137, 97 SEI_TYPE_SEGMENTED_RECT_FRAME_PACKING_ARRANGEMENT = 138, 98 SEI_TYPE_TEMPORAL_MOTION_CONSTRAINED_TILE_SETS = 139, 99 SEI_TYPE_CHROMA_RESAMPLING_FILTER_HINT = 140, 100 SEI_TYPE_KNEE_FUNCTION_INFO = 141, 101 SEI_TYPE_COLOUR_REMAPPING_INFO = 142, 102 SEI_TYPE_DEINTERLACED_FIELD_IDENTIFICATION = 143, 103 SEI_TYPE_CONTENT_LIGHT_LEVEL_INFO = 144, 104 SEI_TYPE_DEPENDENT_RAP_INDICATION = 145, 105 SEI_TYPE_CODED_REGION_COMPLETION = 146, 106 SEI_TYPE_ALTERNATIVE_TRANSFER_CHARACTERISTICS = 147, 107 SEI_TYPE_AMBIENT_VIEWING_ENVIRONMENT = 148, 108 SEI_TYPE_CONTENT_COLOUR_VOLUME = 149, 109 SEI_TYPE_EQUIRECTANGULAR_PROJECTION = 150, 110 SEI_TYPE_CUBEMAP_PROJECTION = 151, 111 SEI_TYPE_FISHEYE_VIDEO_INFO = 152, 112 SEI_TYPE_SPHERE_ROTATION = 154, 113 SEI_TYPE_REGIONWISE_PACKING = 155, 114 SEI_TYPE_OMNI_VIEWPORT = 156, 115 SEI_TYPE_REGIONAL_NESTING = 157, 116 SEI_TYPE_MCTS_EXTRACTION_INFO_SETS = 158, 117 SEI_TYPE_MCTS_EXTRACTION_INFO_NESTING = 159, 118 SEI_TYPE_LAYERS_NOT_PRESENT_5 = 160, 119 SEI_TYPE_INTER_LAYER_CONSTRAINED_TILE_SETS = 161, 120 SEI_TYPE_BSP_NESTING = 162, 121 SEI_TYPE_BSP_INITIAL_ARRIVAL_TIME = 163, 122 SEI_TYPE_SUB_BITSTREAM_PROPERTY = 164, 123 SEI_TYPE_ALPHA_CHANNEL_INFO = 165, 124 SEI_TYPE_OVERLAY_INFO = 166, 125 SEI_TYPE_TEMPORAL_MV_PREDICTION_CONSTRAINTS = 167, 126 SEI_TYPE_FRAME_FIELD_INFO = 168, 127 SEI_TYPE_THREE_DIMENSIONAL_REFERENCE_DISPLAYS_INFO = 176, 128 SEI_TYPE_DEPTH_REPRESENTATION_INFO_5 = 177, 129 SEI_TYPE_MULTIVIEW_SCENE_INFO_5 = 178, 130 SEI_TYPE_MULTIVIEW_ACQUISITION_INFO_5 = 179, 131 SEI_TYPE_MULTIVIEW_VIEW_POSITION_5 = 180, 132 SEI_TYPE_ALTERNATIVE_DEPTH_INFO = 181, 133 SEI_TYPE_SEI_MANIFEST = 200, 134 SEI_TYPE_SEI_PREFIX_INDICATION = 201, 135 SEI_TYPE_ANNOTATED_REGIONS = 202, 136 SEI_TYPE_SUBPIC_LEVEL_INFO = 203, 137 SEI_TYPE_SAMPLE_ASPECT_RATIO_INFO = 204, 138 }; 139 140 #endif /* AVCODEC_SEI_H */ 141