Lines Matching refs:stride
69 const uint32_t stride = (uint32_t)alloc->mHal.drvState.lod[0].stride; in rsOffset() local
71 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffset()
72 (z * stride * dimY)]; in rsOffset()
80 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsOffsetNs() local
83 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + in rsOffsetNs()
84 (z * stride * dimY)]; in rsOffsetNs()
204 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsGetElementAt() local
205 return &p[(eSize * x) + (y * stride)]; in rsGetElementAt()
213 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsGetElementAt() local
215 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)]; in rsGetElementAt()
230 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsSetElementAt() local
231 local_memcpy((void*)&p[(eSize * x) + (y * stride)], ptr, eSize); in rsSetElementAt()
239 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsSetElementAt() local
241 local_memcpy((void*)&p[(eSize * x) + (y * stride) + (z * stride * dimY)], ptr, eSize); in rsSetElementAt()
322 const size_t stride = alloc->mHal.drvState.lod[1].stride; in rsGetElementAtYuv_uchar_U() local
326 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)]; in rsGetElementAtYuv_uchar_U()
336 const size_t stride = alloc->mHal.drvState.lod[2].stride; in rsGetElementAtYuv_uchar_V() local
340 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)]; in rsGetElementAtYuv_uchar_V()