| Index: webrtc/common_video/h264/pps_parser.h
|
| diff --git a/webrtc/common_video/h264/pps_parser.h b/webrtc/common_video/h264/pps_parser.h
|
| index c84f2102782e09a443f812e4e2b99768d148228c..6c896fe8ea22b325297f30099936a4e8b88f354c 100644
|
| --- a/webrtc/common_video/h264/pps_parser.h
|
| +++ b/webrtc/common_video/h264/pps_parser.h
|
| @@ -40,6 +40,11 @@ class PpsParser {
|
| // Unpack RBSP and parse PPS state from the supplied buffer.
|
| static rtc::Optional<PpsState> ParsePps(const uint8_t* data, size_t length);
|
|
|
| + static bool ParsePpsIds(const uint8_t* data,
|
| + size_t length,
|
| + uint32_t* pps_id,
|
| + uint32_t* sps_id);
|
| +
|
| static rtc::Optional<uint32_t> ParsePpsIdFromSlice(const uint8_t* data,
|
| size_t length);
|
|
|
| @@ -47,6 +52,9 @@ class PpsParser {
|
| // Parse the PPS state, for a bit buffer where RBSP decoding has already been
|
| // performed.
|
| static rtc::Optional<PpsState> ParseInternal(rtc::BitBuffer* bit_buffer);
|
| + static bool ParsePpsIdsInternal(rtc::BitBuffer* bit_buffer,
|
| + uint32_t* pps_id,
|
| + uint32_t* sps_id);
|
| };
|
|
|
| } // namespace webrtc
|
|
|