Home
last modified time | relevance | path

Searched refs:eSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/rs/driver/
DrsdAllocation.cpp378 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D() local
380 ptr += eSize * xoff; in rsdAllocationData1D()
381 uint32_t size = count * eSize; in rsdAllocationData1D()
397 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData2D() local
398 uint32_t lineSize = eSize * w; in rsdAllocationData2D()
413 dst += destW * eSize; in rsdAllocationData2D()
500 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData1D() local
502 ptr += eSize * x; in rsdAllocationElementData1D()
521 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData2D() local
523 ptr += eSize * (x + y * alloc->mHal.state.dimensionX); in rsdAllocationElementData2D()
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_core.c279 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
280 return &p[eSize * x]; in rsGetElementAt()
287 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
289 return &p[eSize * (x + y * dimX)]; in rsGetElementAt()
296 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
299 return &p[eSize * (x + y * dimX + z * dimX * dimY)]; in rsGetElementAt()
/frameworks/base/graphics/java/android/renderscript/
DAllocation.java456 int eSize = mType.mElement.getSizeBytes(); in setFromFieldPacker() local
459 int count = data.length / eSize; in setFromFieldPacker()
460 if ((eSize * count) != data.length) { in setFromFieldPacker()
462 " not divisible by element size " + eSize + "."); in setFromFieldPacker()
484 int eSize = mType.mElement.mElements[component_number].getSizeBytes(); in setFromFieldPacker() local
486 if (data.length != eSize) { in setFromFieldPacker()
488 " does not match component size " + eSize + "."); in setFromFieldPacker()
/frameworks/base/libs/rs/
DrsAllocation.cpp75 const uint32_t eSize = mHal.state.type->getElementSizeBytes(); in data() local
77 if ((count * eSize) != sizeBytes) { in data()
79 (count * eSize), sizeBytes); in data()
90 const uint32_t eSize = mHal.state.elementSizeBytes; in data() local
91 const uint32_t lineSize = eSize * w; in data()
112 uint32_t eSize = mHal.state.elementSizeBytes; in elementData() local
139 uint32_t eSize = mHal.state.elementSizeBytes; in elementData() local
DrsAdapter.cpp163 uint32_t eSize = mAllocation.get()->getType()->getElementSizeBytes(); in subData() local
164 uint32_t lineSize = eSize * w; in subData()