Searched refs:eSize (Results 1 – 8 of 8) sorted by relevance
40 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local41 return &p[eSize * x]; in rsGetElementAt()48 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local50 return &p[(eSize * x) + (y * stride)]; in rsGetElementAt()57 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local60 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt()
15 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in getElementAt() local17 return &p[offset + eSize * x]; in getElementAt()26 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in getElementAt() local32 stride = type->mHal.state.lodDimX[lod] * eSize; in getElementAt()35 return &p[offset + (eSize * x) + (y * stride)]; in getElementAt()
73 const size_t eSize = mHal.state.type->getElementSizeBytes(); in data() local75 if ((count * eSize) != sizeBytes) { in data()77 (count * eSize), sizeBytes); in data()88 const size_t eSize = mHal.state.elementSizeBytes; in data() local89 const size_t lineSize = eSize * w; in data()110 const size_t eSize = mHal.state.type->getElementSizeBytes(); in read() local112 if ((count * eSize) != sizeBytes) { in read()114 (count * eSize), sizeBytes); in read()124 const size_t eSize = mHal.state.elementSizeBytes; in read() local125 const size_t lineSize = eSize * w; in read()[all …]
78 const size_t eSize = mHal.state.type->getElementSizeBytes(); in data() local80 if ((count * eSize) != sizeBytes) { in data()82 (count * eSize), sizeBytes); in data()93 const size_t eSize = mHal.state.elementSizeBytes; in data() local94 const size_t lineSize = eSize * w; in data()115 const size_t eSize = mHal.state.type->getElementSizeBytes(); in read() local117 if ((count * eSize) != sizeBytes) { in read()119 (count * eSize), sizeBytes); in read()129 const size_t eSize = mHal.state.elementSizeBytes; in read() local130 const size_t lineSize = eSize * w; in read()[all …]
272 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D() local274 uint32_t size = count * eSize; in rsdAllocationData1D()290 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData2D() local291 uint32_t lineSize = eSize * w; in rsdAllocationData2D()324 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D() local326 memcpy(data, ptr, count * eSize); in rsdAllocationRead1D()334 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationRead2D() local335 uint32_t lineSize = eSize * w; in rsdAllocationRead2D()427 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData1D() local447 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData2D() local
471 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local474 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() local501 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()503 if (data.length != eSize) { in setFromFieldPacker()505 " does not match component size " + eSize + "."); in setFromFieldPacker()
579 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D() local581 uint32_t size = count * eSize; in rsdAllocationData1D()597 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData2D() local598 uint32_t lineSize = eSize * w; in rsdAllocationData2D()631 const uint32_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D() local633 memcpy(data, ptr, count * eSize); in rsdAllocationRead1D()641 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationRead2D() local642 uint32_t lineSize = eSize * w; in rsdAllocationRead2D()734 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData1D() local754 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationElementData2D() local
579 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local582 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() local609 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()611 if (data.length != eSize) { in setFromFieldPacker()613 " does not match component size " + eSize + "."); in setFromFieldPacker()