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

  /frameworks/rs/driver/runtime/
rs_structs.h 62 struct DrvState {
81 } drvState;
  /frameworks/rs/
rsAllocation.h 84 struct DrvState {
104 mutable DrvState drvState;
199 uint8_t * p = (uint8_t *) mHal.drvState.lod[lod].mallocPtr;
201 p += y * mHal.drvState.lod[lod].stride;
202 p += z * mHal.drvState.lod[lod].stride * mHal.drvState.lod[lod].dimY;
  /frameworks/rs/rsov/driver/
rsovAllocation.cpp 33 size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) {
85 alloc->mHal.drvState.lod[0].dimX = type->getDimX();
86 alloc->mHal.drvState.lod[0].dimY = type->getDimY();
87 alloc->mHal.drvState.lod[0].dimZ = type->getDimZ();
88 alloc->mHal.drvState.lod[0].mallocPtr = 0;
91 alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes();
92 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment);
93 alloc->mHal.drvState.lodCount = type->getLODCount();
94 alloc->mHal.drvState.faceCount = type->getDimFaces();
99 size_t o = alloc->mHal.drvState.lod[0].stride
    [all...]
  /frameworks/rs/driver/
rsdAllocation.cpp 87 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr;
88 ptr += face * alloc->mHal.drvState.faceOffset;
89 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride;
90 ptr += yoff * alloc->mHal.drvState.lod[lod].stride;
172 if (!alloc->mHal.drvState.lod[0].mallocPtr) {
186 if (alloc->mHal.drvState.lod[0].mallocPtr) {
187 free(alloc->mHal.drvState.lod[0].mallocPtr);
188 alloc->mHal.drvState.lod[0].mallocPtr = nullptr;
214 alloc->mHal.drvState.lod[0].dimX, alloc->mHal.drvState.lod[0].dimY)
    [all...]

Completed in 167 milliseconds