Home
last modified time | relevance | path

Searched refs:ReadBits (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dh264_bitstream_parser.cc137 sps_parser.ReadBits(&sps_.separate_colour_plane_flag, 1)); in ParseSpsNalu()
144 RETURN_FALSE_ON_FAIL(sps_parser.ReadBits(&bits_tmp, 1)); in ParseSpsNalu()
148 sps_parser.ReadBits(&seq_scaling_matrix_present_flag, 1)); in ParseSpsNalu()
155 sps_parser.ReadBits(&seq_scaling_list_present_flags, 8)); in ParseSpsNalu()
158 sps_parser.ReadBits(&seq_scaling_list_present_flags, 12)); in ParseSpsNalu()
179 sps_parser.ReadBits(&sps_.delta_pic_order_always_zero_flag, 1)); in ParseSpsNalu()
196 RETURN_FALSE_ON_FAIL(sps_parser.ReadBits(&bits_tmp, 1)); in ParseSpsNalu()
202 RETURN_FALSE_ON_FAIL(sps_parser.ReadBits(&sps_.frame_mbs_only_flag, 1)); in ParseSpsNalu()
225 RETURN_FALSE_ON_FAIL(parser.ReadBits(&entropy_coding_mode_flag, 1)); in ParsePpsNalu()
232 parser.ReadBits(&bottom_field_pic_order_in_frame_present_flag, 1)); in ParsePpsNalu()
[all …]
Drtp_format_vp9.cc315 RETURN_FALSE_ON_ERROR(parser->ReadBits(&m_bit, 1)); in ParsePictureId()
317 RETURN_FALSE_ON_ERROR(parser->ReadBits(&picture_id, 15)); in ParsePictureId()
320 RETURN_FALSE_ON_ERROR(parser->ReadBits(&picture_id, 7)); in ParsePictureId()
335 RETURN_FALSE_ON_ERROR(parser->ReadBits(&t, 3)); in ParseLayerInfoCommon()
336 RETURN_FALSE_ON_ERROR(parser->ReadBits(&u_bit, 1)); in ParseLayerInfoCommon()
337 RETURN_FALSE_ON_ERROR(parser->ReadBits(&s, 3)); in ParseLayerInfoCommon()
338 RETURN_FALSE_ON_ERROR(parser->ReadBits(&d_bit, 1)); in ParseLayerInfoCommon()
390 RETURN_FALSE_ON_ERROR(parser->ReadBits(&p_diff, 7)); in ParseRefIndices()
391 RETURN_FALSE_ON_ERROR(parser->ReadBits(&n_bit, 1)); in ParseRefIndices()
427 RETURN_FALSE_ON_ERROR(parser->ReadBits(&n_s, 3)); in ParseSsData()
[all …]
Dh264_sps_parser.cc98 RETURN_FALSE_ON_FAIL(parser.ReadBits(&separate_colour_plane_flag, 1)); in Parse()
108 RETURN_FALSE_ON_FAIL(parser.ReadBits(&seq_scaling_matrix_present_flag, 1)); in Parse()
115 parser.ReadBits(&seq_scaling_list_present_flags, 8)); in Parse()
118 parser.ReadBits(&seq_scaling_list_present_flags, 12)); in Parse()
172 RETURN_FALSE_ON_FAIL(parser.ReadBits(&frame_mbs_only_flag, 1)); in Parse()
188 RETURN_FALSE_ON_FAIL(parser.ReadBits(&frame_cropping_flag, 1)); in Parse()
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRDecodedBitStreamParser.cpp54 int32_t iTemp1 = bits.ReadBits(4, e); in Decode()
68 bits.ReadBits(16, e); in Decode()
77 bits.ReadBits(4, e); in Decode()
82 int32_t count = bits.ReadBits(numBits, e); in Decode()
118 int32_t twoBytes = bits->ReadBits(13, e); in DecodeGBKSegment()
138 int32_t twoBytes = bits->ReadBits(13, e); in DecodeKanjiSegment()
171 readBytes[i] = (uint8_t)bits->ReadBits(8, e); in DecodeByteSegment()
186 int32_t nextTwoCharsBits = bits->ReadBits(11, e); in DecodeAlphanumericSegment()
195 int32_t itemp = bits->ReadBits(6, e); in DecodeAlphanumericSegment()
217 int32_t threeDigitsBits = bits->ReadBits(10, e); in DecodeNumericSegment()
[all …]
/external/webrtc/webrtc/base/
Dbitbuffer_unittest.cc111 TEST(BitBufferTest, ReadBits) { in TEST() argument
118 EXPECT_TRUE(buffer.ReadBits(&val, 3)); in TEST()
121 EXPECT_TRUE(buffer.ReadBits(&val, 2)); in TEST()
124 EXPECT_TRUE(buffer.ReadBits(&val, 7)); in TEST()
127 EXPECT_TRUE(buffer.ReadBits(&val, 2)); in TEST()
130 EXPECT_TRUE(buffer.ReadBits(&val, 1)); in TEST()
133 EXPECT_TRUE(buffer.ReadBits(&val, 1)); in TEST()
137 EXPECT_FALSE(buffer.ReadBits(&val, 1)); in TEST()
263 EXPECT_TRUE(buffer.ReadBits(&val, 3)); in TEST()
265 EXPECT_TRUE(buffer.ReadBits(&val, 2)); in TEST()
[all …]
Dbitbuffer.cc88 if (!ReadBits(&bit_val, sizeof(uint8_t) * 8)) { in ReadUInt8()
98 if (!ReadBits(&bit_val, sizeof(uint16_t) * 8)) { in ReadUInt16()
107 return ReadBits(val, sizeof(uint32_t) * 8); in ReadUInt32()
140 bool BitBuffer::ReadBits(uint32_t* val, size_t bit_count) { in ReadBits() function in rtc::BitBuffer
182 if (value_bit_count > 32 || !ReadBits(val, value_bit_count)) { in ReadExponentialGolomb()
Dbitbuffer.h47 bool ReadBits(uint32_t* val, size_t bit_count);
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixDecodedBitStreamParser.cpp111 int32_t oneByte = bits->ReadBits(8, e); in DecodeAsciiSegment()
187 int32_t firstByte = bits->ReadBits(8, e); in DecodeC40Segment()
192 int32_t tempp = bits->ReadBits(8, e); in DecodeC40Segment()
274 int32_t firstByte = bits->ReadBits(8, e); in DecodeTextSegment()
279 int32_t inTp = bits->ReadBits(8, e); in DecodeTextSegment()
363 int32_t firstByte = bits->ReadBits(8, e); in DecodeAnsiX12Segment()
368 int32_t iTemp1 = bits->ReadBits(8, e); in DecodeAnsiX12Segment()
417 int32_t edifactValue = bits->ReadBits(6, e); in DecodeEdifactSegment()
443 int32_t iTmp = bits->ReadBits(8, e); in DecodeBase256Segment()
452 int32_t iTmp3 = bits->ReadBits(8, e); in DecodeBase256Segment()
[all …]
/external/pdfium/xfa/src/fxbarcode/common/
DBC_CommonBitSource.h13 int32_t ReadBits(int32_t numBits, int32_t& e);
DBC_CommonBitSource.cpp31 int32_t CBC_CommonBitSource::ReadBits(int32_t numBits, int32_t& e) { in ReadBits() function in CBC_CommonBitSource