Home
last modified time | relevance | path

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

/frameworks/rs/driver/runtime/
Drs_allocation.c193 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
194 return &p[eSize * x]; in rsGetElementAt()
201 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
203 return &p[(eSize * x) + (y * stride)]; in rsGetElementAt()
210 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
213 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt()
219 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsSetElementAt() local
220 memcpy((void*)&p[eSize * x], ptr, eSize); in rsSetElementAt()
227 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsSetElementAt() local
229 memcpy((void*)&p[(eSize * x) + (y * stride)], ptr, eSize); in rsSetElementAt()
[all …]
/frameworks/rs/
DrsAllocation.cpp117 const size_t eSize = mHal.state.type->getElementSizeBytes(); in data() local
119 if ((count * eSize) != sizeBytes) { in data()
122 (count * eSize), sizeBytes); in data()
147 const size_t eSize = mHal.state.type->getElementSizeBytes(); in read() local
149 if ((count * eSize) != sizeBytes) { in read()
152 (count * eSize), sizeBytes); in read()
163 const size_t eSize = mHal.state.elementSizeBytes; in read() local
164 const size_t lineSize = eSize * w; in read()
181 const size_t eSize = mHal.state.elementSizeBytes; in read() local
182 const size_t lineSize = eSize * w; in read()
[all …]
/frameworks/rs/driver/
DrsdAllocation.cpp800 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D() local
802 size_t size = count * eSize; in rsdAllocationData1D()
820 size_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData2D() local
821 size_t lineSize = eSize * w; in rsdAllocationData2D()
882 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData3D() local
883 uint32_t lineSize = eSize * w; in rsdAllocationData3D()
917 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D() local
922 memcpy(data, ptr, count * eSize); in rsdAllocationRead1D()
929 size_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationRead2D() local
930 size_t lineSize = eSize * w; in rsdAllocationRead2D()
[all …]
DrsdRuntimeStubs.cpp747 const uint32_t eSize = e->getSizeBytes(); in ElementAt1D() local
748 return &p[(eSize * x)]; in ElementAt1D()
784 const uint32_t eSize = e->getSizeBytes(); in ElementAt2D() local
786 return &p[(eSize * x) + (y * stride)]; in ElementAt2D()
828 const uint32_t eSize = e->getSizeBytes(); in ElementAt3D() local
830 return &p[(eSize * x) + (y * stride)]; in ElementAt3D()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java644 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local
648 int count = data_length / eSize; in setFromFieldPacker()
649 if ((eSize * count) != data_length) { in setFromFieldPacker()
651 " not divisible by element size " + eSize + "."); in setFromFieldPacker()
675 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker() local
676 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()
678 if (data_length != eSize) { in setFromFieldPacker()
680 " does not match component size " + eSize + "."); in setFromFieldPacker()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java778 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local
782 int count = data_length / eSize; in setFromFieldPacker()
783 if ((eSize * count) != data_length) { in setFromFieldPacker()
785 " not divisible by element size " + eSize + "."); in setFromFieldPacker()
809 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker() local
810 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()
812 if (data_length != eSize) { in setFromFieldPacker()
814 " does not match component size " + eSize + "."); in setFromFieldPacker()