/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | FaceSquareFilter.java | 68 int[] dims = imageFrame.getDimensions(); in onProcess() local 74 drawBoxes(pixels, faces, dims); in onProcess() 82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes() argument 85 int top = (tempRect.top+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE; in drawBoxes() 86 int bottom = (tempRect.bottom+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE; in drawBoxes() 87 int left = (tempRect.left+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; in drawBoxes() 88 int right = (tempRect.right+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE; in drawBoxes() 92 } else if (top > dims[1]) { in drawBoxes() 93 top = dims[1]; in drawBoxes() 97 } else if (left > dims[0]) { in drawBoxes() [all …]
|
D | Camera2Source.java | 229 int[] dims = new int[] { in onProcess() local 232 FrameImage2D outputFrame = Frame.create(mOutputType, dims).asFrameImage2D(); in onProcess()
|
/frameworks/ml/nn/runtime/test/ |
D | TestOperandExtraParams.cpp | 45 static uint32_t dims[4] = {1, 2, 3, CHANNEL_DIM_SIZE}; in createOperand() local 67 .dimensions = dims, in createOperand() 73 .dimensions = dims, in createOperand() 79 .dimensions = dims, in createOperand() 85 .dimensions = dims, in createOperand() 91 .dimensions = dims, in createOperand() 97 .dimensions = dims, in createOperand()
|
D | GeneratedTestUtils.cpp | 36 auto dims = op.dimensions; in getOperandType() local 38 dims.assign(dims.size(), 0); in getOperandType() 42 static_cast<Type>(op.type), dims, in getOperandType() 45 return OperandType(static_cast<Type>(op.type), dims, op.scale, op.zeroPoint); in getOperandType()
|
/frameworks/ml/nn/common/include/ |
D | CpuOperationUtils.h | 36 tflite::Dims<4> dims; in convertShapeToDims() local 42 dims.sizes[i] = static_cast<int>(getSizeOfDimension(shape, src)); in convertShapeToDims() 44 dims.sizes[i] = 1; in convertShapeToDims() 48 dims.strides[0] = 1; in convertShapeToDims() 50 dims.strides[i] = dims.strides[i - 1] * dims.sizes[i - 1]; in convertShapeToDims() 52 return dims; in convertShapeToDims()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameBuffer1D.java | 89 int[] dims = backingStore.getDimensions(); in assertCanCreate() local 90 if (dims == null || dims.length == 0) { in assertCanCreate()
|
D | FrameType.java | 360 private static String keyValueForType(int elemId, int dims, int hints, Class<?> clazz) { in keyValueForType() argument 361 return elemId + ":" + dims + ":" + hints + ":" + (clazz != null ? clazz.getName() : "0"); in keyValueForType()
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.cpp | 105 void writeDimensionToProtoHelper(const std::vector<FieldValue>& dims, size_t* index, int depth, in writeDimensionToProtoHelper() argument 108 size_t count = dims.size(); in writeDimensionToProtoHelper() 110 const auto& dim = dims[*index]; in writeDimensionToProtoHelper() 161 writeDimensionToProtoHelper(dims, index, valueDepth, dim.mField.getPrefix(valueDepth), in writeDimensionToProtoHelper() 172 void writeDimensionLeafToProtoHelper(const std::vector<FieldValue>& dims, in writeDimensionLeafToProtoHelper() argument 177 size_t count = dims.size(); in writeDimensionLeafToProtoHelper() 179 const auto& dim = dims[*index]; in writeDimensionLeafToProtoHelper() 222 writeDimensionLeafToProtoHelper(dims, dimensionLeafField, in writeDimensionLeafToProtoHelper() 338 void writeFieldValueTreeToStreamHelper(int tagId, const std::vector<FieldValue>& dims, in writeFieldValueTreeToStreamHelper() argument 341 size_t count = dims.size(); in writeFieldValueTreeToStreamHelper() [all …]
|
D | HashableDimensionKey.cpp | 51 const vector<FieldValue>& dims, in populateStatsDimensionsValueParcelChildren() argument 58 while (index < dims.size()) { in populateStatsDimensionsValueParcelChildren() 59 const FieldValue& dim = dims[index]; in populateStatsDimensionsValueParcelChildren() 96 dim.mField.getPrefix(childDepth + 1), dims, in populateStatsDimensionsValueParcelChildren()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic3DLUT.cpp | 66 int4 dims = { in kernel() local 72 const float4 m = (float4)(1.f / 255.f) * convert_float4(dims); in kernel() 85 dims.x, dims.y, dims.z); in kernel()
|
D | rsCpuIntrinsic.h | 72 const uint32_t * dims,
|
D | rsCpuIntrinsic.cpp | 57 const uint32_t *dims, size_t dimLength) { in setGlobalVarWithElemDims() argument
|
/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | FuzzTest.cpp | 38 auto dims = op.dimensions; in getOperandType() local 41 static_cast<Type>(op.type), dims, in getOperandType() 44 return OperandType(static_cast<Type>(op.type), dims, op.scale, op.zeroPoint); in getOperandType()
|
/frameworks/ml/nn/common/operations/ |
D | Fill.cpp | 92 const int32_t* dims = context->getInputBuffer<int32_t>(kDimsTensor); in prepare() local 94 outputShape.dimensions[i] = dims[i]; in prepare()
|
D | EmbeddingLookupTest.cpp | 76 auto multiAll = [](const std::vector<uint32_t>& dims) -> uint32_t { in EmbeddingLookupOpModel() argument 78 for (uint32_t d : dims) { in EmbeddingLookupOpModel()
|
D | LSHProjectionTest.cpp | 62 auto multiAll = [](const std::vector<uint32_t>& dims) -> uint32_t { in LSHProjectionOpModel() argument 64 for (uint32_t d : dims) { in LSHProjectionOpModel()
|
D | HashtableLookupTest.cpp | 90 auto multiAll = [](const std::vector<uint32_t>& dims) -> uint32_t { in HashtableLookupOpModel() argument 92 for (uint32_t d : dims) { in HashtableLookupOpModel()
|
D | SVDFTest.cpp | 216 auto multiAll = [](const std::vector<uint32_t>& dims) -> uint32_t { in SVDFOpModel() argument 218 for (uint32_t d : dims) { in SVDFOpModel()
|
D | LayerNormLSTMTest.cpp | 151 auto multiAll = [](const std::vector<uint32_t>& dims) -> uint32_t { in LayerNormLSTMOpModel() argument 153 for (uint32_t d : dims) { in LayerNormLSTMOpModel()
|
/frameworks/rs/ |
D | rsScript.cpp | 83 const uint32_t *dims, size_t dimLen) { in setVar() argument 92 (void *)val, len, e, dims, dimLen); in setVar() 290 const uint32_t *dims, size_t dimLen) { in rsi_ScriptSetVarVE() argument 293 s->setVar(slot, data, len, e, dims, dimLen); in rsi_ScriptSetVarVE()
|
/frameworks/rs/driver/ |
D | rsdBcc.cpp | 151 const uint32_t *dims, size_t dimLength) { in rsdScriptSetGlobalVarWithElemDims() argument 153 cs->setGlobalVarWithElemDims(slot, data, dataLength, elem, dims, dimLength); in rsdScriptSetGlobalVarWithElemDims()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Script.java | 508 public void setVar(int index, FieldPacker v, Element e, int[] dims) { in setVar() argument 511 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), dElement, dims, mUseIncSupp); in setVar() local 513 mRS.nScriptSetVarVE(getID(mRS), index, v.getData(), e.getID(mRS), dims, mUseIncSupp); in setVar() local
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | DelegateMethodAdapter.java | 439 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument 441 mOrgWriter.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
|
D | StubCallMethodAdapter.java | 356 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument 358 mParentVisitor.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
|
D | AbstractClassAdapter.java | 291 public void visitMultiANewArrayInsn(String desc, int dims) { in visitMultiANewArrayInsn() argument 294 super.visitMultiANewArrayInsn(desc, dims); in visitMultiANewArrayInsn()
|