/frameworks/rs/cpp/ |
D | ScriptIntrinsics.cpp | 39 mElement = e; in ScriptIntrinsic() 59 if (ain->getType()->getElement()->isCompatible(mElement) == false || in forEach() 60 aout->getType()->getElement()->isCompatible(mElement) == false) { in forEach() 68 if (!t->getElement()->isCompatible(mElement)) { in setLUT() 93 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachClear() 94 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachClear() 101 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrc() 102 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachSrc() 109 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachDst() 110 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachDst() [all …]
|
D | Type.cpp | 77 mElement = nullptr; in Type() 107 mElement = e; in updateFromNative() 116 t->mElement = e; in create() 131 mElement = e; in Builder() 162 if (format != RS_YUV_NONE && !(mElement->isCompatible(Element::YUV(mRS)))) { in setYuvFormat() 222 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, in create() 225 t->mElement = mElement; in create()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 54 Element mElement; field in Type 85 return mElement; in getElement() 247 mElement = new Element(elementID, mRS); in updateFromNative() 248 mElement.updateFromNative(); in updateFromNative() 270 t.mElement = e; in createX() 294 t.mElement = e; in createXY() 320 t.mElement = e; in createXYZ() 342 Element mElement; field in Type.Builder 353 mElement = e; in Builder() 477 long id = mRS.nTypeCreate(mElement.getID(mRS), in create() [all …]
|
D | Allocation.java | 104 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 112 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 120 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 128 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 148 "[] is not compatible with data type " + mType.mElement.mType.name() + in validateObjectIsPrimitiveArray() 436 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64() 437 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64() 441 "64 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt64() 445 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() 446 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32() [all …]
|
D | ScriptIntrinsic3DLUT.java | 29 private Element mElement; field in ScriptIntrinsic3DLUT 33 mElement = e; in ScriptIntrinsic3DLUT() 70 if (!t.getElement().isCompatible(mElement)) { in setLUT()
|
D | Script.java | 494 protected Element mElement; field in Script.FieldBase 498 mAllocation = Allocation.createSized(rs, mElement, dimx, in init() 504 Allocation.createSized(rs, mElement, dimx, in init() 512 return mElement; in getElement()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Type.java | 62 Element mElement; field in Type 84 return mElement; in getElement() 217 t.mElement = e; in createX() 241 t.mElement = e; in createXY() 267 t.mElement = e; in createXYZ() 288 Element mElement; field in Type.Builder 299 mElement = e; in Builder() 394 long id = mRS.nTypeCreate(mElement.getID(mRS), in create() 398 t.mElement = mElement; in create()
|
D | Allocation.java | 97 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 105 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 113 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 121 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 400 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64() 401 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64() 405 "64 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt64() 409 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() 410 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32() 414 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32() [all …]
|
D | ScriptIntrinsic3DLUT.java | 31 private Element mElement; field in ScriptIntrinsic3DLUT 37 mElement = e; in ScriptIntrinsic3DLUT() 81 if (!t.getElement().isCompatible(mElement)) {
|
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | ProcessingException.java | 33 private final @Nullable Element mElement; field in ProcessingException 58 mElement = element; in ProcessingException() 69 if (mElement != null) { in print() 73 ERROR, getMessage(), mElement, mAnnotationMirror, mAnnotationValue); in print() 75 messager.printMessage(ERROR, getMessage(), mElement, mAnnotationMirror); in print() 78 messager.printMessage(ERROR, getMessage(), mElement); in print()
|
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
D | ScriptField_NonDivergent.java.expect | 54 mElement = createElement(rs); 60 mElement = createElement(rs); 67 mElement = createElement(rs); 73 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 87 Type.Builder b = new Type.Builder(rs, obj.mElement); 103 if (t.getElement() != obj.mElement) { 116 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 117 mIOBuffer.reset(index * mElement.getBytesSize()); 126 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 139 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
D | ScriptField_Divergent.java.expect | 64 mElement = createElement(rs); 70 mElement = createElement(rs); 77 mElement = createElement(rs); 83 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 97 Type.Builder b = new Type.Builder(rs, obj.mElement); 113 if (t.getElement() != obj.mElement) { 129 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 130 mIOBuffer.reset(index * mElement.getBytesSize()); 139 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 152 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
D | ScriptField_DivergentNest.java.expect | 65 mElement = createElement(rs); 71 mElement = createElement(rs); 78 mElement = createElement(rs); 84 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 98 Type.Builder b = new Type.Builder(rs, obj.mElement); 114 if (t.getElement() != obj.mElement) { 134 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 135 mIOBuffer.reset(index * mElement.getBytesSize()); 144 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 157 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptField_MyStruct.java.expect | 58 mElement = createElement(rs); 64 mElement = createElement(rs); 71 mElement = createElement(rs); 77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 91 Type.Builder b = new Type.Builder(rs, obj.mElement); 107 if (t.getElement() != obj.mElement) { 121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 122 mIOBuffer.reset(index * mElement.getBytesSize()); 131 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 144 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | ScriptField_MyStruct.java.expect | 58 mElement = createElement(rs); 64 mElement = createElement(rs); 71 mElement = createElement(rs); 77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 91 Type.Builder b = new Type.Builder(rs, obj.mElement); 107 if (t.getElement() != obj.mElement) { 121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 122 mIOBuffer.reset(index * mElement.getBytesSize()); 131 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 144 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
D | ScriptField_MyStruct.java.expect | 58 mElement = createElement(rs); 64 mElement = createElement(rs); 71 mElement = createElement(rs); 77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 91 Type.Builder b = new Type.Builder(rs, obj.mElement); 107 if (t.getElement() != obj.mElement) { 121 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 122 mIOBuffer.reset(index * mElement.getBytesSize()); 131 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 144 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
D | ScriptField_NonDivergent.java.expect | 57 mElement = createElement(rs); 63 mElement = createElement(rs); 70 mElement = createElement(rs); 76 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 90 Type.Builder b = new Type.Builder(rs, obj.mElement); 106 if (t.getElement() != obj.mElement) { 119 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 120 mIOBuffer.reset(index * mElement.getBytesSize()); 129 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 142 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
D | ScriptField_Divergent.java.expect | 67 mElement = createElement(rs); 73 mElement = createElement(rs); 80 mElement = createElement(rs); 86 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 100 Type.Builder b = new Type.Builder(rs, obj.mElement); 116 if (t.getElement() != obj.mElement) { 132 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 133 mIOBuffer.reset(index * mElement.getBytesSize()); 142 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 155 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
D | ScriptField_DivergentNest.java.expect | 68 mElement = createElement(rs); 74 mElement = createElement(rs); 81 mElement = createElement(rs); 87 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 101 Type.Builder b = new Type.Builder(rs, obj.mElement); 117 if (t.getElement() != obj.mElement) { 137 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 138 mIOBuffer.reset(index * mElement.getBytesSize()); 147 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 160 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
/frameworks/compile/slang/tests/P_struct_field/ |
D | ScriptField_InnerOne.java.expect | 59 mElement = createElement(rs); 65 mElement = createElement(rs); 72 mElement = createElement(rs); 78 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 92 Type.Builder b = new Type.Builder(rs, obj.mElement); 108 if (t.getElement() != obj.mElement) { 122 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 123 mIOBuffer.reset(index * mElement.getBytesSize()); 132 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 145 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
D | ScriptField_InnerTwo.java.expect | 60 mElement = createElement(rs); 66 mElement = createElement(rs); 73 mElement = createElement(rs); 79 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 93 Type.Builder b = new Type.Builder(rs, obj.mElement); 109 if (t.getElement() != obj.mElement) { 125 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 126 mIOBuffer.reset(index * mElement.getBytesSize()); 135 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 148 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
D | ScriptField_Outer.java.expect | 86 mElement = createElement(rs); 92 mElement = createElement(rs); 99 mElement = createElement(rs); 105 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages); 119 Type.Builder b = new Type.Builder(rs, obj.mElement); 135 if (t.getElement() != obj.mElement) { 179 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… 180 mIOBuffer.reset(index * mElement.getBytesSize()); 189 FieldPacker fp = new FieldPacker(mElement.getBytesSize()); 202 …if (mIOBuffer == null) mIOBuffer = new FieldPacker(mElement.getBytesSize() * getType().getX()/* co… [all …]
|
/frameworks/rs/ |
D | rsType.h | 69 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes() 70 size_t getPackedSizeBytes() const {return mCellCount * mElement->getSizeBytes();} in getPackedSizeBytes() 71 const Element * getElement() const {return mElement.get();} in getElement() 145 ObjectBaseRef<const Element> mElement; variable
|
D | rsType.cpp | 63 mElement.clear(); in clear() 148 mHal.state.element = mElement.get(); in compute() 161 mElement->dumpLOGV(buf); in dumpLOGV() 169 mElement->serialize(rsc, stream); in serialize() 267 nt->mElement.set(e); in getTypeRef() 303 return getTypeRef(rsc, mElement.get(), &p, sizeof(p)); in cloneAndResize1D() 317 return getTypeRef(rsc, mElement.get(), &p, sizeof(p)); in cloneAndResize2D()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderDicom.java | 57 int mElement; field in LoaderDicom.Element 66 Integer.toHexString(mElement) + "(" + in toString() 129 put(tagInt(e.mGroup, e.mElement), e); in put() 173 if (toAdd.contains(tagInt(e.mGroup, e.mElement))) { in read() 176 if (e.mGroup == 0x7fe0 && e.mElement == 0x10) { in read() 182 if (e.mGroup == 0x7fe0 && e.mElement == 0x10) { in read() 194 e.mElement = mMappedByteBuffer.getShort() & 0xFFFF; in readTag() 196 if (e.mGroup == 0xFFFE && e.mElement == 0xE000) { in readTag()
|