Home
last modified time | relevance | path

Searched refs:mAllocation (Results 1 – 14 of 14) sorted by relevance

/frameworks/rs/
DrsAdapter.h36 void setAllocation(Allocation *a) {mAllocation.set(a);} in setAllocation()
38 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} in getDimX()
40 const Type * getBaseType() const {return mAllocation->getType();} in getBaseType()
54 ObjectBaseRef<Allocation> mAllocation;
70 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} in getDimX()
71 uint32_t getDimY() const {return mAllocation->getType()->getLODDimY(mLOD);} in getDimY()
72 const Type * getBaseType() const {return mAllocation->getType();} in getBaseType()
74 void setAllocation(Allocation *a) {mAllocation.set(a);} in setAllocation()
87 ObjectBaseRef<Allocation> mAllocation;
DrsAdapter.cpp41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0); in data()
113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes, 0); in data()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBackingStore.java799 private Allocation mAllocation = null; field in BackingStore.AllocationBacking
823 mAllocation = Allocation.createTyped(mRenderScript, imageType); in allocate()
848 mAllocation.copyFrom(pixels.array()); in syncTo()
851 mAllocation.copyFrom(bitmap); in syncTo()
866 mAllocation.copyFromUnchecked(bytes); in syncTo()
876 return mAllocation; in lock()
895 if (mAllocation != null) { in destroy()
896 mAllocation.destroy(); in destroy()
897 mAllocation = null; in destroy()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java428 protected Allocation mAllocation; field in Script.FieldBase
431 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
435mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
446 return mAllocation.getType(); in getType()
450 return mAllocation; in getAllocation()
DScriptGroup.java55 Allocation mAllocation; field in ScriptGroup.IO
79 Allocation mAllocation; field in ScriptGroup.ConnectLine
482 mInputs[ct].mAllocation = a; in setInput()
506 mOutputs[ct].mAllocation = a; in setOutput()
536 if (l.mAllocation !=null) { in execute()
545 l.mAllocation = alloc; in execute()
548 n.mOutputs.get(ct3).mAllocation = alloc; in execute()
560 ain = nodeInput.mAllocation; in execute()
566 ain = sgInput.mAllocation; in execute()
572 aout = nodeOutput.mAllocation; in execute()
[all …]
/frameworks/base/rs/java/android/renderscript/
DScript.java441 protected Allocation mAllocation; field in Script.FieldBase
444 mAllocation = Allocation.createSized(rs, mElement, dimx, in init()
449 mAllocation = in init()
462 return mAllocation.getType(); in getType()
466 return mAllocation; in getAllocation()
DScriptGroup.java48 Allocation mAllocation; field in ScriptGroup.IO
461 mInputs[ct].mAllocation = a; in setInput()
483 mOutputs[ct].mAllocation = a; in setOutput()
/frameworks/rs/cpp/
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
DrsCppStructs.h1435 sp<Allocation> mAllocation; variable
1445 return mAllocation->getType(); in getType()
1449 return mAllocation; in getAllocation()
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd264 mAllocation.setFromFieldPacker(index, mIOBuffer);
283 mAllocation.setFromFieldPacker(index, 0, fp);
297 mAllocation.setFromFieldPacker(index, 1, fp);
313 mAllocation.setFromFieldPacker(0, mIOBuffer);
325 mAllocation.resize(newSize);
/frameworks/support/v8/renderscript/api/
D23.txt635 field protected android.support.v8.renderscript.Allocation mAllocation;
Dcurrent.txt635 field protected android.support.v8.renderscript.Allocation mAllocation;
/frameworks/base/api/
Dcurrent.txt27819 field protected android.renderscript.Allocation mAllocation;
Dsystem-current.txt29878 field protected android.renderscript.Allocation mAllocation;