Home
last modified time | relevance | path

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

/frameworks/rs/cpp/
DScriptIntrinsics.cpp28 mElement = e; in ScriptIntrinsic()
48 if (ain->getType()->getElement()->isCompatible(mElement) == false || in forEach()
49 aout->getType()->getElement()->isCompatible(mElement) == false) { in forEach()
57 if (!t->getElement()->isCompatible(mElement)) { in setLUT()
82 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachClear()
83 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachClear()
90 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrc()
91 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachSrc()
98 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachDst()
99 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachDst()
[all …]
DType.cpp75 mElement = NULL; in Type()
106 t->mElement = e; in create()
120 mElement = e; in Builder()
150 if (format != RS_YUV_NONE && !(mElement->isCompatible(Element::YUV(mRS)))) { in setYuvFormat()
203 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, in create()
206 t->mElement = mElement; in create()
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
DrsCppStructs.h1207 sp<const Element> mElement; variable
1229 return mElement; in getElement()
1285 return mElementCount * mElement->getSizeBytes(); in getSizeBytes()
1308 sp<const Element> mElement; variable
1362 sp<const Element> mElement;
1369 return mElement; in getElement()
1402 sp<const Element> mElement;
/frameworks/base/rs/java/android/renderscript/
DType.java54 Element mElement; field in Type
82 return mElement; in getElement()
206 mElement = new Element(elementID, mRS); in updateFromNative()
207 mElement.updateFromNative(); in updateFromNative()
229 t.mElement = e; in createX()
253 t.mElement = e; in createXY()
279 t.mElement = e; in createXYZ()
300 Element mElement; field in Type.Builder
311 mElement = e; in Builder()
408 long id = mRS.nTypeCreate(mElement.getID(mRS), in create()
[all …]
DAllocation.java93 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
101 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
109 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
117 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
351 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64()
352 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64()
356 "64 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt64()
360 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
361 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32()
365 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32()
[all …]
DScriptIntrinsic3DLUT.java29 private Element mElement; field in ScriptIntrinsic3DLUT
33 mElement = e; in ScriptIntrinsic3DLUT()
70 if (!t.getElement().isCompatible(mElement)) { in setLUT()
DScript.java377 protected Element mElement; field in Script.FieldBase
381 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
385 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
392 return mElement; in getElement()
DMesh.java554 Element mElement; field in Mesh.TriangleMeshBuilder
799 mElement = b.create(); in create()
807 smb.addVertexType(mElement, mMaxIndex); in create()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DType.java62 Element mElement; field in Type
84 return mElement; in getElement()
207 Element mElement; field in Type.Builder
218 mElement = e; in Builder()
317 t = TypeThunker.create(rst, mElement, mDimX, mDimY, mDimZ, in create()
320 int id = mRS.nTypeCreate(mElement.getID(mRS), in create()
324 t.mElement = mElement; in create()
DAllocation.java267 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
268 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32()
272 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32()
276 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16()
277 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) { in validateIsInt16()
281 "16 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt16()
285 if ((mType.mElement.mType == Element.DataType.SIGNED_8) || in validateIsInt8()
286 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) { in validateIsInt8()
290 "8 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt8()
294 if (mType.mElement.mType == Element.DataType.FLOAT_32) { in validateIsFloat32()
[all …]
DScriptIntrinsic3DLUT.java32 private Element mElement; field in ScriptIntrinsic3DLUT
36 mElement = e; in ScriptIntrinsic3DLUT()
79 if (!t.getElement().isCompatible(mElement)) { in setLUT()
DScript.java435 protected Element mElement; field in Script.FieldBase
439 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
443 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
450 return mElement; in getElement()
DTypeThunker.java47 mElement = new ElementThunker(rs, t.getElement()); in TypeThunker()
/frameworks/rs/
DrsType.h64 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
65 size_t getPackedSizeBytes() const {return mCellCount * mElement->getSizeBytes();} in getPackedSizeBytes()
66 const Element * getElement() const {return mElement.get();} in getElement()
128 ObjectBaseRef<const Element> mElement; variable
DrsType.cpp61 mElement.clear(); in clear()
145 mHal.state.element = mElement.get(); in compute()
158 mElement->dumpLOGV(buf); in dumpLOGV()
166 mElement->serialize(rsc, stream); in serialize()
259 nt->mElement.set(e); in getTypeRef()
275 return getTypeRef(rsc, mElement.get(), dimX, in cloneAndResize1D()
282 return getTypeRef(rsc, mElement.get(), dimX, dimY, in cloneAndResize2D()
DrsScriptIntrinsic.h31 ObjectBaseRef<const Element> mElement;
DrsScriptIntrinsic.cpp36 mElement.set(e); in init()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.h72 ObjectBaseRef<const Element> mElement; variable
DrsCpuIntrinsic.cpp28 mElement.set(e); in RsdCpuScriptIntrinsic()
DrsCpuIntrinsicResize.cpp47 ObjectBaseRef<const Element> mElement; member in android::renderscript::RsdCpuScriptIntrinsicResize
DrsCpuIntrinsicConvolve3x3.cpp43 ObjectBaseRef<const Element> mElement; member in android::renderscript::RsdCpuScriptIntrinsicConvolve3x3
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd240 mElement = createElement(rs);
247 mElement = createElement(rs);
/frameworks/base/api/
Dsystem-current.txt28145 field protected android.renderscript.Element mElement;
Dcurrent.txt26553 field protected android.renderscript.Element mElement;