Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dbit_buffer.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()
144 bool BitBuffer::ReadBits(uint32_t* val, size_t bit_count) { in ReadBits()
148 bool BitBuffer::ConsumeBytes(size_t byte_count) { in ConsumeBytes()
152 bool BitBuffer::ConsumeBits(size_t bit_count) { in ConsumeBits()
162 bool BitBuffer::ReadNonSymmetric(uint32_t* val, uint32_t num_values) { in ReadNonSymmetric()
[all …]
Dbit_buffer_unittest.cc26 BitBuffer buffer(bytes, 32); in TEST()
51 BitBuffer buffer(bytes, 8); in TEST()
68 BitBuffer buffer(bytes, 9); in TEST()
103 BitBuffer buffer(bytes, 8); in TEST()
122 BitBuffer buffer(bytes, 2); in TEST()
186 BitBuffer reader(bytes, 2); in TEST()
245 rtc::BitBuffer reader(bytes, 2); in TEST()
259 BitBuffer reader(bytes, 2); in TEST()
293 BitBuffer buffer(reinterpret_cast<const uint8_t*>(byteBuffer.Data()), in TEST()
320 BitBuffer buffer(&golomb_bits[i], 1); in TEST()
[all …]
Dbit_buffer.h28 class BitBuffer {
30 BitBuffer(const uint8_t* bytes, size_t byte_count);
100 RTC_DISALLOW_COPY_AND_ASSIGN(BitBuffer);
106 class BitBufferWriter : public BitBuffer {
/external/webrtc/modules/video_coding/utility/
Dvp9_uncompressed_header_parser.cc28 bool Vp9ReadProfile(rtc::BitBuffer* br, uint8_t* profile) { in Vp9ReadProfile()
45 bool Vp9ReadSyncCode(rtc::BitBuffer* br) { in Vp9ReadSyncCode()
55 bool Vp9ReadColorConfig(rtc::BitBuffer* br, in Vp9ReadColorConfig()
121 bool Vp9ReadFrameSize(rtc::BitBuffer* br, FrameInfo* frame_info) { in Vp9ReadFrameSize()
133 bool Vp9ReadRenderSize(rtc::BitBuffer* br, FrameInfo* frame_info) { in Vp9ReadRenderSize()
152 bool Vp9ReadFrameSizeFromRefs(rtc::BitBuffer* br, FrameInfo* frame_info) { in Vp9ReadFrameSizeFromRefs()
169 bool Vp9ReadInterpolationFilter(rtc::BitBuffer* br) { in Vp9ReadInterpolationFilter()
178 bool Vp9ReadLoopfilter(rtc::BitBuffer* br) { in Vp9ReadLoopfilter()
209 rtc::BitBuffer br(buf, length); in Parse()
/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_vp9.cc40 bool ParsePictureId(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParsePictureId()
61 bool ParseLayerInfoCommon(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseLayerInfoCommon()
84 bool ParseLayerInfoNonFlexibleMode(rtc::BitBuffer* parser, in ParseLayerInfoNonFlexibleMode()
92 bool ParseLayerInfo(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseLayerInfo()
109 bool ParseRefIndices(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseRefIndices()
155 bool ParseSsData(rtc::BitBuffer* parser, RTPVideoHeaderVP9* vp9) { in ParseSsData()
215 rtc::BitBuffer parser(rtp_payload.data(), rtp_payload.size()); in ParseRtpPayload()
Drtp_dependency_descriptor_reader.h64 rtc::BitBuffer buffer_;
/external/webrtc/common_video/h264/
Dpps_parser.h17 class BitBuffer; variable
54 static absl::optional<PpsState> ParseInternal(rtc::BitBuffer* bit_buffer);
55 static bool ParsePpsIdsInternal(rtc::BitBuffer* bit_buffer,
Dpps_parser.cc42 rtc::BitBuffer bit_buffer(unpacked_buffer.data(), unpacked_buffer.size()); in ParsePps()
56 rtc::BitBuffer bit_buffer(unpacked_buffer.data(), unpacked_buffer.size()); in ParsePpsIds()
63 rtc::BitBuffer slice_reader(unpacked_buffer.data(), unpacked_buffer.size()); in ParsePpsIdFromSlice()
80 rtc::BitBuffer* bit_buffer) { in ParseInternal()
189 bool PpsParser::ParsePpsIdsInternal(rtc::BitBuffer* bit_buffer, in ParsePpsIdsInternal()
Dsps_vui_rewriter.cc76 rtc::BitBuffer* source,
80 bool CopyHrdParameters(rtc::BitBuffer* source,
88 rtc::BitBuffer* source,
92 bool CopyRemainingBits(rtc::BitBuffer* source,
134 rtc::BitBuffer source_buffer(rbsp_buffer.data(), rbsp_buffer.size()); in ParseAndRewriteSps()
283 rtc::BitBuffer* source, in CopyAndRewriteVui()
426 bool CopyHrdParameters(rtc::BitBuffer* source, in CopyHrdParameters()
513 rtc::BitBuffer* source, in CopyOrRewriteVideoSignalTypeInfo()
607 bool CopyRemainingBits(rtc::BitBuffer* source, in CopyRemainingBits()
Dsps_parser.h17 class BitBuffer; variable
51 static absl::optional<SpsState> ParseSpsUpToVui(rtc::BitBuffer* buffer);
Dsps_parser.cc45 rtc::BitBuffer bit_buffer(unpacked_buffer.data(), unpacked_buffer.size()); in ParseSps()
50 rtc::BitBuffer* buffer) { in ParseSpsUpToVui()
Dh264_bitstream_parser.cc55 rtc::BitBuffer slice_reader(slice_rbsp.data() + H264::kNaluTypeSize, in ParseNonParameterSetNalu()
/external/libcups/filter/
Drastertohp.c30 *BitBuffer; /* Buffer for output bits */ variable
335 BitBuffer = malloc(ColorBits * ((header->cupsWidth + 7) / 8)); in StartPage()
337 BitBuffer = NULL; in StartPage()
380 if (BitBuffer) in EndPage()
381 free(BitBuffer); in EndPage()
598 plane_ptr = Planes[plane], bit_ptr = BitBuffer; in OutputLine()
623 CompressData(BitBuffer, bytes, 'V', header->cupsCompression); in OutputLine()
624 CompressData(BitBuffer + bytes, bytes, plane < (NumPlanes - 1) ? 'V' : 'W', in OutputLine()
/external/webrtc/logging/rtc_event_log/encoder/
Dvar_int.h44 size_t DecodeVarInt(rtc::BitBuffer* input, uint64_t* output);
Dvar_int.cc60 size_t DecodeVarInt(rtc::BitBuffer* input, uint64_t* output) { in DecodeVarInt()
Ddelta_encoding.cc639 FixedLengthDeltaDecoder(std::unique_ptr<rtc::BitBuffer> reader,
669 const std::unique_ptr<rtc::BitBuffer> reader_;
691 rtc::BitBuffer reader(reinterpret_cast<const uint8_t*>(&input[0]), in IsSuitableDecoderFor()
726 auto reader = std::make_unique<rtc::BitBuffer>( in Create()
798 std::unique_ptr<rtc::BitBuffer> reader, in FixedLengthDeltaDecoder()