Lines Matching refs:sizeBytes
183 uint32_t count, const void *data, size_t sizeBytes) { in data() argument
186 if ((count * eSize) != sizeBytes) { in data()
189 (count * eSize), sizeBytes); in data()
195 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
200 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in data() argument
201 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
207 … uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { in data() argument
208 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data()
213 uint32_t count, void *data, size_t sizeBytes) { in read() argument
216 if ((count * eSize) != sizeBytes) { in read()
219 (count * eSize), sizeBytes); in read()
225 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read()
229 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in read() argument
235 if ((lineSize * h) != sizeBytes) { in read()
237 … sprintf(buf, "Allocation size mismatch, expected %zu, got %zu", (lineSize * h), sizeBytes); in read()
243 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
247 … uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { in read() argument
254 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read()
259 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() argument
284 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
289 rsc->mHal.funcs.allocation.elementData(rsc, this, x, y, z, data, cIdx, sizeBytes); in elementData()
294 void *data, uint32_t cIdx, size_t sizeBytes) { in elementRead() argument
319 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementRead()
324 rsc->mHal.funcs.allocation.elementRead(rsc, this, x, y, z, data, cIdx, sizeBytes); in elementRead()
656 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationCopyToBitmap() argument
660 t->getDimX(), t->getDimY(), data, sizeBytes, 0); in rsi_AllocationCopyToBitmap()
664 uint32_t count, const void *data, size_t sizeBytes) { in rsi_Allocation1DData() argument
666 a->data(rsc, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DData()
670 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_Allocation1DElementData() argument
672 a->elementData(rsc, x, 0, 0, data, eoff, sizeBytes); in rsi_Allocation1DElementData()
676 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementData() argument
678 a->elementData(rsc, x, y, z, data, eoff, sizeBytes); in rsi_AllocationElementData()
682 … uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation2DData() argument
684 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
688 … uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation3DData() argument
690 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DData()
694 void rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationRead() argument
699 data, sizeBytes, 0); in rsi_AllocationRead()
702 t->getDimX(), t->getDimY(), data, sizeBytes, 0); in rsi_AllocationRead()
704 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes); in rsi_AllocationRead()
732 const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCreateFromBitmap() argument
743 t->getDimX(), t->getDimY(), data, sizeBytes, 0); in rsi_AllocationCreateFromBitmap()
754 … const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCubeCreateFromBitmap() argument
854 uint32_t count, void *data, size_t sizeBytes) { in rsi_Allocation1DRead() argument
856 rsc->mHal.funcs.allocation.read1D(rsc, a, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DRead()
860 uint32_t lod, void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementRead() argument
862 a->elementRead(rsc, x, y, z, data, eoff, sizeBytes); in rsi_AllocationElementRead()
867 uint32_t h, void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation2DRead() argument
869 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DRead()
875 void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation3DRead() argument
877 a->read(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); in rsi_Allocation3DRead()