Home
last modified time | relevance | path

Searched refs:mScratch (Results 1 – 1 of 1) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp41 void **mScratch; member in android::renderscript::RsdCpuScriptIntrinsicBlur
317 if ((info->dim.x > cp->mScratchSize[info->lid]) || !cp->mScratch[info->lid]) { in kernelU4()
319 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16); in kernelU4()
323 buf = (float4 *) ((((intptr_t)cp->mScratch[info->lid]) + 15) & ~0xf); in kernelU4()
456 mScratch = new void *[mCtx->getThreadCount()]; in RsdCpuScriptIntrinsicBlur()
458 memset(mScratch, 0, sizeof(void *) * mCtx->getThreadCount()); in RsdCpuScriptIntrinsicBlur()
466 if (mScratch) { in ~RsdCpuScriptIntrinsicBlur()
468 if (mScratch[i]) { in ~RsdCpuScriptIntrinsicBlur()
469 free(mScratch[i]); in ~RsdCpuScriptIntrinsicBlur()
472 delete []mScratch; in ~RsdCpuScriptIntrinsicBlur()