Lines Matching refs:sizeBytes
77 uint32_t count, const void *data, size_t sizeBytes) { in data() argument
80 if ((count * eSize) != sizeBytes) { in data()
82 (count * eSize), sizeBytes); in data()
87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
92 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { in data() argument
98 if ((lineSize * h) != sizeBytes) { in data()
99 ALOGE("Allocation size mismatch, expected %zu, got %zu", (lineSize * h), sizeBytes); in data()
104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data()
110 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) { in data() argument
114 uint32_t count, void *data, size_t sizeBytes) { in read() argument
117 if ((count * eSize) != sizeBytes) { in read()
119 (count * eSize), sizeBytes); in read()
124 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read()
128 uint32_t w, uint32_t h, void *data, size_t sizeBytes) { in read() argument
132 if ((lineSize * h) != sizeBytes) { in read()
133 ALOGE("Allocation size mismatch, expected %zu, got %zu", (lineSize * h), sizeBytes); in read()
138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in read()
143 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) { in read() argument
147 uint32_t cIdx, size_t sizeBytes) { in elementData() argument
164 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
165 …location::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes… in elementData()
170 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes); in elementData()
175 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() argument
198 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
199 …location::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes… in elementData()
204 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes); in elementData()
497 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationCopyToBitmap() argument
501 t->getDimX(), t->getDimY(), data, sizeBytes); in rsi_AllocationCopyToBitmap()
505 uint32_t count, const void *data, size_t sizeBytes) { in rsi_Allocation1DData() argument
507 a->data(rsc, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DData()
511 const void *data, size_t sizeBytes, size_t eoff) { in rsi_Allocation2DElementData() argument
513 a->elementData(rsc, x, y, data, eoff, sizeBytes); in rsi_Allocation2DElementData()
517 const void *data, size_t sizeBytes, size_t eoff) { in rsi_Allocation1DElementData() argument
519 a->elementData(rsc, x, data, eoff, sizeBytes); in rsi_Allocation1DElementData()
523 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) { in rsi_Allocation2DData() argument
525 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes); in rsi_Allocation2DData()
528 void rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationRead() argument
533 t->getDimX(), t->getDimY(), data, sizeBytes); in rsi_AllocationRead()
535 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes); in rsi_AllocationRead()
563 const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCreateFromBitmap() argument
574 t->getDimX(), t->getDimY(), data, sizeBytes); in rsi_AllocationCreateFromBitmap()
585 … const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCubeCreateFromBitmap() argument