Index: webrtc/base/bitbuffer.h |
diff --git a/webrtc/base/bitbuffer.h b/webrtc/base/bitbuffer.h |
index 8ea044e04129dd7bea287d56c81d886ccc2a42fd..b2baaa90958acb6414d356557789ffd8d0ffc022 100644 |
--- a/webrtc/base/bitbuffer.h |
+++ b/webrtc/base/bitbuffer.h |
@@ -109,6 +109,10 @@ class BitBufferWriter : public BitBuffer { |
// Writes the exponential golomb encoded version of the supplied value. |
// Returns false if there isn't enough room left for the value. |
bool WriteExponentialGolomb(uint32_t val); |
+ // Writes the signed exponential golomb version of the supplied value. |
+ // Signed exponential golomb values are just the unsigned values mapped to the |
+ // sequence 0, 1, -1, 2, -2, etc. in order. |
+ bool WriteSignedExponentialGolomb(int32_t val); |
private: |
// The buffer, as a writable array. |