Searched defs:va (Results 1 - 11 of 11) sorted by relevance

/frameworks/rs/cpp/
H A DScript.cpp44 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { argument
45 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
/frameworks/base/rs/java/android/renderscript/
H A DProgramVertexFixedFunction.java39 * @param va allocation containing fixed function matrices
41 public void bindConstants(Constants va) { argument
43 bindConstants(va.getAllocation(), 0);
H A DProgram.java160 * @param va allocation containing texture data
164 public void bindTexture(Allocation va, int slot) argument
170 if (va != null && va.getType().hasFaces() &&
175 long id = va != null ? va.getID(mRS) : 0;
H A DScript.java242 public void bindAllocation(Allocation va, int slot) { argument
244 mRS.validateObject(va);
245 if (va != null) {
247 final Type t = va.mType;
253 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot);
/frameworks/rs/
H A DrsAdapter.cpp60 void rsi_Adapter1DBindAllocation(Context *rsc, RsAdapter1D va, RsAllocation valloc) { argument
61 Adapter1D * a = static_cast<Adapter1D *>(va);
66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { argument
67 Adapter1D * a = static_cast<Adapter1D *>(va);
134 void rsi_Adapter2DBindAllocation(Context *rsc, RsAdapter2D va, RsAllocation valloc) { argument
135 Adapter2D * a = static_cast<Adapter2D *>(va);
140 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) { argument
141 Adapter2D * a = static_cast<Adapter2D *>(va);
H A DrsMesh.cpp312 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idxDataCount) { argument
317 va[ct] = sm->mHal.state.indexBuffers[ct];
H A DrsScript.cpp165 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { argument
167 Allocation *a = static_cast<Allocation *>(va);
H A DrsAllocation.cpp564 void rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) { argument
565 Allocation *a = static_cast<Allocation *>(va);
570 void rsi_AllocationGenerateMipmaps(Context *rsc, RsAllocation va) { argument
571 Allocation *alloc = static_cast<Allocation *>(va);
575 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { argument
576 Allocation *a = static_cast<Allocation *>(va);
582 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, argument
584 Allocation *a = static_cast<Allocation *>(va);
588 void rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, argument
590 Allocation *a = static_cast<Allocation *>(va);
594 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
600 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
606 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
613 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
625 rsi_AllocationResize1D(Context *rsc, RsAllocation va, uint32_t dimX) argument
630 rsi_AllocationResize2D(Context *rsc, RsAllocation va, uint32_t dimX, uint32_t dimY) argument
769 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
775 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
785 rsaAllocationGetType(RsContext con, RsAllocation va) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptCThunker.java70 void thunkBindAllocation(Allocation va, int slot) { argument
72 if (va != null) {
73 nva = ((AllocationThunker)va).mN;
H A DScript.java187 * @param va
190 public void bindAllocation(Allocation va, int slot) { argument
192 mT.thunkBindAllocation(va, slot);
197 if (va != null) {
198 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot);
/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp1263 int32_t va = t->prevAuxLevel; local
1273 *aux++ += (va >> 17) * (l + r);
1276 va += vaInc;
1278 t->prevAuxLevel = va;
1299 const int16_t va = t->auxLevel; local
1307 aux[0] = mulAdd(a, va, aux[0]);
1334 int32_t va = t->prevAuxLevel; local
1347 *aux++ += (va >> 17) * (l + r);
1350 va += vaInc;
1355 t->prevAuxLevel = va;
1362 const int16_t va = (int16_t)t->auxLevel; local
1424 int32_t va = t->prevAuxLevel; local
1452 const int16_t va = (int16_t)t->auxLevel; local
[all...]

Completed in 182 milliseconds