Searched refs:mElement (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsic3DLUT.java29 private Element mElement; field in class:ScriptIntrinsic3DLUT
33 mElement = e;
70 if (!t.getElement().isCompatible(mElement)) {
H A DType.java54 Element mElement; field in class:Type
85 return mElement;
235 // mDimLOD; mDimFaces; mElement;
247 mElement = new Element(elementID, mRS);
248 mElement.updateFromNative();
270 t.mElement = e;
294 t.mElement = e;
320 t.mElement = e;
342 Element mElement; field in class:Type.Builder
353 mElement
[all...]
H A DAllocation.java95 return mType.mElement.mType;
103 return mType.mElement.mType;
111 return mType.mElement.mType;
119 return mType.mElement.mType;
364 if ((mType.mElement.mType == Element.DataType.SIGNED_64) ||
365 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) {
369 "64 bit integer source does not match allocation type " + mType.mElement.mType);
373 if ((mType.mElement.mType == Element.DataType.SIGNED_32) ||
374 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) {
378 "32 bit integer source does not match allocation type " + mType.mElement
[all...]
H A DScript.java440 protected Element mElement; field in class:Script.FieldBase
444 mAllocation = Allocation.createSized(rs, mElement, dimx,
450 Allocation.createSized(rs, mElement, dimx,
458 return mElement;
H A DMesh.java560 Element mElement; field in class:Mesh.TriangleMeshBuilder
805 mElement = b.create();
813 smb.addVertexType(mElement, mMaxIndex);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsic3DLUT.java31 private Element mElement; field in class:ScriptIntrinsic3DLUT
37 mElement = e;
81 if (!t.getElement().isCompatible(mElement)) {
H A DType.java62 Element mElement; field in class:Type
84 return mElement;
217 t.mElement = e;
241 t.mElement = e;
267 t.mElement = e;
288 Element mElement; field in class:Type.Builder
299 mElement = e;
394 long id = mRS.nTypeCreate(mElement.getID(mRS),
398 t.mElement = mElement;
[all...]
H A DAllocation.java97 return mType.mElement.mType;
105 return mType.mElement.mType;
113 return mType.mElement.mType;
121 return mType.mElement.mType;
357 if ((mType.mElement.mType == Element.DataType.SIGNED_64) ||
358 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) {
362 "64 bit integer source does not match allocation type " + mType.mElement.mType);
366 if ((mType.mElement.mType == Element.DataType.SIGNED_32) ||
367 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) {
371 "32 bit integer source does not match allocation type " + mType.mElement
[all...]
H A DScript.java427 protected Element mElement; field in class:Script.FieldBase
431 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
435 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
442 return mElement;
/frameworks/rs/cpp/
H A DType.cpp75 mElement = nullptr;
81 // mDimLOD; mDimFaces; mElement;
95 mElement = new Element(elementID, mRS);
96 mElement.updateFromNative();
106 t->mElement = e;
121 mElement = e;
152 if (format != RS_YUV_NONE && !(mElement->isCompatible(Element::YUV(mRS)))) {
216 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ,
219 t->mElement = mElement;
[all...]
H A DScriptIntrinsics.cpp29 mElement = e;
49 if (ain->getType()->getElement()->isCompatible(mElement) == false ||
50 aout->getType()->getElement()->isCompatible(mElement) == false) {
58 if (!t->getElement()->isCompatible(mElement)) {
83 if (in->getType()->getElement()->isCompatible(mElement) == false ||
84 out->getType()->getElement()->isCompatible(mElement) == false) {
91 if (in->getType()->getElement()->isCompatible(mElement) == false ||
92 out->getType()->getElement()->isCompatible(mElement) == false) {
99 if (in->getType()->getElement()->isCompatible(mElement) == false ||
100 out->getType()->getElement()->isCompatible(mElement)
[all...]
H A DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DrsCppStructs.h1276 sp<const Element> mElement; member in class:android::RSC::Type
1298 return mElement;
1354 return mElementCount * mElement->getSizeBytes();
1377 sp<const Element> mElement; member in class:android::RSC::Type::Builder
1434 sp<const Element> mElement; member in class:android::RSC::Script::FieldBase
1441 return mElement;
1474 sp<const Element> mElement; member in class:android::RSC::ScriptIntrinsic
/frameworks/rs/
H A DrsScriptIntrinsic.h31 ObjectBaseRef<const Element> mElement; member in class:android::renderscript::ScriptIntrinsic
H A DrsType.h67 size_t getElementSizeBytes() const {return mElement->getSizeBytes();}
68 size_t getPackedSizeBytes() const {return mCellCount * mElement->getSizeBytes();}
69 const Element * getElement() const {return mElement.get();}
143 ObjectBaseRef<const Element> mElement;
H A DrsScriptIntrinsic.cpp36 mElement.set(e);
H A DrsType.cpp64 mElement.clear();
148 mHal.state.element = mElement.get();
161 mElement->dumpLOGV(buf);
169 mElement->serialize(rsc, stream);
267 nt->mElement.set(e);
303 return getTypeRef(rsc, mElement.get(), &p, sizeof(p));
317 return getTypeRef(rsc, mElement.get(), &p, sizeof(p));
390 // mHal.state.lodCount; mHal.state.faces; mElement; into typeData
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.h69 ObjectBaseRef<const Element> mElement; member in class:android::renderscript::RsdCpuScriptIntrinsic
H A DrsCpuIntrinsic.cpp28 mElement.set(e);
H A DrsCpuIntrinsicConvolve3x3.cpp43 ObjectBaseRef<const Element> mElement; member in class:android::renderscript::RsdCpuScriptIntrinsicConvolve3x3
H A DrsCpuIntrinsicResize.cpp47 ObjectBaseRef<const Element> mElement; member in class:android::renderscript::RsdCpuScriptIntrinsicResize
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java57 int mElement; field in class:LoaderDicom.Element
66 Integer.toHexString(mElement) + "(" +
129 put(tagInt(e.mGroup, e.mElement), e);
173 if (toAdd.contains(tagInt(e.mGroup, e.mElement))) {
176 if (e.mGroup == 0x7fe0 && e.mElement == 0x10) {
182 if (e.mGroup == 0x7fe0 && e.mElement == 0x10) {
194 e.mElement = mMappedByteBuffer.getShort() & 0xFFFF;
196 if (e.mGroup == 0xFFFE && e.mElement == 0xE000) {

Completed in 3387 milliseconds