Lines Matching refs:alloc
44 ObjectBaseRef<Allocation> alloc; member in android::renderscript::RsdCpuScriptIntrinsicYuvToRGB
54 alloc.set(static_cast<Allocation *>(data)); in setGlobalObj()
102 if (!cp->alloc.get()) { in kernel()
106 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernel()
112 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; in kernel()
115 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { in kernel()
124 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel()
126 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; in kernel()
127 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; in kernel()
130 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; in kernel()
131 const size_t strideV = cp->alloc->mHal.drvState.lod[2].stride; in kernel()
142 v = ((uint8_t *)cp->alloc->mHal.drvState.lod[0].mallocPtr) + in kernel()
214 alloc.clear(); in invokeFreeChildren()