/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 | 3240 unsigned data_rate = br.getBits(13); in parseEAC3SpecificBox() 3243 unsigned num_ind_sub = br.getBits(3) + 1; in parseEAC3SpecificBox() 3252 unsigned fscod = br.getBits(2); in parseEAC3SpecificBox() 3266 unsigned bsid = br.getBits(5); in parseEAC3SpecificBox() 3277 unsigned bsmod = br.getBits(3); in parseEAC3SpecificBox() 3278 unsigned acmod = br.getBits(3); in parseEAC3SpecificBox() 3279 unsigned lfeon = br.getBits(1); in parseEAC3SpecificBox() 3286 unsigned num_dep_sub = br.getBits(4); in parseEAC3SpecificBox() 3295 unsigned chan_loc = br.getBits(9); in parseEAC3SpecificBox() 3324 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/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 | 283 unsigned AU_size = bits.getBits(mSizeLength); in addPacket() 289 unsigned AU_index = bits.getBits(n); in addPacket() 303 if (bits.getBits(1)) { in addPacket() 317 if (bits.getBits(1)) { in addPacket() 352 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() 186 br.getBits(1); // mb_adaptive_frame_field_flag in FindAVCDimensions() 189 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() 175 unsigned bsmod __unused = bits.getBits(3); in parseAC3SyncFrame() 176 unsigned acmod = bits.getBits(3); in parseAC3SyncFrame() 185 cmixlev = bits.getBits(2); in parseAC3SyncFrame() 191 surmixlev = bits.getBits(2); in parseAC3SyncFrame() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/ |
D | RuleBinarySerializerTest.java | 35 import static com.android.server.integrity.utils.TestUtils.getBits; 70 getBits(COMPOUND_FORMULA_START, SEPARATOR_BITS); 72 getBits(COMPOUND_FORMULA_END, SEPARATOR_BITS); 74 getBits(ATOMIC_FORMULA_START, SEPARATOR_BITS); 76 private static final String NOT = getBits(CompoundFormula.NOT, CONNECTOR_BITS); 77 private static final String AND = getBits(CompoundFormula.AND, CONNECTOR_BITS); 78 private static final String OR = getBits(CompoundFormula.OR, CONNECTOR_BITS); 80 private static final String PACKAGE_NAME = getBits(AtomicFormula.PACKAGE_NAME, KEY_BITS); 81 private static final String APP_CERTIFICATE = getBits(AtomicFormula.APP_CERTIFICATE, KEY_BITS); 82 private static final String INSTALLER_NAME = getBits(AtomicFormula.INSTALLER_NAME, KEY_BITS); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/ |
D | RuleBinaryParserTest.java | 30 import static com.android.server.integrity.utils.TestUtils.getBits; 56 getBits(COMPOUND_FORMULA_START, SEPARATOR_BITS); 58 getBits(COMPOUND_FORMULA_END, SEPARATOR_BITS); 60 getBits(ATOMIC_FORMULA_START, SEPARATOR_BITS); 63 getBits(INVALID_FORMULA_SEPARATOR_VALUE, SEPARATOR_BITS); 65 private static final String NOT = getBits(CompoundFormula.NOT, CONNECTOR_BITS); 66 private static final String AND = getBits(CompoundFormula.AND, CONNECTOR_BITS); 67 private static final String OR = getBits(CompoundFormula.OR, CONNECTOR_BITS); 70 getBits(INVALID_CONNECTOR_VALUE, CONNECTOR_BITS); 72 private static final String PACKAGE_NAME = getBits(AtomicFormula.PACKAGE_NAME, KEY_BITS); [all …]
|
D | BinaryFileOperationsTest.java | 23 import static com.android.server.integrity.utils.TestUtils.getBits; 54 + getBits(PACKAGE_NAME.length(), VALUE_SIZE_BITS) in testGetStringValue() 68 + getBits(APP_CERTIFICATE.length(), VALUE_SIZE_BITS) in testGetHashedStringValue() 93 byte[] ruleBytes = getBytes(getBits(randomValue, /* numOfBits= */ 32)); in testGetIntValue()
|
D | RuleIndexingControllerTest.java | 22 import static com.android.server.integrity.utils.TestUtils.getBits; 189 + getBits(key.length(), VALUE_SIZE_BITS) in getKeyValueString() 191 + getBits(value, /* numOfBits= */ 32); in getKeyValueString()
|
/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/base/services/tests/servicestests/src/com/android/server/integrity/utils/ |
D | TestUtils.java | 21 public static String getBits(long component, int numOfBits) { in getBits() method in TestUtils 29 stringBuilder.append(getBits(valueByte, /* numOfBits= */ 8)); in getValueBits()
|
/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 | 174 mParams.add(kGeneralProfileSpace, reader.getBits(2)); in parseVps() 175 mParams.add(kGeneralTierFlag, reader.getBits(1)); in parseVps() 176 mParams.add(kGeneralProfileIdc, reader.getBits(5)); in parseVps() 177 mParams.add(kGeneralProfileCompatibilityFlags, reader.getBits(32)); in parseVps() 180 ((uint64_t)reader.getBits(16) << 32) | reader.getBits(32)); in parseVps() 181 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 | 2083 CHECK_EQ(bits.getBits(12), 0xfffu); in extractAndQueueAccessUnits() 2085 bool protection_absent __unused = bits.getBits(1) != 0; in extractAndQueueAccessUnits() 2087 unsigned profile = bits.getBits(2); in extractAndQueueAccessUnits() 2089 unsigned sampling_freq_index = bits.getBits(4); in extractAndQueueAccessUnits() 2090 bits.getBits(1); // private_bit in extractAndQueueAccessUnits() 2091 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
|