Home
last modified time | relevance | path

Searched refs:ConsumeBits (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/base/
Dbitbuffer_unittest.cc19 TEST(BitBufferTest, ConsumeBits) { in TEST() argument
24 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()
27 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()
30 EXPECT_TRUE(buffer.ConsumeBits(15)); in TEST()
33 EXPECT_TRUE(buffer.ConsumeBits(37)); in TEST()
37 EXPECT_FALSE(buffer.ConsumeBits(32 * 8)); in TEST()
64 EXPECT_TRUE(buffer.ConsumeBits(4)); in TEST()
99 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()
284 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()
320 EXPECT_TRUE(buffer.ConsumeBits(3)); in TEST()
Dbitbuffer.cc141 return PeekBits(val, bit_count) && ConsumeBits(bit_count); in ReadBits()
145 return ConsumeBits(byte_count * 8); in ConsumeBytes()
148 bool BitBuffer::ConsumeBits(size_t bit_count) { in ConsumeBits() function in rtc::BitBuffer
172 ConsumeBits(1); in ReadExponentialGolomb()
258 return ConsumeBits(total_bits); in WriteBits()
279 return ConsumeBits(total_bits); in WriteBits()
Dbitbuffer.h73 bool ConsumeBits(size_t bit_count);
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dh264_sps_parser.cc105 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()
139 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()
156 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()
175 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()
178 RETURN_FALSE_ON_FAIL(parser.ConsumeBits(1)); in Parse()
Drtp_format_vp9.cc430 RETURN_FALSE_ON_ERROR(parser->ConsumeBits(3)); in ParseSsData()
451 RETURN_FALSE_ON_ERROR(parser->ConsumeBits(2)); in ParseSsData()
685 RETURN_FALSE_ON_ERROR(parser.ConsumeBits(1)); in Parse()