Lines Matching refs:sizeBytes
195 uint32_t count, const void *data, size_t sizeBytes) { in data() argument
198 if ((count * eSize) != sizeBytes) { in data()
202 (count * eSize), sizeBytes); in data()
208 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
213 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in data() argument
214 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
220 … uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { in data() argument
221 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data()
226 uint32_t count, void *data, size_t sizeBytes) { in read() argument
229 if ((count * eSize) != sizeBytes) { in read()
233 (count * eSize), sizeBytes); in read()
239 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read()
243 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in read() argument
249 if ((lineSize * h) != sizeBytes) { in read()
252 (lineSize * h), sizeBytes); in read()
258 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
262 … uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { in read() argument
269 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read()
274 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() argument
297 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
302 rsc->mHal.funcs.allocation.elementData(rsc, this, x, y, z, data, cIdx, sizeBytes); in elementData()
307 void *data, uint32_t cIdx, size_t sizeBytes) { in elementRead() argument
330 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementRead()
335 rsc->mHal.funcs.allocation.elementRead(rsc, this, x, y, z, data, cIdx, sizeBytes); in elementRead()
676 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationCopyToBitmap() argument
680 t->getDimX(), t->getDimY(), data, sizeBytes, 0); in rsi_AllocationCopyToBitmap()
684 uint32_t count, const void *data, size_t sizeBytes) { in rsi_Allocation1DData() argument
686 a->data(rsc, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DData()
690 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_Allocation1DElementData() argument
692 a->elementData(rsc, x, 0, 0, data, eoff, sizeBytes); in rsi_Allocation1DElementData()
696 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementData() argument
698 a->elementData(rsc, x, y, z, data, eoff, sizeBytes); in rsi_AllocationElementData()
702 … uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation2DData() argument
704 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
708 … uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation3DData() argument
710 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DData()
714 void rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationRead() argument
719 data, sizeBytes, 0); in rsi_AllocationRead()
722 t->getDimX(), t->getDimY(), data, sizeBytes, 0); in rsi_AllocationRead()
724 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes); in rsi_AllocationRead()
765 const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCreateFromBitmap() argument
776 t->getDimX(), t->getDimY(), data, sizeBytes, 0); in rsi_AllocationCreateFromBitmap()
787 … const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCubeCreateFromBitmap() argument
898 uint32_t count, void *data, size_t sizeBytes) { in rsi_Allocation1DRead() argument
900 rsc->mHal.funcs.allocation.read1D(rsc, a, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DRead()
904 uint32_t lod, void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementRead() argument
906 a->elementRead(rsc, x, y, z, data, eoff, sizeBytes); in rsi_AllocationElementRead()
911 uint32_t h, void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation2DRead() argument
913 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DRead()
919 void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation3DRead() argument
921 a->read(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DRead()