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

  /frameworks/rs/
rsGrallocConsumer.cpp 40 uint32_t y = a->mHal.drvState.lod[0].dimY;
42 mConsumer->setDefaultBufferSize(a->mHal.drvState.lod[0].dimX, y);
126 mAlloc->mHal.drvState.lod[0].mallocPtr = reinterpret_cast<uint8_t*>(bufferPointer);
127 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() *
132 assert(mAlloc->mHal.drvState.lod[0].dimX ==
134 assert(mAlloc->mHal.drvState.lod[0].dimY ==
145 mAlloc->mHal.drvState.lod[1].mallocPtr = ycbcr.cr;
146 mAlloc->mHal.drvState.lod[2].mallocPtr = ycbcr.cb;
148 mAlloc->mHal.drvState.lod[0].stride = ycbcr.ystride;
149 mAlloc->mHal.drvState.lod[1].stride = ycbcr.cstride
    [all...]
rsAllocation.cpp 178 if (x >= mHal.drvState.lod[0].dimX) {
200 if (x >= mHal.drvState.lod[0].dimX) {
206 if (y >= mHal.drvState.lod[0].dimY) {
255 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl);
442 uint32_t oldDimX = mHal.drvState.lod[0].dimX;
rsAllocation.h 75 struct DrvState {
92 mutable DrvState drvState;
  /frameworks/rs/driver/
rsdAllocation.cpp 95 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
96 ptr += face * alloc->mHal.drvState.faceOffset;
97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride;
98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride;
180 if (!alloc->mHal.drvState.lod[0].mallocPtr) {
194 if (alloc->mHal.drvState.lod[0].mallocPtr) {
195 free(alloc->mHal.drvState.lod[0].mallocPtr);
196 alloc->mHal.drvState.lod[0].mallocPtr = NULL;
222 alloc->mHal.drvState.lod[0].dimX, alloc->mHal.drvState.lod[0].dimY)
    [all...]
rsdMeshObj.cpp 154 mAttribs[ct].ptr = (const uint8_t*)alloc->mHal.drvState.lod[0].mallocPtr;
175 idxAlloc->mHal.drvState.lod[0].mallocPtr);
rsdRuntimeStubs.cpp 586 uint8_t *p = (uint8_t *)a->mHal.drvState.lod[0].mallocPtr;
623 uint8_t *p = (uint8_t *)a->mHal.drvState.lod[0].mallocPtr;
625 const uint32_t stride = a->mHal.drvState.lod[0].stride;
667 uint8_t *p = (uint8_t *)a->mHal.drvState.lod[0].mallocPtr;
669 const uint32_t stride = a->mHal.drvState.lod[0].stride;
    [all...]
rsdShader.cpp 532 const uint8_t *data = static_cast<const uint8_t *>(alloc->mHal.drvState.lod[0].mallocPtr);
  /frameworks/rs/driver/runtime/
rs_allocation.c 9 return alloc->mHal.drvState.lod[0].dimX;
15 return alloc->mHal.drvState.lod[0].dimY;
21 return alloc->mHal.drvState.lod[0].dimZ;
109 uint8_t *p = (uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr;
110 const uint32_t stride = alloc->mHal.drvState.lod[0].stride;
111 const uint32_t dimY = alloc->mHal.drvState.lod[0].dimY;
165 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr;
173 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr;
175 const uint32_t stride = alloc->mHal.drvState.lod[0].stride;
182 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[0].mallocPtr
    [all...]
rs_sample.c 273 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
323 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
324 size_t stride = alloc->mHal.drvState.lod[lod].stride;
352 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
389 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
390 size_t stride = alloc->mHal.drvState.lod[lod].stride;
427 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
429 int32_t sourceW = alloc->mHal.drvState.lod[lod].dimX;
459 int32_t sourceW = alloc->mHal.drvState.lod[lod].dimX;
473 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr
    [all...]
rs_structs.h 46 struct DrvState {
62 } drvState;
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicYuvToRGB.cpp 121 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
127 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride;
130 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) {
139 size_t cstep = cp->alloc->mHal.drvState.yuv.step;
141 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr;
142 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride;
145 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr;
146 const size_t strideV = cp->alloc->mHal.drvState.lod[2].stride;
152 //ALOGE("dimX, %d, dimY, %d", cp->alloc->mHal.drvState.lod[0].dimX, cp->alloc->mHal.drvState.lod[0].dimY)
    [all...]
rsCpuScriptGroup.cpp 74 mp->ptrIn = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr;
78 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->y;
80 if (sl->ins[ct]->mHal.drvState.lod[0].dimY > p->lid) {
81 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->lid;
87 mp->ptrOut = (uint8_t *)sl->outs[ct]->mHal.drvState.lod[0].mallocPtr;
91 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->y;
93 if (sl->outs[ct]->mHal.drvState.lod[0].dimY > p->lid) {
94 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->lid;
rsCpuIntrinsic3DLUT.cpp 70 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr;
73 cp->mLUT->mHal.drvState.lod[0].dimX - 1,
74 cp->mLUT->mHal.drvState.lod[0].dimY - 1,
75 cp->mLUT->mHal.drvState.lod[0].dimZ - 1,
80 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride;
81 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
rsCpuIntrinsicLUT.cpp 66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
rsCpuIntrinsicConvolve3x3.cpp 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;
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;
287 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
288 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
332 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
333 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
377 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
378 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride
    [all...]
rsCpuIntrinsicConvolve5x5.cpp 357 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
358 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride;
406 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
407 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride;
455 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
456 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride;
504 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
505 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride;
553 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
554 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride
    [all...]
rsCpuScript.cpp 751 if (ain && (const uint8_t *)ain->mHal.drvState.lod[0].mallocPtr == NULL) {
755 if (aout && (const uint8_t *)aout->mHal.drvState.lod[0].mallocPtr == NULL) {
828 mtls->fep.ptrIn = (const uint8_t *)ain->mHal.drvState.lod[0].mallocPtr;
830 mtls->fep.yStrideIn = ain->mHal.drvState.lod[0].stride;
836 mtls->fep.ptrOut = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr;
838 mtls->fep.yStrideOut = aout->mHal.drvState.lod[0].stride;
    [all...]
rsCpuIntrinsicBlur.cpp 283 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
284 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
344 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
345 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
rsCpuIntrinsicHistogram.cpp 149 unsigned int *o = (unsigned int *)mAllocOut->mHal.drvState.lod[0].mallocPtr;

Completed in 238 milliseconds