Home
last modified time | relevance | path

Searched refs:BitBuffer (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/base/
Dbitbuffer.cc76 BitBuffer::BitBuffer(const uint8_t* bytes, size_t byte_count) in BitBuffer() function in rtc::BitBuffer
82 uint64_t BitBuffer::RemainingBitCount() const { in RemainingBitCount()
86 bool BitBuffer::ReadUInt8(uint8_t* val) { in ReadUInt8()
96 bool BitBuffer::ReadUInt16(uint16_t* val) { in ReadUInt16()
106 bool BitBuffer::ReadUInt32(uint32_t* val) { in ReadUInt32()
110 bool BitBuffer::PeekBits(uint32_t* val, size_t bit_count) { in PeekBits()
140 bool BitBuffer::ReadBits(uint32_t* val, size_t bit_count) { in ReadBits()
144 bool BitBuffer::ConsumeBytes(size_t byte_count) { in ConsumeBytes()
148 bool BitBuffer::ConsumeBits(size_t bit_count) { in ConsumeBits()
158 bool BitBuffer::ReadExponentialGolomb(uint32_t* val) { in ReadExponentialGolomb()
[all …]
Dbitbuffer.h28 class BitBuffer {
30 BitBuffer(const uint8_t* bytes, size_t byte_count);
88 RTC_DISALLOW_COPY_AND_ASSIGN(BitBuffer);
94 class BitBufferWriter : public BitBuffer {
Dbitbuffer_unittest.cc21 BitBuffer buffer(bytes, 32); in TEST()
46 BitBuffer buffer(bytes, 8); in TEST()
63 BitBuffer buffer(bytes, 9); in TEST()
98 BitBuffer buffer(bytes, 8); in TEST()
117 BitBuffer buffer(bytes, 2); in TEST()
193 BitBuffer buffer(reinterpret_cast<const uint8_t*>(byteBuffer.Data()), in TEST()
220 BitBuffer buffer(&golomb_bits[i], 1); in TEST()
233 BitBuffer buffer(bytes, 1); in TEST()
237 BitBuffer longer_buffer(bytes, 2); in TEST()
240 BitBuffer longest_buffer(bytes, 3); in TEST()
/external/libcups/filter/
Drastertohp.c36 *BitBuffer; /* Buffer for output bits */ variable
341 BitBuffer = malloc(ColorBits * ((header->cupsWidth + 7) / 8)); in StartPage()
343 BitBuffer = NULL; in StartPage()
386 if (BitBuffer) in EndPage()
387 free(BitBuffer); in EndPage()
604 plane_ptr = Planes[plane], bit_ptr = BitBuffer; in OutputLine()
629 CompressData(BitBuffer, bytes, 'V', header->cupsCompression); in OutputLine()
630 CompressData(BitBuffer + bytes, bytes, plane < (NumPlanes - 1) ? 'V' : 'W', in OutputLine()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9.cc312 bool ParsePictureId(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParsePictureId()
333 bool ParseLayerInfoCommon(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseLayerInfoCommon()
354 bool ParseLayerInfoNonFlexibleMode(rtc::BitBuffer* parser, in ParseLayerInfoNonFlexibleMode()
362 bool ParseLayerInfo(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseLayerInfo()
379 bool ParseRefIndices(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseRefIndices()
425 bool ParseSsData(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseSsData()
676 rtc::BitBuffer parser(payload, payload_length); in Parse()
Dh264_bitstream_parser.h18 class BitBuffer; variable
Dh264_bitstream_parser.cc108 rtc::BitBuffer sps_parser(reinterpret_cast<const uint8_t*>(sps_rbsp->Data()), in ParseSpsNalu()
214 rtc::BitBuffer parser(reinterpret_cast<const uint8_t*>(buffer->Data()), in ParsePpsNalu()
322 rtc::BitBuffer slice_reader( in ParseNonParameterSetNalu()
Dh264_sps_parser.cc65 rtc::BitBuffer parser(reinterpret_cast<const uint8_t*>(rbsp_buffer.Data()), in Parse()