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