Searched refs:mAlloc (Results 1 - 11 of 11) sorted by relevance

/frameworks/rs/
H A DrsGrallocConsumer.cpp28 mAlloc = new Allocation *[numAlloc];
32 mAlloc[0] = a;
67 delete[] mAlloc;
75 if (consumer->mAlloc[i] != nullptr) {
76 intptr_t ip = (intptr_t)(consumer->mAlloc[i]);
158 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = data;
159 mAlloc[idx]->mHal.drvState.lod[0].stride = rowstride;
160 mAlloc[idx]->mHal.state.nativeBuffer = hardwareBuffer;
161 mAlloc[idx]->mHal.state.timestamp = timestamp;
164 const int yWidth = mAlloc[id
[all...]
H A DrsScriptGroup.cpp42 input->mAlloc.clear();
46 output->mAlloc.clear();
231 if (l->mAlloc.get()) {
236 l->mAlloc = alloc;
240 n->mOutputs[ct3]->mAlloc = alloc;
256 mInputs[ct]->mAlloc = a;
270 mOutputs[ct]->mAlloc = a;
283 if (mInputs[i]->mAlloc.get() == nullptr) {
290 if (mOutputs[i]->mAlloc.get() == nullptr) {
320 ain = n->mInputs[ct3]->mAlloc
[all...]
H A DrsGrallocConsumer.h57 Allocation **mAlloc; member in class:android::renderscript::GrallocConsumer
H A DrsFileA3D.cpp31 mAlloc = nullptr;
54 if (mAlloc) {
55 free(mAlloc);
186 mAlloc = malloc(mDataSize);
187 if (!mAlloc) {
190 mData = (uint8_t *)mAlloc;
191 len = fread(mAlloc, 1, mDataSize, f);
H A DrsScriptGroup.h52 ObjectBaseRef<Allocation> mAlloc; member in class:android::renderscript::ScriptGroup::Link
74 ObjectBaseRef<Allocation> mAlloc; member in class:android::renderscript::ScriptGroup::IO
H A DrsFileA3D.h87 void * mAlloc; member in class:android::renderscript::FileA3D
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp43 ObjectBaseRef<const Allocation> mAlloc; member in class:android::renderscript::RsdCpuScriptIntrinsicResize
68 mAlloc.set(static_cast<Allocation *>(data));
311 if (!cp->mAlloc.get()) {
315 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
316 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
317 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
318 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
378 if (!cp->mAlloc.get()) {
382 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
383 const int srcHeight = cp->mAlloc
[all...]
H A DrsCpuIntrinsicConvolve3x3.cpp39 ObjectBaseRef<const Allocation> mAlloc; member in class:android::renderscript::RsdCpuScriptIntrinsicConvolve3x3
64 mAlloc.set(static_cast<Allocation *>(data));
184 if (!cp->mAlloc.get()) {
188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
231 if (!cp->mAlloc.get()) {
235 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
236 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
276 if (!cp->mAlloc.get()) {
280 const uchar *pin = (const uchar *)cp->mAlloc
[all...]
H A DrsCpuIntrinsicBlur.cpp45 ObjectBaseRef<Allocation> mAlloc; member in class:android::renderscript::RsdCpuScriptIntrinsicBlur
102 mAlloc.set(static_cast<Allocation *>(data));
296 if (!cp->mAlloc.get()) {
300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
367 if (!cp->mAlloc.get()) {
371 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
372 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
484 mAlloc.clear();
H A DrsCpuScriptGroup.cpp146 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get());
159 ain = n->mInputs[ct3]->mAlloc.get();
166 ain = mSG->mInputs[ct3]->mAlloc.get();
175 aout = n->mOutputs[ct3]->mAlloc.get();
185 aout = mSG->mOutputs[ct3]->mAlloc.get();
/frameworks/base/rs/java/android/renderscript/
H A DProgramVertexFixedFunction.java206 Allocation mAlloc; field in class:ProgramVertexFixedFunction.Constants
208 return mAlloc;
220 mAlloc = Allocation.createTyped(rs, constInputType);
239 mAlloc.destroy();
240 mAlloc = null;
251 mAlloc.setFromFieldPacker(0, mIOBuffer);

Completed in 86 milliseconds