Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/src/
DQuantiseDifference.c152 int32_t acc; in quantiseDifferenceHL() local
193 acc = tmp_acc.s32.h; in quantiseDifferenceHL()
195 tmp_round0 = (uint32_t)acc << 8; in quantiseDifferenceHL()
197 acc = (acc >> 6) + 1; in quantiseDifferenceHL()
198 acc >>= 1; in quantiseDifferenceHL()
200 acc--; in quantiseDifferenceHL()
203 acc = ssat24(acc); in quantiseDifferenceHL()
205 dithSquared = acc; in quantiseDifferenceHL()
217 acc = (tmp_acc.u32.l >> 22) | (tmp_acc.s32.h << 10); in quantiseDifferenceHL()
218 acc++; in quantiseDifferenceHL()
[all …]
DSubbandFunctionsCommon.h43 int32_t acc; in invertQuantisation() local
75 acc = tmp_r64.s32.h; in invertQuantisation()
79 acc++; in invertQuantisation()
82 acc--; in invertQuantisation()
84 acc = ssat24(acc); in invertQuantisation()
86 invQ = acc; in invertQuantisation()
96 acc = (int32_t)(tmp_acc >> (23 - deltaScale)); in invertQuantisation()
97 invQ = ssat24(acc); in invertQuantisation()
105 acc = tmp_accH; in invertQuantisation()
113 acc++; in invertQuantisation()
[all …]
DQmfConv.c30 int32_t acc; in AsmQmfConvO() local
145 acc = (int32_t)(local_acc0 >> 15); in AsmQmfConvO()
147 acc--; in AsmQmfConvO()
149 if (acc > 8388607) { in AsmQmfConvO()
150 acc = 8388607; in AsmQmfConvO()
152 if (acc < -8388608) { in AsmQmfConvO()
153 acc = -8388608; in AsmQmfConvO()
156 phaseConv[0] = acc; in AsmQmfConvO()
161 acc = (int32_t)(local_acc1 >> 15); in AsmQmfConvO()
163 acc--; in AsmQmfConvO()
[all …]
DSubbandFunctions.h40 int32_t acc; in updatePredictorPoleCoefficients() local
93 acc = 0; in updatePredictorPoleCoefficients()
94 acc -= PoleCoeffDataPt->m_poleCoeff[a1] * (sgnP[k_1] >> 22); in updatePredictorPoleCoefficients()
96 tmp3_round0 = acc & 0x3L; in updatePredictorPoleCoefficients()
98 acc += 0x001; in updatePredictorPoleCoefficients()
99 acc >>= 1; in updatePredictorPoleCoefficients()
101 acc--; in updatePredictorPoleCoefficients()
104 newCoeffs[a2] = acc; in updatePredictorPoleCoefficients()
165 acc = (acc2 >> 8); in updatePredictorPoleCoefficients()
167 acc--; in updatePredictorPoleCoefficients()
[all …]
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/src/
DQuantiseDifference.c163 int32_t acc = 0; in quantiseDifference_HDHL() local
204 acc = tmp_acc.s32.h; in quantiseDifference_HDHL()
205 tmp_round0 = (uint32_t)acc << 8; in quantiseDifference_HDHL()
207 acc = (acc >> 6) + 1; in quantiseDifference_HDHL()
208 acc >>= 1; in quantiseDifference_HDHL()
210 acc--; in quantiseDifference_HDHL()
212 acc = ssat24(acc); in quantiseDifference_HDHL()
214 dithSquared = acc; in quantiseDifference_HDHL()
226 acc = (tmp_acc.u32.l >> 22) | (tmp_acc.s32.h << 10); in quantiseDifference_HDHL()
227 acc++; in quantiseDifference_HDHL()
[all …]
DSubbandFunctionsCommon.h45 int32_t acc; in invertQuantisation() local
76 acc = tmp_r64.s32.h; in invertQuantisation()
80 acc++; in invertQuantisation()
83 acc--; in invertQuantisation()
85 acc = ssat24(acc); in invertQuantisation()
87 invQ = acc; in invertQuantisation()
96 acc = (int32_t)(tmp_acc >> (23 - deltaScale)); in invertQuantisation()
97 invQ = ssat24(acc); in invertQuantisation()
105 acc = tmp_accH; in invertQuantisation()
113 acc++; in invertQuantisation()
[all …]
DQmfConv.c31 int32_t acc; in AsmQmfConvO_HD() local
147 acc = (int32_t)(local_acc0 >> 23); in AsmQmfConvO_HD()
150 acc--; in AsmQmfConvO_HD()
153 if (acc > 8388607) { in AsmQmfConvO_HD()
154 acc = 8388607; in AsmQmfConvO_HD()
156 if (acc < -8388608) { in AsmQmfConvO_HD()
157 acc = -8388608; in AsmQmfConvO_HD()
160 phaseConv[0] = acc; in AsmQmfConvO_HD()
165 acc = (int32_t)(local_acc1 >> 23); in AsmQmfConvO_HD()
167 acc--; in AsmQmfConvO_HD()
[all …]
DSubbandFunctions.h40 int32_t acc; in updatePredictorPoleCoefficients() local
95 acc = 0; in updatePredictorPoleCoefficients()
96 acc -= PoleCoeffDataPt->m_poleCoeff[a1] * (sgnP[k_1] >> 22); in updatePredictorPoleCoefficients()
98 tmp3_round0 = acc & 0x3L; in updatePredictorPoleCoefficients()
100 acc += 0x001; in updatePredictorPoleCoefficients()
101 acc >>= 1; in updatePredictorPoleCoefficients()
103 acc--; in updatePredictorPoleCoefficients()
106 newCoeffs[a2] = acc; in updatePredictorPoleCoefficients()
165 acc = (acc2 >> 8); in updatePredictorPoleCoefficients()
167 acc--; in updatePredictorPoleCoefficients()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h50 double acc; in db_MultiplyMatrixVectorAtb() local
54 acc=0; in db_MultiplyMatrixVectorAtb()
55 for(j=0;j<acols;j++) acc+=At[j][i]*b[j]; in db_MultiplyMatrixVectorAtb()
56 c[i]=acc; in db_MultiplyMatrixVectorAtb()
63 double acc; in db_MultiplyMatricesAB() local
67 acc=0; in db_MultiplyMatricesAB()
68 for(k=0;k<acols;k++) acc+=A[i][k]*B[k][j]; in db_MultiplyMatricesAB()
69 C[i][j]=acc; in db_MultiplyMatricesAB()
76 double acc; in db_UpperMultiplyMatricesAtB() local
80 acc=0; in db_UpperMultiplyMatricesAtB()
[all …]
Ddb_rob_image_homography.cpp39 double back,acc,*x_i_temp,*xp_i_temp; in db_RobImageHomography_Cost() local
50 acc=db_ExpCauchyInhomogenousHomographyError(xp_i_temp,H,x_i_temp,one_over_scale2); in db_RobImageHomography_Cost()
51 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+2,H,x_i_temp+2,one_over_scale2); in db_RobImageHomography_Cost()
52 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+4,H,x_i_temp+4,one_over_scale2); in db_RobImageHomography_Cost()
53 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+6,H,x_i_temp+6,one_over_scale2); in db_RobImageHomography_Cost()
54 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+8,H,x_i_temp+8,one_over_scale2); in db_RobImageHomography_Cost()
55acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+10,H,x_i_temp+10,one_over_scale2); in db_RobImageHomography_Cost()
56acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+12,H,x_i_temp+12,one_over_scale2); in db_RobImageHomography_Cost()
57acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+14,H,x_i_temp+14,one_over_scale2); in db_RobImageHomography_Cost()
58acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+16,H,x_i_temp+16,one_over_scale2); in db_RobImageHomography_Cost()
[all …]
/packages/modules/NeuralNetworks/common/
DQuantUtils.h42 int32_t acc = bias[row]; in MatrixBatchVectorMultiplyAccumulate() local
46 acc += input_val * weights_val; in MatrixBatchVectorMultiplyAccumulate()
48 acc = MultiplyByQuantizedMultiplier(acc, multiplier, shift); in MatrixBatchVectorMultiplyAccumulate()
49 acc += output_zp; in MatrixBatchVectorMultiplyAccumulate()
50 acc += output[batch * n_output + row]; in MatrixBatchVectorMultiplyAccumulate()
51 if (acc > output_max) { in MatrixBatchVectorMultiplyAccumulate()
52 acc = output_max; in MatrixBatchVectorMultiplyAccumulate()
54 if (acc < output_min) { in MatrixBatchVectorMultiplyAccumulate()
55 acc = output_min; in MatrixBatchVectorMultiplyAccumulate()
57 output[batch * n_output + row] = static_cast<T>(acc); in MatrixBatchVectorMultiplyAccumulate()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/widget/
DBatchPreviewLoaderTest.kt132 .fold(ArrayList<Preview>()) { acc, update -> acc.apply { addAll(update) } } in <lambda>() method
161 .fold(ArrayList<Preview>()) { acc, update -> acc.apply { addAll(update) } } in <lambda>() method
172 .fold(ArrayList<Preview>(uris.size)) { acc, uri -> in <lambda>() method
173 acc.apply { add(Preview(PreviewType.Image, uri, editAction = null)) } in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/shortcuts/
DShortcutToChooserTargetConverterTest.kt37 ranks.foldIndexed(ArrayList<ShareShortcutInfo>(ranks.size)) { i, acc, rank -> in <lambda>() method
39 acc.add( in <lambda>()
46 acc in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/
DShortcutLoader.kt233 fold(ShortcutsAppTargetsPair(ArrayList(size), ArrayList(size))) { acc, appTarget -> in <lambda>() method
238 (acc.shortcuts as ArrayList<ShareShortcutInfo>).add( in <lambda>()
241 (acc.appTargets as ArrayList<AppTarget>).add(appTarget) in <lambda>()
243 acc in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultChronicle.kt83 .fold(Chronicle.ConnectionTypes.EMPTY) { acc, provider -> in <lambda>() method
96 readConnections = acc.readConnections + readConnections, in <lambda>()
97 writeConnections = acc.writeConnections + writeConnections in <lambda>()
DDefaultDataTypeDescriptorSet.kt36 return dtd.innerTypes.fold(listOf(dtd)) { acc, t -> acc + collectNestedDataTypeDescriptors(t) } in <lambda>() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientService.java245 for (Account acc : accounts) { in removeUncleanAccounts()
246 Log.w(TAG, "Deleting " + acc); in removeUncleanAccounts()
252 new String[] {acc.name}); in removeUncleanAccounts()
257 accountManager.removeAccountExplicitly(acc); in removeUncleanAccounts()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java368 for (BluetoothMapAccountItem acc : accountList) { in getEnabledAccountItems()
369 if (acc.mIsChecked) { in getEnabledAccountItems()
370 list.add(acc); in getEnabledAccountItems()
DBluetoothMapAccountLoader.java112 for (BluetoothMapAccountItem acc : accounts) { in parsePackages()
113 if (!acc.mIsChecked) { in parsePackages()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRankerTest.kt42 policies.fold(0L) { acc, e -> acc or (1L shl e) }, KEEP_CONNECTED_NONE) in <lambda>() method
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt56 private fun flags(vararg flags: Int) = flags.fold(0L) { acc, it -> acc or (1L shl it) } in acc() method
/packages/modules/NeuralNetworks/runtime/test/
DTestStatsdTelemetry.cpp90 values.begin(), values.end(), 0, [](int64_t acc, int64_t v) { return acc + v * v; }); in accumulatedTimingsFrom() argument
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DNetworkStatsIntegrationTest.kt456 return filteredBuckets.fold(BareStats.EMPTY) { acc, it -> in <lambda>() method
457 acc + BareStats( in <lambda>()
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...

12