• Home
  • Raw
  • Download

Lines Matching refs:stride

92     ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride;  in GetOffsetPtr()
93 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr()
273 state->lod[2].stride = rsRound(state->lod[0].stride >> 1, 16); in DeriveYUVLayout()
275 (state->lod[0].stride * state->lod[0].dimY); in DeriveYUVLayout()
276 uvSize += state->lod[2].stride * state->lod[2].dimY; in DeriveYUVLayout()
278 state->lod[1].stride = state->lod[2].stride; in DeriveYUVLayout()
280 (state->lod[2].stride * state->lod[2].dimY); in DeriveYUVLayout()
281 uvSize += state->lod[1].stride * state->lod[2].dimY; in DeriveYUVLayout()
285 state->lod[1].stride = state->lod[0].stride; in DeriveYUVLayout()
286 state->lod[2].stride = state->lod[0].stride; in DeriveYUVLayout()
288 (state->lod[0].stride * state->lod[0].dimY); in DeriveYUVLayout()
290 uvSize += state->lod[1].stride * state->lod[1].dimY; in DeriveYUVLayout()
306 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); in AllocationBuildPointerTable() local
307 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment); in AllocationBuildPointerTable()
314 size_t o = alloc->mHal.drvState.lod[0].stride * rsMax(alloc->mHal.drvState.lod[0].dimY, 1u) * in AllocationBuildPointerTable()
330 alloc->mHal.drvState.lod[lod].stride = in AllocationBuildPointerTable()
333 o += alloc->mHal.drvState.lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); in AllocationBuildPointerTable()
616 size_t stride = alloc->mHal.state.elementSizeBytes; in rsdAllocationResize() local
617 memset(((uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr) + stride * oldDimX, in rsdAllocationResize()
618 0, stride * (dimX - oldDimX)); in rsdAllocationResize()
727 … alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes; in IoGetBuffer()
728 rsAssert((alloc->mHal.drvState.lod[0].stride & 0xf) == 0); in IoGetBuffer()
850 … uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in rsdAllocationData2D() argument
855 if (!stride) { in rsdAllocationData2D()
856 stride = lineSize; in rsdAllocationData2D()
875 src += stride; in rsdAllocationData2D()
876 dst += alloc->mHal.drvState.lod[lod].stride; in rsdAllocationData2D()
898 dst += alloc->mHal.drvState.lod[lod].stride; in rsdAllocationData2D()
914 size_t sizeBytes, size_t stride) { in rsdAllocationData3D() argument
919 if (!stride) { in rsdAllocationData3D()
920 stride = lineSize; in rsdAllocationData3D()
941 src += stride; in rsdAllocationData3D()
942 dst += alloc->mHal.drvState.lod[lod].stride; in rsdAllocationData3D()
963 … uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead2D() argument
966 if (!stride) { in rsdAllocationRead2D()
967 stride = lineSize; in rsdAllocationRead2D()
981 dst += stride; in rsdAllocationRead2D()
982 src += alloc->mHal.drvState.lod[lod].stride; in rsdAllocationRead2D()
993 … uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead3D() argument
996 if (!stride) { in rsdAllocationRead3D()
997 stride = lineSize; in rsdAllocationRead3D()
1013 dst += stride; in rsdAllocationRead3D()
1014 src += alloc->mHal.drvState.lod[lod].stride; in rsdAllocationRead3D()