summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/common_video/h265/h265_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/common_video/h265/h265_common.h')
-rw-r--r--third_party/libwebrtc/common_video/h265/h265_common.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/third_party/libwebrtc/common_video/h265/h265_common.h b/third_party/libwebrtc/common_video/h265/h265_common.h
index 643726f701..d32de7f059 100644
--- a/third_party/libwebrtc/common_video/h265/h265_common.h
+++ b/third_party/libwebrtc/common_video/h265/h265_common.h
@@ -55,11 +55,15 @@ enum NaluType : uint8_t {
kAud = 35,
kPrefixSei = 39,
kSuffixSei = 40,
+ // Aggregation packets, refer to section 4.4.2 in RFC 7798.
kAp = 48,
- kFu = 49
+ // Fragmentation units, refer to section 4.4.3 in RFC 7798.
+ kFu = 49,
+ // PACI packets, refer to section 4.4.4 in RFC 7798.
+ kPaci = 50
};
-// Slice type definition. See table 7-7 of the H265 spec
+// Slice type definition. See table 7-7 of the H.265 spec
enum SliceType : uint8_t { kB = 0, kP = 1, kI = 2 };
struct NaluIndex {
@@ -78,7 +82,7 @@ std::vector<NaluIndex> FindNaluIndices(const uint8_t* buffer,
// Get the NAL type from the header byte immediately following start sequence.
NaluType ParseNaluType(uint8_t data);
-// Methods for parsing and writing RBSP. See section 7.4.2 of the H265 spec.
+// Methods for parsing and writing RBSP. See section 7.4.2 of the H.265 spec.
//
// The following sequences are illegal, and need to be escaped when encoding:
// 00 00 00 -> 00 00 03 00