Home | History | Annotate | Download | only in rs

Lines Matching full:sizebytes

98                          uint32_t count, const void *data, size_t sizeBytes) {
101 if ((count * eSize) != sizeBytes) {
103 (count * eSize), sizeBytes);
108 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
113 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
114 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
120 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
121 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
126 uint32_t count, void *data, size_t sizeBytes) {
129 if ((count * eSize) != sizeBytes) {
131 (count * eSize), sizeBytes);
136 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
140 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
146 if ((lineSize * h) != sizeBytes) {
147 ALOGE("Allocation size mismatch, expected %zu, got %zu", (lineSize * h), sizeBytes);
153 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
157 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) {
164 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
169 uint32_t cIdx, size_t sizeBytes) {
186 if (sizeBytes != e->getSizeBytes() * elemArraySize) {
187 ALOGE("Error Allocation::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes());
192 rsc->mHal.funcs.allocation.elementData1D(rsc, this, x, data, cIdx, sizeBytes);
197 const void *data, uint32_t cIdx, size_t sizeBytes) {
220 if (sizeBytes != e->getSizeBytes() * elemArraySize) {
221 ALOGE("Error Allocation::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes());
226 rsc->mHal.funcs.allocation.elementData2D(rsc, this, x, y, data, cIdx, sizeBytes);
534 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) {
538 t->getDimX(), t->getDimY(), data, sizeBytes, 0);
542 uint32_t count, const void *data, size_t sizeBytes) {
544 a->data(rsc, xoff, lod, count, data, sizeBytes);
548 const void *data, size_t sizeBytes, size_t eoff) {
550 a->elementData(rsc, x, y, data, eoff, sizeBytes);
554 const void *data, size_t sizeBytes, size_t eoff) {
556 a->elementData(rsc, x, data, eoff, sizeBytes);
560 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
562 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
566 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
568 a->data(rsc, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
572 void rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) {
577 t->getDimX(), t->getDimY(), data, sizeBytes, 0);
579 a->read(rsc, 0, 0, t->getDimX(), data, sizeBytes);
607 const void *data, size_t sizeBytes, uint32_t usages) {
618 t->getDimX(), t->getDimY(), data, sizeBytes, 0);
629 const void *data, size_t sizeBytes, uint32_t usages) {
720 uint32_t count, void *data, size_t sizeBytes) {
722 rsc->mHal.funcs.allocation.read1D(rsc, a, xoff, lod, count, data, sizeBytes);
727 uint32_t h, void *data, size_t sizeBytes, size_t stride) {
729 a->read(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);