/packages/modules/NeuralNetworks/common/operations/ |
D | Broadcast.cpp | 77 const float* in1, const Shape& shape1, const float* in2, const Shape& shape2, 80 bool binaryOperationFloat16(const _Float16* in1, const Shape& shape1, const _Float16* in2, in binaryOperationFloat16() argument 84 convertFloat16ToFloat32(in1, &in1_float32); in binaryOperationFloat16() 96 bool addFloat32(const float* in1, const Shape& shape1, const float* in2, const Shape& shape2, in addFloat32() argument 104 in1, convertShapeToDims(shape1), in2, convertShapeToDims(shape2), out, \ in addFloat32() 113 in1, convertShapeToDims(shape1), in2, convertShapeToDims(shape2), out, \ in addFloat32() 123 bool addFloat16(const _Float16* in1, const Shape& shape1, const _Float16* in2, const Shape& shape2, in addFloat16() argument 126 return binaryOperationFloat16(in1, shape1, in2, shape2, activation, out, shapeOut, &addFloat32); in addFloat16() 130 bool addQuant8(const T* in1, const Shape& shape1, const T* in2, const Shape& shape2, in addQuant8() argument 186 op_params, convertShapeToTflshape(shape1), in1, convertShapeToTflshape(shape2), in addQuant8() [all …]
|
D | MaximumMinimum.cpp | 90 bool prepare(const Shape& in1, const Shape& in2, Shape* out) { in prepare() argument 91 NN_CHECK(in1.type == in2.type); in prepare() 92 return calculateBroadcastedShape(in1, in2, out); in prepare() 95 bool eval(const void* in1, const Shape& shape1, const void* in2, const Shape& shape2, in eval() argument 100 return evalGeneric(reinterpret_cast<const _Float16*>(in1), shape1, in eval() 105 return evalGeneric(reinterpret_cast<const float*>(in1), shape1, in eval() 110 return evalGeneric(reinterpret_cast<const int32_t*>(in1), shape1, in eval() 115 return evalQuant8(reinterpret_cast<const uint8_t*>(in1), shape1, in eval() 120 return evalQuant8(reinterpret_cast<const int8_t*>(in1), shape1, in eval()
|
D | MaximumMinimum.h | 26 bool prepare(const Shape& in1, const Shape& in2, Shape* output); 28 bool eval(const void* in1, const Shape& shape1, const void* in2, const Shape& shape2,
|
D | Pow.h | 26 bool prepare(const Shape& in1, const Shape& in2, Shape* output);
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | wprint_scaler.c | 430 static inline void _scale_row_down_9in(uint8 *_RESTRICT_ in0, uint8 *_RESTRICT_ in1, in _scale_row_down_9in() argument 450 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in() 460 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in() 470 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in() 493 static inline void _scale_row_down_8in(uint8 *_RESTRICT_ in0, uint8 *_RESTRICT_ in1, in _scale_row_down_8in() argument 514 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in() 523 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in() 532 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in() 554 static inline void _scale_row_down_7in(uint8 *_RESTRICT_ in0, uint8 *_RESTRICT_ in1, in _scale_row_down_7in() argument 573 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
D | dbstabsmooth.cpp | 24 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out); 25 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out); 307 static bool vpmotion_add(VP_MOTION *in1, VP_MOTION *in2, VP_MOTION *out) in vpmotion_add() argument 310 if(in1 == NULL || in2 == NULL || out == NULL) in vpmotion_add() 314 out->par[i] = in1->par[i] + in2->par[i]; in vpmotion_add() 319 static bool vpmotion_multiply(VP_MOTION *in1, double factor, VP_MOTION *out) in vpmotion_multiply() argument 322 if(in1 == NULL || out == NULL) in vpmotion_multiply() 326 out->par[i] = in1->par[i] * factor; in vpmotion_multiply()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 227 Intent in1 = new Intent(BluetoothDevicePicker.ACTION_LAUNCH); in launchDevicePicker() local 228 in1.setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); in launchDevicePicker() 229 in1.putExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false); in launchDevicePicker() 230 in1.putExtra(BluetoothDevicePicker.EXTRA_FILTER_TYPE, in launchDevicePicker() 232 in1.putExtra(BluetoothDevicePicker.EXTRA_LAUNCH_PACKAGE, Constants.THIS_PACKAGE_NAME); in launchDevicePicker() 233 in1.putExtra(BluetoothDevicePicker.EXTRA_LAUNCH_CLASS, in launchDevicePicker() 238 startActivity(in1); in launchDevicePicker()
|
D | BluetoothOppService.java | 534 Intent in1 = new Intent(BluetoothDevicePicker.ACTION_LAUNCH); 535 in1.putExtra(BluetoothDevicePicker.EXTRA_NEED_AUTH, false); 536 in1.putExtra(BluetoothDevicePicker.EXTRA_FILTER_TYPE, 538 in1.putExtra(BluetoothDevicePicker.EXTRA_LAUNCH_PACKAGE, 540 in1.putExtra(BluetoothDevicePicker.EXTRA_LAUNCH_CLASS, 543 in1.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 544 context.startActivity(in1);
|
/packages/modules/NeuralNetworks/common/ |
D | OperationsUtils.cpp | 114 bool SameShape(const Shape& in1, const Shape& in2) { in SameShape() argument 115 if (in1.type != in2.type || in1.dimensions.size() != in2.dimensions.size()) { in SameShape() 118 for (size_t i = 0; i < in1.dimensions.size(); i++) { in SameShape() 119 if (in1.dimensions[i] != in2.dimensions[i]) { in SameShape() 339 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out) { in calculateBroadcastedShape() argument 340 NN_RET_CHECK(in1.type == in2.type); in calculateBroadcastedShape() 341 uint32_t numberOfDims1 = getNumberOfDimensions(in1); in calculateBroadcastedShape() 348 dim1 = getSizeOfDimension(in1, numberOfDims1 - i); in calculateBroadcastedShape()
|
D | CpuExecutor.cpp | 1447 const RunTimeOperandInfo& in1 = operands[ins[0]]; in executeOperation() local 1454 success = maximum_minimum::prepare(in1.shape(), in2.shape(), &outputShape) && in executeOperation() 1456 maximum_minimum::eval(in1.buffer, in1.shape(), in2.buffer, in2.shape(), in executeOperation()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestValidation.cpp | 1299 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in TEST_F() local 1303 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in TEST_F() 1490 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in testConcurrentExecution() local 1494 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in testConcurrentExecution() 3139 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in TEST_F() local 3143 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in TEST_F() 3299 float in0[] = {0.0f, 0.0f}, in1[] = {1.0f, 1.0f}, out0[2]; in runExecutionSetTimeoutTest() local 3303 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 1, nullptr, &in1, sizeof(in1)), in runExecutionSetTimeoutTest()
|
/packages/modules/NeuralNetworks/common/include/ |
D | OperationsUtils.h | 124 bool SameShape(const Shape& in1, const Shape& in2); 273 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out);
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 16245 …�FF�l���p����#�m�ɖ+��ONk_G��Ɍ\�n�rwu���Z�,,,��v�iV4Uݿ���zEX�O鍡j�$in1��)i#��s����0����…
|