/frameworks/av/media/extractors/mp4/ |
D | AC4Parser.cpp | 74 uint32_t n_language_tag_bytes = mBitReader.getBits(6); in parseLanguageTag() 81 language_tag_bytes[i] = (char)mBitReader.getBits(8); in parseLanguageTag() 95 uint32_t channel_mode = mBitReader.getBits(5); in parseSubstreamDSI() 97 uint32_t dsi_sf_multiplier = mBitReader.getBits(2); in parseSubstreamDSI() 99 bool b_substream_bitrate_indicator = (mBitReader.getBits(1) == 1); in parseSubstreamDSI() 109 uint32_t substream_bitrate_indicator = mBitReader.getBits(5); in parseSubstreamDSI() 115 uint32_t add_ch_base = mBitReader.getBits(1); in parseSubstreamDSI() 119 bool b_content_type = (mBitReader.getBits(1) == 1); in parseSubstreamDSI() 123 uint32_t content_classifier = mBitReader.getBits(3); in parseSubstreamDSI() 136 bool b_language_indicator = (mBitReader.getBits(1) == 1); in parseSubstreamDSI() [all …]
|
D | MPEG4Extractor.cpp | 3096 unsigned data_rate = br.getBits(13); in parseEAC3SpecificBox() 3099 unsigned num_ind_sub = br.getBits(3) + 1; in parseEAC3SpecificBox() 3108 unsigned fscod = br.getBits(2); in parseEAC3SpecificBox() 3122 unsigned bsid = br.getBits(5); in parseEAC3SpecificBox() 3133 unsigned bsmod = br.getBits(3); in parseEAC3SpecificBox() 3134 unsigned acmod = br.getBits(3); in parseEAC3SpecificBox() 3135 unsigned lfeon = br.getBits(1); in parseEAC3SpecificBox() 3142 unsigned num_dep_sub = br.getBits(4); in parseEAC3SpecificBox() 3151 unsigned chan_loc = br.getBits(9); in parseEAC3SpecificBox() 3180 unsigned mask = br.getBits(8); in parseEAC3SpecificBox() [all …]
|
/frameworks/native/libs/math/tests/ |
D | half_test.cpp | 38 EXPECT_EQ(0x0000, half( 0.0f).getBits()); in TEST_F() 39 EXPECT_EQ(0x8000, half(-0.0f).getBits()); in TEST_F() 42 EXPECT_EQ(0x7e00, half(NAN).getBits()); in TEST_F() 45 EXPECT_EQ(0x7C00, half( std::numeric_limits<float>::infinity()).getBits()); in TEST_F() 46 EXPECT_EQ(0xFC00, half(-std::numeric_limits<float>::infinity()).getBits()); in TEST_F() 49 EXPECT_EQ(0x3C01, half(1.0009765625).getBits()); in TEST_F() 50 EXPECT_EQ(0xC000, half(-2).getBits()); in TEST_F() 51 EXPECT_EQ(0x0400, half(6.10352e-5).getBits()); in TEST_F() 52 EXPECT_EQ(0x7BFF, half(65504).getBits()); in TEST_F() 53 EXPECT_EQ(0x3555, half(1.0f/3).getBits()); in TEST_F() [all …]
|
/frameworks/av/media/extractors/mpeg2/ |
D | MPEG2PSExtractor.cpp | 290 unsigned packet_startcode_prefix = br.getBits(24); in dequeuePES() 306 unsigned stream_id = br.getBits(8); in dequeuePES() 309 /* unsigned PES_packet_length = */br.getBits(16); in dequeuePES() 320 /* unsigned current_next_indicator = */br.getBits(1); in dequeuePES() 321 /* unsigned reserved = */br.getBits(2); in dequeuePES() 322 /* unsigned program_stream_map_version = */br.getBits(5); in dequeuePES() 323 /* unsigned reserved = */br.getBits(7); in dequeuePES() 324 /* unsigned marker_bit = */br.getBits(1); in dequeuePES() 325 unsigned program_stream_info_length = br.getBits(16); in dequeuePES() 333 unsigned descriptor_tag = br.getBits(8); in dequeuePES() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AMPEG4AudioAssembler.cpp | 100 *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 …]
|
D | AMPEG4ElementaryAssembler.cpp | 271 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/foundation/ |
D | avc_utils.cpp | 35 while (br->getBits(1) == 0) { in parseUE() 39 unsigned x = br->getBits(numZeroes); in parseUE() 106 unsigned profile_idc = br.getBits(8); in FindAVCDimensions() 123 if (br.getBits(1)) { // seq_scaling_matrix_present_flag in FindAVCDimensions() 125 if (br.getBits(1)) { // seq_scaling_list_present_flag[i] in FindAVCDimensions() 152 br.getBits(1); // delta_pic_order_always_zero_flag in FindAVCDimensions() 163 br.getBits(1); // gaps_in_frame_num_value_allowed_flag in FindAVCDimensions() 167 unsigned frame_mbs_only_flag = br.getBits(1); in FindAVCDimensions() 175 br.getBits(1); // mb_adaptive_frame_field_flag in FindAVCDimensions() 178 br.getBits(1); // direct_8x8_inference_flag in FindAVCDimensions() [all …]
|
D | ABitReader.cpp | 54 uint32_t ABitReader::getBits(size_t n) { in getBits() function in android::ABitReader
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 444 unsigned descriptor_tag = br->getBits(8); in findCADescriptor() 447 unsigned descriptor_length = br->getBits(8); in findCADescriptor() 456 caDescriptor->mSystemID = br->getBits(16); in findCADescriptor() 457 caDescriptor->mPID = br->getBits(16) & 0x1fff; in findCADescriptor() 472 unsigned table_id = br->getBits(8); in parseProgramMap() 478 unsigned section_syntax_indicator = br->getBits(1); in parseProgramMap() 486 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap() 488 unsigned section_length = br->getBits(12); in parseProgramMap() 491 MY_LOGV(" program_number = %u", br->getBits(16)); in parseProgramMap() 492 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap() [all …]
|
D | ESQueue.cpp | 104 value += bits.getBits(nbits); in readVariableBits() 105 more_bits = bits.getBits(1); in readVariableBits() 147 if (bits.getBits(16) != 0x0B77) { in parseAC3SyncFrame() 157 unsigned fscod = bits.getBits(2); in parseAC3SyncFrame() 163 unsigned frmsizecod = bits.getBits(6); in parseAC3SyncFrame() 169 unsigned bsid = bits.getBits(5); in parseAC3SyncFrame() 176 unsigned acmod = bits.getBits(3); in parseAC3SyncFrame() 200 unsigned lfeon = bits.getBits(1); in parseAC3SyncFrame() 234 if (bits.getBits(16) != 0x0B77) { in parseEAC3SyncFrame() 245 unsigned strmtyp = bits.getBits(2); in parseEAC3SyncFrame() [all …]
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64InsnHelpers.h | 25 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/ |
D | NuPlayerCCDecoder.cpp | 264 last_byte = br.getBits(8); in parseSEINalUnit() 269 last_byte = br.getBits(8); in parseSEINalUnit() 286 uint8_t itu_t_t35_country_code = br.getBits(8); in parseSEINalUnit() 287 uint16_t itu_t_t35_provider_code = br.getBits(16); in parseSEINalUnit() 288 uint32_t user_identifier = br.getBits(32); in parseSEINalUnit() 289 uint8_t user_data_type_code = br.getBits(8); in parseSEINalUnit() 353 uint32_t user_identifier = br.getBits(32); in parseMPEGUserDataUnit() 354 uint8_t user_data_type = br.getBits(8); in parseMPEGUserDataUnit() 376 bool process_cc_data_flag = br.getBits(1); in parseMPEGCCData() 378 size_t cc_count = br.getBits(5); in parseMPEGCCData() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 93 if (bits.getBits(12) != 0xfffu) { in MakeAACCodecSpecificData() 100 unsigned profile = bits.getBits(2); in MakeAACCodecSpecificData() 105 unsigned sampling_freq_index = bits.getBits(4); in MakeAACCodecSpecificData() 106 bits.getBits(1); // private_bit in MakeAACCodecSpecificData() 107 unsigned channel_configuration = bits.getBits(3); in MakeAACCodecSpecificData()
|
D | HevcUtils.cpp | 175 mParams.add(kGeneralProfileSpace, reader.getBits(2)); in parseVps() 176 mParams.add(kGeneralTierFlag, reader.getBits(1)); in parseVps() 177 mParams.add(kGeneralProfileIdc, reader.getBits(5)); in parseVps() 178 mParams.add(kGeneralProfileCompatibilityFlags, reader.getBits(32)); in parseVps() 181 ((uint64_t)reader.getBits(16) << 32) | reader.getBits(32)); in parseVps() 182 mParams.add(kGeneralLevelIdc, reader.getBits(8)); in parseVps()
|
/frameworks/native/libs/ui/tools/ |
D | lutgen.cpp | 171 const uint16_t r = rgb.r.getBits(); in main() 172 const uint16_t g = rgb.g.getBits(); in main() 173 const uint16_t b = rgb.b.getBits(); in main()
|
/frameworks/rs/ |
D | rsComponent.h | 44 uint32_t getBits() const {return mBits;} in getBits() function
|
D | rsElement.h | 96 uint32_t getBits() const {return mBits;} in getBits() function
|
D | rsElement.cpp | 178 mBits = mComponent.getBits(); in compute()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ABitReader.h | 44 uint32_t getBits(size_t n);
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 2082 CHECK_EQ(bits.getBits(12), 0xfffu); in extractAndQueueAccessUnits() 2084 bool protection_absent __unused = bits.getBits(1) != 0; in extractAndQueueAccessUnits() 2086 unsigned profile = bits.getBits(2); in extractAndQueueAccessUnits() 2088 unsigned sampling_freq_index = bits.getBits(4); in extractAndQueueAccessUnits() 2089 bits.getBits(1); // private_bit in extractAndQueueAccessUnits() 2090 unsigned channel_configuration = bits.getBits(3); in extractAndQueueAccessUnits()
|
/frameworks/native/libs/math/include/math/ |
D | half.h | 88 uint16_t getBits() const noexcept { return mBits.bits; } in getBits() function
|