Remove non-span NAL unit splitter and SPS parser

after cleaning up the Chromium dependency

BUG=webrtc:42225170

Change-Id: Icd3934ca51f829c55e061fc1943500435c845a8d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362569
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Commit-Queue: Philipp Hancke <phancke@meta.com>
Cr-Commit-Position: refs/heads/main@{#43053}
This commit is contained in:
Philipp Hancke 2024-09-17 08:46:40 -07:00 committed by WebRTC LUCI CQ
parent 4595711bf5
commit c1dc8abeeb
2 changed files with 0 additions and 11 deletions

View File

@ -66,12 +66,6 @@ struct NaluIndex {
RTC_EXPORT std::vector<NaluIndex> FindNaluIndices(
rtc::ArrayView<const uint8_t> buffer);
// TODO: bugs.webrtc.org/42225170 - Deprecate.
inline std::vector<NaluIndex> FindNaluIndices(const uint8_t* buffer,
size_t buffer_size) {
return FindNaluIndices(rtc::MakeArrayView(buffer, buffer_size));
}
// Get the NAL type from the header byte immediately following start sequence.
RTC_EXPORT NaluType ParseNaluType(uint8_t data);

View File

@ -44,11 +44,6 @@ class RTC_EXPORT SpsParser {
// Unpack RBSP and parse SPS state from the supplied buffer.
static std::optional<SpsState> ParseSps(rtc::ArrayView<const uint8_t> data);
// TODO: bugs.webrtc.org/42225170 - Deprecate.
static inline std::optional<SpsState> ParseSps(const uint8_t* data,
size_t length) {
return ParseSps(rtc::MakeArrayView(data, length));
}
protected:
// Parse the SPS state, up till the VUI part, for a buffer where RBSP