Searched refs:eSize (Results 1 – 6 of 6) sorted by relevance
193 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local194 return &p[eSize * x]; in rsGetElementAt()201 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local203 return &p[(eSize * x) + (y * stride)]; in rsGetElementAt()210 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt() local213 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt()219 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsSetElementAt() local220 memcpy((void*)&p[eSize * x], ptr, eSize); in rsSetElementAt()227 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsSetElementAt() local229 memcpy((void*)&p[(eSize * x) + (y * stride)], ptr, eSize); in rsSetElementAt()[all …]
117 const size_t eSize = mHal.state.type->getElementSizeBytes(); in data() local119 if ((count * eSize) != sizeBytes) { in data()122 (count * eSize), sizeBytes); in data()147 const size_t eSize = mHal.state.type->getElementSizeBytes(); in read() local149 if ((count * eSize) != sizeBytes) { in read()152 (count * eSize), sizeBytes); in read()163 const size_t eSize = mHal.state.elementSizeBytes; in read() local164 const size_t lineSize = eSize * w; in read()181 const size_t eSize = mHal.state.elementSizeBytes; in read() local182 const size_t lineSize = eSize * w; in read()[all …]
800 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationData1D() local802 size_t size = count * eSize; in rsdAllocationData1D()820 size_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData2D() local821 size_t lineSize = eSize * w; in rsdAllocationData2D()882 uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationData3D() local883 uint32_t lineSize = eSize * w; in rsdAllocationData3D()917 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes(); in rsdAllocationRead1D() local922 memcpy(data, ptr, count * eSize); in rsdAllocationRead1D()929 size_t eSize = alloc->mHal.state.elementSizeBytes; in rsdAllocationRead2D() local930 size_t lineSize = eSize * w; in rsdAllocationRead2D()[all …]
747 const uint32_t eSize = e->getSizeBytes(); in ElementAt1D() local748 return &p[(eSize * x)]; in ElementAt1D()784 const uint32_t eSize = e->getSizeBytes(); in ElementAt2D() local786 return &p[(eSize * x) + (y * stride)]; in ElementAt2D()828 const uint32_t eSize = e->getSizeBytes(); in ElementAt3D() local830 return &p[(eSize * x) + (y * stride)]; in ElementAt3D()
644 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local648 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() local676 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()678 if (data_length != eSize) { in setFromFieldPacker()680 " does not match component size " + eSize + "."); in setFromFieldPacker()
778 int eSize = mType.mElement.getBytesSize(); in setFromFieldPacker() local782 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() local810 eSize *= mType.mElement.mArraySizes[component_number]; in setFromFieldPacker()812 if (data_length != eSize) { in setFromFieldPacker()814 " does not match component size " + eSize + "."); in setFromFieldPacker()