HomeSort by relevance Sort by last modified time
    Searched refs:mHal (Results 26 - 50 of 68) sorted by null

12 3

  /frameworks/base/services/java/com/android/server/
ConsumerIrService.java 58 private final int mHal;
68 mHal = halOpen();
70 if (mHal == 0) {
73 } else if (mHal != 0) {
80 return mHal != 0;
84 if (mHal == 0) {
114 int err = halTransmit(mHal, carrierFrequency, pattern);
132 return halGetCarrierFrequencies(mHal);
  /frameworks/rs/driver/
rsdBcc.cpp 45 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
51 script->mHal.drv = cs;
57 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
62 s->mHal.drv = cs;
76 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
82 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
87 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
92 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
100 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv;
106 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv
    [all...]
rsdCore.cpp 174 return (RsdCpuReference::CpuScript *)s->mHal.drv;
180 rsc->mHal.funcs = FunctionTable;
187 rsc->mHal.drv = dc;
209 rsc->mHal.funcs.allocRuntimeMem,
210 rsc->mHal.funcs.freeRuntimeMem);
219 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
231 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
233 rsc->mHal.drv = NULL;
rsdProgramRaster.cpp 36 switch (pr->mHal.state.cull) {
rsdPath.cpp 66 DrvPath *dp = (DrvPath *)m->mHal.drv;
79 m->mHal.drv = dps;
91 DrvPath *drv = (DrvPath *)m->mHal.drv;
100 m->mHal.drv = NULL;
147 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
  /frameworks/rs/
rsMesh.h 56 Hal mHal;
69 mHal.state.vertexBuffers[index] = vb;
74 mHal.state.indexBuffers[index] = idx;
75 mHal.state.primitives[index] = prim;
rsProgramFragment.cpp 33 mRSC->mHal.funcs.fragment.init(mRSC, this, mUserShader, mUserShaderLen,
38 mRSC->mHal.funcs.fragment.destroy(mRSC, this);
47 if (mHal.state.constants[0] == NULL) {
56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
68 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) {
69 if (!mHal.state.textures[ct]) {
76 rsc->mHal.funcs.fragment.setActive(rsc, this)
    [all...]
rsScriptC.cpp 60 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this);
61 mRSC->mHal.funcs.script.destroy(mRSC, this);
110 for (uint32_t ct=0; ct < mHal.info.exportedVariableCount; ct++) {
117 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
139 if (mHal.info.root == NULL) {
150 ALOGV("%p ScriptC::run invoking root, ptr %p", rsc, mHal.info.root);
153 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this);
177 AString->append(mHal.info.exportedForeachFuncList[slot].first);
187 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
196 if (slot >= mHal.info.exportedFunctionCount)
    [all...]
rsScript.cpp 25 memset(&mHal, 0, sizeof(mHal));
46 if (slot >= mHal.info.exportedVariableCount) {
53 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
58 if (slot >= mHal.info.exportedVariableCount) {
62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len);
67 if (slot >= mHal.info.exportedVariableCount) {
71 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len);
76 if (slot >= mHal.info.exportedVariableCount) {
80 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot
    [all...]
rsScriptIntrinsic.cpp 30 mRSC->mHal.funcs.script.destroy(mRSC, this);
40 rsc->mHal.funcs.script.initIntrinsic(rsc, this, iid, e);
67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
rsElement.cpp 30 memset(&mHal, 0, sizeof(mHal));
57 delete [] mHal.state.fields;
58 delete [] mHal.state.fieldArraySizes;
59 delete [] mHal.state.fieldNames;
60 delete [] mHal.state.fieldNameLengths;
61 delete [] mHal.state.fieldOffsetBytes;
166 mHal.state.dataType = mComponent.getType();
167 mHal.state.dataKind = mComponent.getKind();
168 mHal.state.vectorSize = mComponent.getVectorSize()
    [all...]
rsAllocation.h 95 Hal mHal;
105 const Type * getType() const {return mHal.state.type;}
140 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0;
143 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) != 0;
146 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) != 0;
149 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) != 0;
158 return mHal.state.mipmapControl != RS_ALLOCATION_MIPMAP_NONE;
171 mHal.state.type = t;
rsFBOCache.h 53 Hal mHal;
rsPath.h 37 } mHal;
rsProgramRaster.h 46 Hal mHal;
rsScriptGroup.cpp 27 if (mRSC->mHal.funcs.scriptgroup.destroy) {
28 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this);
249 if (rsc->mHal.funcs.scriptgroup.init) {
250 rsc->mHal.funcs.scriptgroup.init(rsc, sg);
261 if (rsc->mHal.funcs.scriptgroup.setInput) {
262 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a);
275 if (rsc->mHal.funcs.scriptgroup.setOutput) {
276 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a);
286 if (rsc->mHal.funcs.scriptgroup.execute) {
287 rsc->mHal.funcs.scriptgroup.execute(rsc, this)
    [all...]
rsContext.cpp 65 if (!mHal.funcs.initGraphics(this)) {
77 mHal.funcs.shutdownGraphics(this);
356 rsc->mHal.funcs.setPriority(rsc, rsc->mThreadPriority);
434 rsc->mHal.funcs.swap(rsc);
501 mHal.funcs.setPriority(this, mThreadPriority);
611 if (mHal.funcs.shutdownDriver) {
612 mHal.funcs.shutdownDriver(this);
629 mHal.funcs.setSurface(this, w, h, sur);
642 for (uint32_t i = 0; i < mFBOCache.mHal.state.colorTargetsCount; i ++) {
643 if (mFBOCache.mHal.state.colorTargets[i] != NULL)
    [all...]
rsProgram.h 59 Hal mHal;
  /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;
27 return alloc->mHal.state.hasMipmaps;
33 return alloc->mHal.state.hasFaces;
44 Type_t *type = (Type_t *)alloc->mHal.state.type;
45 rs_element returnElem = {type->mHal.state.element};
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
    [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...]
  /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;
75 istep = sl->ins[ct]->mHal.state.elementSizeBytes;
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;
89 ostep = sl->outs[ct]->mHal.state.elementSizeBytes;
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
    [all...]
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;
179 s->mHal.info.exportedVariableCount = 1;
rsCpuIntrinsicLUT.cpp 66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
92 s->mHal.info.exportedVariableCount = 1;
rsCpuScript.cpp 709 script->mHal.info.exportedFunctionCount = info->getExportFuncNames().size();
710 script->mHal.info.exportedVariableCount = info->getExportVarNames().size();
711 script->mHal.info.exportedForeachFuncList = info->getExportForeachFuncs().array();
712 script->mHal.info.exportedPragmaCount = info->getPragmas().size();
713 script->mHal.info.exportedPragmaKeyList =
715 script->mHal.info.exportedPragmaValueList =
719 script->mHal.info.root = mRootExpand;
721 script->mHal.info.root = mRoot;
725 script->mHal.info.exportedFunctionCount = mExportedFunctionCount;
726 script->mHal.info.exportedVariableCount = mExportedVariableCount
    [all...]

Completed in 106 milliseconds

12 3