Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_allocation.c40 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
41 return &p[eSize * x]; in rsGetElementAt()
48 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
50 return &p[(eSize * x) + (y * stride)]; in rsGetElementAt()
57 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local
60 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt()
Drs_sample.c15 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in getElementAt() local
17 return &p[offset + eSize * x]; in getElementAt()
26 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in getElementAt() local
32 stride = type->mHal.state.lodDimX[lod] * eSize; in getElementAt()
35 return &p[offset + (eSize * x) + (y * stride)]; in getElementAt()
/frameworks/support/renderscript/v8/rs_support/
DrsAllocation.cpp73 const size_t eSize = mHal.state.type->getElementSizeBytes(); in data() local
75 if ((count * eSize) != sizeBytes) { in data()
77 (count * eSize), sizeBytes); in data()
88 const size_t eSize = mHal.state.elementSizeBytes; in data() local
89 const size_t lineSize = eSize * w; in data()
110 const size_t eSize = mHal.state.type->getElementSizeBytes(); in read() local
112 if ((count * eSize) != sizeBytes) { in read()
114 (count * eSize), sizeBytes); in read()
124 const size_t eSize = mHal.state.elementSizeBytes; in read() local
125 const size_t lineSize = eSize * w; in read()
[all …]
/frameworks/rs/
DrsAllocation.cpp78 const size_t eSize = mHal.state.type->getElementSizeBytes(); in data() local
80 if ((count * eSize) != sizeBytes) { in data()
82 (count * eSize), sizeBytes); in data()
93 const size_t eSize = mHal.state.elementSizeBytes; in data() local
94 const size_t lineSize = eSize * w; in data()
115 const size_t eSize = mHal.state.type->getElementSizeBytes(); in read() local
117 if ((count * eSize) != sizeBytes) { in read()
119 (count * eSize), sizeBytes); in read()
129 const size_t eSize = mHal.state.elementSizeBytes; in read() local
130 const size_t lineSize = eSize * w; in read()
[all …]
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdAllocation.cpp272 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D() local
274 uint32_t size = count * eSize; in rsdAllocationData1D()
290 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData2D() local
291 uint32_t lineSize = eSize * w; in rsdAllocationData2D()
324 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D() local
326 memcpy(data, ptr, count * eSize); in rsdAllocationRead1D()
334 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationRead2D() local
335 uint32_t lineSize = eSize * w; in rsdAllocationRead2D()
427 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData1D() local
447 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData2D() local
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DAllocation.java471 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local
474 int count = data.length / eSize; in setFromFieldPacker()
475 if ((eSize * count) != data.length) { in setFromFieldPacker()
477 " not divisible by element size " + eSize + "."); in setFromFieldPacker()
500 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker() local
501 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()
503 if (data.length != eSize) { in setFromFieldPacker()
505 " does not match component size " + eSize + "."); in setFromFieldPacker()
/frameworks/rs/driver/
DrsdAllocation.cpp579 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D() local
581 uint32_t size = count * eSize; in rsdAllocationData1D()
597 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData2D() local
598 uint32_t lineSize = eSize * w; in rsdAllocationData2D()
631 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D() local
633 memcpy(data, ptr, count * eSize); in rsdAllocationRead1D()
641 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationRead2D() local
642 uint32_t lineSize = eSize * w; in rsdAllocationRead2D()
734 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData1D() local
754 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData2D() local
/frameworks/base/graphics/java/android/renderscript/
DAllocation.java579 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local
582 int count = data.length / eSize; in setFromFieldPacker()
583 if ((eSize * count) != data.length) { in setFromFieldPacker()
585 " not divisible by element size " + eSize + "."); in setFromFieldPacker()
608 int eSize = mType.mElement.mElements[component_number].getBytesSize(); in setFromFieldPacker() local
609 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()
611 if (data.length != eSize) { in setFromFieldPacker()
613 " does not match component size " + eSize + "."); in setFromFieldPacker()