[FFmpeg-devel] [PATCH 03/18] hevc: Add names for reserved NAL unit types

Mark Thompson sw at jkqxz.net
Mon Aug 21 01:41:31 EEST 2017


While not yet used, these NAL units do already have some defined
semantics and are referred to elsewhere.

(cherry picked from commit 3daaa4417317ca732fb00476fdb3308d784f87e4)
---
 libavcodec/hevc.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index de77d2ac43..f0fb919a7f 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -35,12 +35,28 @@ enum HEVCNALUnitType {
     HEVC_NAL_RADL_R     = 7,
     HEVC_NAL_RASL_N     = 8,
     HEVC_NAL_RASL_R     = 9,
+    HEVC_NAL_VCL_N10    = 10,
+    HEVC_NAL_VCL_R11    = 11,
+    HEVC_NAL_VCL_N12    = 12,
+    HEVC_NAL_VCL_R13    = 13,
+    HEVC_NAL_VCL_N14    = 14,
+    HEVC_NAL_VCL_R15    = 15,
     HEVC_NAL_BLA_W_LP   = 16,
     HEVC_NAL_BLA_W_RADL = 17,
     HEVC_NAL_BLA_N_LP   = 18,
     HEVC_NAL_IDR_W_RADL = 19,
     HEVC_NAL_IDR_N_LP   = 20,
     HEVC_NAL_CRA_NUT    = 21,
+    HEVC_NAL_IRAP_VCL22 = 22,
+    HEVC_NAL_IRAP_VCL23 = 23,
+    HEVC_NAL_RSV_VCL24  = 24,
+    HEVC_NAL_RSV_VCL25  = 25,
+    HEVC_NAL_RSV_VCL26  = 26,
+    HEVC_NAL_RSV_VCL27  = 27,
+    HEVC_NAL_RSV_VCL28  = 28,
+    HEVC_NAL_RSV_VCL29  = 29,
+    HEVC_NAL_RSV_VCL30  = 30,
+    HEVC_NAL_RSV_VCL31  = 31,
     HEVC_NAL_VPS        = 32,
     HEVC_NAL_SPS        = 33,
     HEVC_NAL_PPS        = 34,
-- 
2.11.0



More information about the ffmpeg-devel mailing list