Lines Matching refs:alloc

7     Allocation_t *alloc = (Allocation_t *)a.p;  in rsAllocationGetDimX()  local
8 return alloc->mHal.drvState.lod[0].dimX; in rsAllocationGetDimX()
13 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimY() local
14 return alloc->mHal.drvState.lod[0].dimY; in rsAllocationGetDimY()
19 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimZ() local
20 return alloc->mHal.drvState.lod[0].dimZ; in rsAllocationGetDimZ()
25 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimLOD() local
26 return alloc->mHal.state.hasMipmaps; in rsAllocationGetDimLOD()
31 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetDimFaces() local
32 return alloc->mHal.state.hasFaces; in rsAllocationGetDimFaces()
38 Allocation_t *alloc = (Allocation_t *)a.p; in rsAllocationGetElement() local
39 if (alloc == NULL) { in rsAllocationGetElement()
43 Type_t *type = (Type_t *)alloc->mHal.state.type; in rsAllocationGetElement()
67 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffset() local
68 uint8_t *p = (uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsOffset()
69 const uint32_t stride = (uint32_t)alloc->mHal.drvState.lod[0].stride; in rsOffset()
70 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffset()
78 Allocation_t *alloc = (Allocation_t *)a.p; in rsOffsetNs() local
79 uint8_t *p = (uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsOffsetNs()
80 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsOffsetNs()
81 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsOffsetNs()
82 const uint32_t sizeOf = alloc->mHal.state.elementSizeBytes;; in rsOffsetNs()
193 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
194 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
195 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt()
201 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
202 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
203 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt()
204 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsGetElementAt()
210 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAt() local
211 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsGetElementAt()
212 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsGetElementAt()
213 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsGetElementAt()
214 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsGetElementAt()
219 Allocation_t *alloc = (Allocation_t *)a.p; in rsSetElementAt() local
220 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
221 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsSetElementAt()
227 Allocation_t *alloc = (Allocation_t *)a.p; in rsSetElementAt() local
228 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
229 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsSetElementAt()
230 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsSetElementAt()
236 Allocation_t *alloc = (Allocation_t *)a.p; in rsSetElementAt() local
237 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr; in rsSetElementAt()
238 const uint32_t eSize = alloc->mHal.state.elementSizeBytes; in rsSetElementAt()
239 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; in rsSetElementAt()
240 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY; in rsSetElementAt()
318 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAtYuv_uchar_U() local
320 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_U()
321 const size_t shift = alloc->mHal.drvState.yuv.shift; in rsGetElementAtYuv_uchar_U()
322 const size_t stride = alloc->mHal.drvState.lod[1].stride; in rsGetElementAtYuv_uchar_U()
324 const uchar *pin = (const uchar *)alloc->mHal.drvState.lod[1].mallocPtr; in rsGetElementAtYuv_uchar_U()
332 Allocation_t *alloc = (Allocation_t *)a.p; in rsGetElementAtYuv_uchar_V() local
334 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_V()
335 const size_t shift = alloc->mHal.drvState.yuv.shift; in rsGetElementAtYuv_uchar_V()
336 const size_t stride = alloc->mHal.drvState.lod[2].stride; in rsGetElementAtYuv_uchar_V()
338 const uchar *pin = (const uchar *)alloc->mHal.drvState.lod[2].mallocPtr; in rsGetElementAtYuv_uchar_V()