HomeSort by relevance Sort by last modified time
    Searched refs:mAlloc (Results 1 - 16 of 16) sorted by null

  /frameworks/rs/
rsGrallocConsumer.cpp 36 mAlloc = new Allocation *[numAlloc];
40 mAlloc[0] = a;
65 delete[] mAlloc;
147 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = reinterpret_cast<uint8_t*>(bufferPointer);
148 mAlloc[idx]->mHal.drvState.lod[0].stride = mSlots[slot].mGraphicBuffer->getStride() *
149 mAlloc[idx]->mHal.state.type->getElementSizeBytes();
150 mAlloc[idx]->mHal.state.nativeBuffer = mAcquiredBuffer[idx].mGraphicBuffer->getNativeBuffer();
151 mAlloc[idx]->mHal.state.timestamp = b.mTimestamp;
153 rsAssert(mAlloc[idx]->mHal.drvState.lod[0].dimX ==
155 rsAssert(mAlloc[idx]->mHal.drvState.lod[0].dimY =
    [all...]
rsScriptGroup.cpp 42 input->mAlloc.clear();
46 output->mAlloc.clear();
249 if (l->mAlloc.get()) {
256 l->mAlloc = alloc;
260 n->mOutputs[ct3]->mAlloc = alloc;
276 mInputs[ct]->mAlloc = a;
290 mOutputs[ct]->mAlloc = a;
303 if (mInputs[i]->mAlloc.get() == nullptr) {
310 if (mOutputs[i]->mAlloc.get() == nullptr) {
340 ain = n->mInputs[ct3]->mAlloc.get()
    [all...]
rsGrallocConsumer.h 61 Allocation **mAlloc;
rsScriptGroup.h 52 ObjectBaseRef<Allocation> mAlloc;
74 ObjectBaseRef<Allocation> mAlloc;
rsFileA3D.cpp 35 mAlloc = nullptr;
59 if (mAlloc) {
60 free(mAlloc);
175 uint8_t *headerData = (uint8_t *)malloc(headerSize);
200 mAlloc = malloc(mDataSize);
201 if (!mAlloc) {
204 mData = (uint8_t *)mAlloc;
205 len = fread(mAlloc, 1, mDataSize, f);
rsFileA3D.h 86 void * mAlloc;
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicResize.cpp 46 ObjectBaseRef<const Allocation> mAlloc;
75 mAlloc.set(static_cast<Allocation *>(data));
318 if (!cp->mAlloc.get()) {
322 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
323 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
324 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
325 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
385 if (!cp->mAlloc.get()) {
389 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
390 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY
    [all...]
rsCpuIntrinsicConvolve3x3.cpp 42 ObjectBaseRef<const Allocation> mAlloc;
71 mAlloc.set(static_cast<Allocation *>(data));
191 if (!cp->mAlloc.get()) {
195 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
196 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
238 if (!cp->mAlloc.get()) {
242 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
243 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
283 if (!cp->mAlloc.get()) {
287 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr
    [all...]
rsCpuIntrinsicBlur.cpp 45 ObjectBaseRef<Allocation> mAlloc;
105 mAlloc.set(static_cast<Allocation *>(data));
288 if (!cp->mAlloc.get()) {
292 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
293 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
359 if (!cp->mAlloc.get()) {
363 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
364 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
471 mAlloc.clear();
rsCpuScriptGroup.cpp 148 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get());
161 ain = n->mInputs[ct3]->mAlloc.get();
168 ain = mSG->mInputs[ct3]->mAlloc.get();
177 aout = n->mOutputs[ct3]->mAlloc.get();
187 aout = mSG->mOutputs[ct3]->mAlloc.get();
  /hardware/qcom/display/msm8226/liboverlay/
overlayMem.h 98 gralloc::IAllocController* mAlloc;
115 mAlloc = gralloc::IAllocController::getInstance();
150 err = mAlloc->allocate(data, allocFlags);
171 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType);
  /hardware/qcom/display/msm8909/liboverlay/
overlayMem.h 98 gralloc::IAllocController* mAlloc;
115 mAlloc = gralloc::IAllocController::getInstance();
150 err = mAlloc->allocate(data, allocFlags);
171 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType);
  /hardware/qcom/display/msm8960/liboverlay/
overlayMem.h 97 gralloc::IAllocController* mAlloc;
111 mAlloc = gralloc::IAllocController::getInstance();
140 err = mAlloc->allocate(data, allocFlags);
161 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType);
  /hardware/qcom/display/msm8994/liboverlay/
overlayMem.h 98 gralloc::IAllocController* mAlloc;
115 mAlloc = gralloc::IAllocController::getInstance();
150 err = mAlloc->allocate(data, allocFlags);
171 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType);
  /hardware/qcom/display/msm8084/liboverlay/
overlayMem.h 104 gralloc::IAllocController* mAlloc;
125 mAlloc = gralloc::IAllocController::getInstance();
160 err = mAlloc->allocate(data, allocFlags);
189 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType);
  /frameworks/base/rs/java/android/renderscript/
ProgramVertexFixedFunction.java 206 Allocation mAlloc;
208 return mAlloc;
220 mAlloc = Allocation.createTyped(rs, constInputType);
239 mAlloc.destroy();
240 mAlloc = null;
251 mAlloc.setFromFieldPacker(0, mIOBuffer);

Completed in 295 milliseconds