Home
last modified time | relevance | path

Searched refs:getBits (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2PSExtractor.cpp282 unsigned packet_startcode_prefix = br.getBits(24); in dequeuePES()
298 unsigned stream_id = br.getBits(8); in dequeuePES()
301 /* unsigned PES_packet_length = */br.getBits(16); in dequeuePES()
312 /* unsigned current_next_indicator = */br.getBits(1); in dequeuePES()
313 /* unsigned reserved = */br.getBits(2); in dequeuePES()
314 /* unsigned program_stream_map_version = */br.getBits(5); in dequeuePES()
315 /* unsigned reserved = */br.getBits(7); in dequeuePES()
316 /* unsigned marker_bit = */br.getBits(1); in dequeuePES()
317 unsigned program_stream_info_length = br.getBits(16); in dequeuePES()
325 unsigned descriptor_tag = br.getBits(8); in dequeuePES()
[all …]
DATSParser.cpp357 unsigned table_id = br->getBits(8); in parseProgramMap()
363 unsigned section_syntax_indicator = br->getBits(1); in parseProgramMap()
371 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap()
373 unsigned section_length = br->getBits(12); in parseProgramMap()
376 MY_LOGV(" program_number = %u", br->getBits(16)); in parseProgramMap()
377 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap()
378 MY_LOGV(" version_number = %u", br->getBits(5)); in parseProgramMap()
379 MY_LOGV(" current_next_indicator = %u", br->getBits(1)); in parseProgramMap()
380 MY_LOGV(" section_number = %u", br->getBits(8)); in parseProgramMap()
381 MY_LOGV(" last_section_number = %u", br->getBits(8)); in parseProgramMap()
[all …]
DESQueue.cpp96 if (bits.getBits(16) != 0x0B77) { in parseAC3SyncFrame()
106 unsigned fscod = bits.getBits(2); in parseAC3SyncFrame()
112 unsigned frmsizecod = bits.getBits(6); in parseAC3SyncFrame()
118 unsigned bsid = bits.getBits(5); in parseAC3SyncFrame()
124 unsigned bsmod __unused = bits.getBits(3); in parseAC3SyncFrame()
125 unsigned acmod = bits.getBits(3); in parseAC3SyncFrame()
134 cmixlev = bits.getBits(2); in parseAC3SyncFrame()
140 surmixlev = bits.getBits(2); in parseAC3SyncFrame()
146 dsurmod = bits.getBits(2); in parseAC3SyncFrame()
152 unsigned lfeon = bits.getBits(1); in parseAC3SyncFrame()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp100 *audioObjectType = bits->getBits(5); in parseAudioObjectType()
102 *audioObjectType = 32 + bits->getBits(6); in parseAudioObjectType()
111 unsigned frameLengthFlag __unused = bits->getBits(1); in parseGASpecificConfig()
112 unsigned dependsOnCoreCoder = bits->getBits(1); in parseGASpecificConfig()
114 /* unsigned coreCoderDelay = */bits->getBits(1); in parseGASpecificConfig()
116 unsigned extensionFlag = bits->getBits(1); in parseGASpecificConfig()
124 /* unsigned layerNr = */bits->getBits(3); in parseGASpecificConfig()
129 /* unsigned numOfSubFrame = */bits->getBits(5); in parseGASpecificConfig()
130 /* unsigned layerLength = */bits->getBits(11); in parseGASpecificConfig()
133 /* unsigned aacSectionDataResilienceFlag = */bits->getBits(1); in parseGASpecificConfig()
[all …]
DAMPEG4ElementaryAssembler.cpp271 unsigned AU_size = bits.getBits(mSizeLength); in addPacket()
277 unsigned AU_index = bits.getBits(n); in addPacket()
291 if (bits.getBits(1)) { in addPacket()
305 if (bits.getBits(1)) { in addPacket()
340 unsigned auxSize = bits.getBits(mAuxiliaryDataSizeLength); in addPacket()
/frameworks/av/media/libstagefright/
Davc_utils.cpp35 while (br->getBits(1) == 0) { in parseUE()
39 unsigned x = br->getBits(numZeroes); in parseUE()
97 unsigned profile_idc = br.getBits(8); in FindAVCDimensions()
114 if (br.getBits(1)) { // seq_scaling_matrix_present_flag in FindAVCDimensions()
116 if (br.getBits(1)) { // seq_scaling_list_present_flag[i] in FindAVCDimensions()
143 br.getBits(1); // delta_pic_order_always_zero_flag in FindAVCDimensions()
154 br.getBits(1); // gaps_in_frame_num_value_allowed_flag in FindAVCDimensions()
158 unsigned frame_mbs_only_flag = br.getBits(1); in FindAVCDimensions()
166 br.getBits(1); // mb_adaptive_frame_field_flag in FindAVCDimensions()
169 br.getBits(1); // direct_8x8_inference_flag in FindAVCDimensions()
[all …]
DHevcUtils.cpp155 mParams.add(kGeneralProfileSpace, reader.getBits(2)); in parseVps()
156 mParams.add(kGeneralTierFlag, reader.getBits(1)); in parseVps()
157 mParams.add(kGeneralProfileIdc, reader.getBits(5)); in parseVps()
158 mParams.add(kGeneralProfileCompatibilityFlags, reader.getBits(32)); in parseVps()
161 ((uint64_t)reader.getBits(16) << 32) | reader.getBits(32)); in parseVps()
162 mParams.add(kGeneralLevelIdc, reader.getBits(8)); in parseVps()
DMPEG4Extractor.cpp3313 uint32_t objectType = br.getBits(5); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3316 objectType = 32 + br.getBits(6); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3325 uint32_t freqIndex = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3331 sampleRate = br.getBits(24); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3332 numChannels = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3335 numChannels = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3346 uint32_t extFreqIndex = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3353 extSampleRate = br.getBits(24); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3390 objectType = br.getBits(5); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3394 objectType = 32 + br.getBits(6); in updateAudioTrackInfoFromESDS_MPEG4Audio()
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64InsnHelpers.h25 static unsigned getBits(InsnType insn, int pos, int l) { in getBits() function
30 return getBits(insn, 0, 5); in getRt()
34 return getBits(insn, 10, 5); in getRt2()
38 return getBits(insn, 10, 5); in getRa()
42 return getBits(insn, 0, 5); in getRd()
46 return getBits(insn, 5, 5); in getRn()
50 return getBits(insn, 16, 5); in getRm()
54 return getBits(insn, pos, 1); in getBit()
58 return getBits(insn, 21, 3); in getOp31()
199 unsigned opc = getBits(insn, 22, 2); in isMemOp()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp250 last_byte = br.getBits(8); in parseSEINalUnit()
255 last_byte = br.getBits(8); in parseSEINalUnit()
266 uint8_t itu_t_t35_country_code = br.getBits(8); in parseSEINalUnit()
267 uint16_t itu_t_t35_provider_code = br.getBits(16); in parseSEINalUnit()
268 uint32_t user_identifier = br.getBits(32); in parseSEINalUnit()
269 uint8_t user_data_type_code = br.getBits(8); in parseSEINalUnit()
322 uint32_t user_identifier = br.getBits(32); in parseMPEGUserDataUnit()
323 uint8_t user_data_type = br.getBits(8); in parseMPEGUserDataUnit()
345 bool process_cc_data_flag = br.getBits(1); in parseMPEGCCData()
347 size_t cc_count = br.getBits(5); in parseMPEGCCData()
[all …]
/frameworks/rs/
DrsComponent.h44 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.h94 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.cpp178 mBits = mComponent.getBits(); in compute()
/frameworks/av/include/media/stagefright/foundation/
DABitReader.h44 uint32_t getBits(size_t n);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DGEOLocationElement.java208 value = (value << width) | getBits(mOctets[octet], sbit, width);
217 private static int getBits(byte b, int b0, int width) { in getBits() method
/frameworks/av/media/libstagefright/foundation/
DABitReader.cpp54 uint32_t ABitReader::getBits(size_t n) { in getBits() function in android::ABitReader
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1970 CHECK_EQ(bits.getBits(12), 0xfffu); in extractAndQueueAccessUnits()
1972 bool protection_absent __unused = bits.getBits(1) != 0; in extractAndQueueAccessUnits()
1974 unsigned profile = bits.getBits(2); in extractAndQueueAccessUnits()
1976 unsigned sampling_freq_index = bits.getBits(4); in extractAndQueueAccessUnits()
1977 bits.getBits(1); // private_bit in extractAndQueueAccessUnits()
1978 unsigned channel_configuration = bits.getBits(3); in extractAndQueueAccessUnits()