[FFmpeg-devel] [PATCH v3 04/11] avcodec: add SEI enum for vvc

Nuo Mi nuomi2021 at gmail.com
Mon Jan 11 18:33:12 EET 2021


---
 libavcodec/vvc_sei.h | 47 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 libavcodec/vvc_sei.h

diff --git a/libavcodec/vvc_sei.h b/libavcodec/vvc_sei.h
new file mode 100644
index 0000000000..90724669de
--- /dev/null
+++ b/libavcodec/vvc_sei.h
@@ -0,0 +1,47 @@
+/*
+ * H.266/VVC Supplementary Enhancement Information messages
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_VVC_SEI_H
+#define AVCODEC_VVC_SEI_H
+
+/**
+ * SEI message types
+ */
+typedef enum {
+    VVC_SEI_TYPE_BUFFERING_PERIOD                     = 0,
+    VVC_SEI_TYPE_PICTURE_TIMING                       = 1,
+    VVC_SEI_TYPE_PAN_SCAN_RECT                        = 2,
+    VVC_SEI_TYPE_FILLER_PAYLOAD                       = 3,
+    VVC_SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35       = 4,
+    VVC_SEI_TYPE_USER_DATA_UNREGISTERED               = 5,
+    VVC_SEI_TYPE_FILM_GRAIN_CHARACTERISTICS           = 19,
+    VVC_SEI_TYPE_FRAME_PACKING                        = 45,
+    VVC_SEI_TYPE_PARAMETER_SETS_INCLUSION_INDICATION  = 129,
+    VVC_SEI_TYPE_DECODING_UNIT_INFO                   = 130,
+    VVC_SEI_TYPE_DECODED_PICTURE_HASH                 = 132,
+    VVC_SEI_TYPE_SCALABLE_NESTING                     = 133,
+    VVC_SEI_TYPE_REGION_REFRESH_INFO                  = 134,
+    VVC_SEI_TYPE_TIME_CODE                            = 136,
+    VVC_SEI_TYPE_MASTERING_DISPLAY_INFO               = 137,
+    VVC_SEI_TYPE_CONTENT_LIGHT_LEVEL_INFO             = 144,
+    VVC_SEI_TYPE_ALTERNATIVE_TRANSFER_CHARACTERISTICS = 147,
+} VVC_SEI_Type;
+
+#endif /* AVCODEC_VVC_SEI_H */
-- 
2.25.1



More information about the ffmpeg-devel mailing list