Searched refs:ct (Results 1 - 25 of 78) sorted by relevance

1234

/frameworks/rs/driver/
H A DrsdShaderCache.cpp45 for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) {
46 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
49 if (prog->getUniformName(ct) == uniformList[ui]->name) {
50 data[ct].arraySize = (uint32_t)uniformList[ui]->arraySize;
58 prog->getUniformName(ct).string(), data[ct].slot, data[ct]
[all...]
H A DrsdVertexArray.cpp91 for (uint32_t ct=1; ct < maxAttrs; ct++) {
92 if(state->mAttrsEnabled[ct]) {
93 glDisableVertexAttribArray(ct);
94 state->mAttrsEnabled[ct] = false;
99 for (uint32_t ct=0; ct < mCount; ct++) {
100 int32_t slot = sc->vtxAttribSlot(mAttribs[ct]
[all...]
H A DrsdMeshObj.cpp77 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) {
78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) {
80 if (isValidGLComponent(elem, ct)) {
100 for (uint32_t ct=0; ct < mRSMes
[all...]
H A DrsdShader.cpp81 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) {
83 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) {
84 Allocation *a = mRSProgram->mHal.state.textures[ct];
93 if (texType != returnKey->mTextureTargets[ct]) {
121 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) {
122 initAddUserElement(mRSProgram->mHal.state.inputElements[ct], mAttribName
[all...]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_copy_test.java39 for (int ct=0; ct < f1.length; ct++) {
40 f1[ct] = (float)ct;
47 for (int ct=0; ct < f1.length; ct++) {
48 if (f1[ct] != f2[ct]) {
[all...]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_copy_test.java39 for (int ct=0; ct < f1.length; ct++) {
40 f1[ct] = (float)ct;
47 for (int ct=0; ct < f1.length; ct++) {
48 if (f1[ct] != f2[ct]) {
[all...]
/frameworks/rs/tests/cppallocation/
H A Dcompute.cpp39 for (uint32_t ct=0; ct < numElems; ct++) {
40 buf[ct] = (uint32_t)ct;
49 for (uint32_t ct=0; ct < numElems; ct++) {
50 if (buf[ct] != ct *
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup.cpp60 for(size_t ct=0; ct < sl->count; ct++) {
62 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct];
63 mp->usr = sl->usrPtrs[ct];
73 if (sl->ins[ct]) {
74 mp->ptrIn = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr;
75 istep = sl->ins[ct]->mHal.state.elementSizeBytes;
77 if (sl->inExts[ct]) {
78 mp->in = mp->ptrIn + sl->ins[ct]
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java105 for (int ct=0; ct < mInputs.length; ct++) {
106 if (mInputs[ct].mKID == s) {
107 mInputs[ct].mAllocation = a;
125 for (int ct=0; ct < mOutputs.length; ct++) {
126 if (mOutputs[ct].mKID == s) {
127 mOutputs[ct]
[all...]
H A DScriptIntrinsicLUT.java34 for (int ct=0; ct < 256; ct++) {
35 mCache[ct] = (byte)ct;
36 mCache[ct + 256] = (byte)ct;
37 mCache[ct + 512] = (byte)ct;
38 mCache[ct
[all...]
H A DScriptIntrinsicConvolve5x5.java95 for (int ct=0; ct < mValues.length; ct++) {
96 mValues[ct] = v[ct];
97 fp.addF32(mValues[ct]);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroup.java107 for (int ct=0; ct < mInputs.length; ct++) {
108 if (mInputs[ct].mKID == s) {
109 mInputs[ct].mAllocation = a;
127 for (int ct=0; ct < mOutputs.length; ct++) {
128 if (mOutputs[ct].mKID == s) {
129 mOutputs[ct]
[all...]
H A DScriptIntrinsicLUT.java57 for (int ct=0; ct < 256; ct++) {
58 si.mCache[ct] = (byte)ct;
59 si.mCache[ct + 256] = (byte)ct;
60 si.mCache[ct + 512] = (byte)ct;
61 si.mCache[ct
[all...]
H A DScriptIntrinsicConvolve3x3.java91 for (int ct=0; ct < mValues.length; ct++) {
92 mValues[ct] = v[ct];
93 fp.addF32(mValues[ct]);
H A DScriptIntrinsicConvolve5x5.java87 for (int ct=0; ct < mValues.length; ct++) {
88 mValues[ct] = v[ct];
89 fp.addF32(mValues[ct]);
/frameworks/rs/tests/cppstrided/
H A Dcompute.cpp47 for (uint32_t ct=0; ct < numElems; ct++) {
48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems);
59 for (uint32_t ct=0; ct < numElems; ct++) {
60 if (*(buf+(stride*i)+ct) != (uint32_t)(ct
[all...]
/frameworks/rs/
H A DrsElement.cpp45 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) {
46 if (mRSC->mStateElement.mElements[ct] == this) {
47 mRSC->mStateElement.mElements.removeAt(ct);
77 for (size_t ct=0; ct < mFieldCount; ct++) {
78 total += mFields[ct].e->mBits * mFields[ct]
[all...]
H A DrsScriptGroup.cpp31 for (size_t ct=0; ct < mLinks.size(); ct++) {
32 delete mLinks[ct];
48 for (size_t ct=0; ct < mNodes.size(); ct++) {
49 Node *n = mNodes[ct];
65 for (size_t ct=0; ct <
[all...]
H A DrsProgram.cpp30 for (uint32_t ct=0; ct < paramLength; ct+=2) {
31 if (params[ct] == RS_PROGRAM_PARAM_INPUT) {
34 if (params[ct] == RS_PROGRAM_PARAM_CONSTANT) {
37 if (params[ct] == RS_PROGRAM_PARAM_TEXTURE_TYPE) {
61 for (uint32_t ct=0; ct < paramLength; ct+=2) {
62 if (params[ct]
[all...]
H A DrsMesh.cpp173 for (uint32_t ct = 0; ct < mHal.state.primitivesCount; ct ++) {
174 renderPrimitive(rsc, ct);
202 for (uint32_t ct = 0; ct < mHal.state.vertexBuffersCount; ct ++) {
203 if (mHal.state.vertexBuffers[ct]) {
204 rsc->mHal.funcs.allocation.markDirty(rsc, mHal.state.vertexBuffers[ct]);
208 for (uint32_t ct
[all...]
H A DrsProgramRaster.cpp34 for (uint32_t ct = 0; ct < mRSC->mStateRaster.mRasterPrograms.size(); ct++) {
35 if (mRSC->mStateRaster.mRasterPrograms[ct] == this) {
36 mRSC->mStateRaster.mRasterPrograms.removeAt(ct);
83 for (uint32_t ct = 0; ct < rsc->mStateRaster.mRasterPrograms.size(); ct++) {
84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct];
H A Drsg_generator.c25 int ct; local
53 for (ct=0; ct < vt->ptrLevel; ct++) {
68 int ct; local
69 for (ct=0; ct < api->paramCount; ct++) {
70 if (ct || assumePrevious) {
73 printVarTypeAndName(f, &api->params[ct]);
78 int ct; local
127 int ct; local
141 int ct; local
151 int ct; local
163 int ct; local
188 int ct; local
449 int ct; local
[all...]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DCrossProcess.java32 for (int ct=0; ct < 256; ct++) {
33 float f = ((float)ct) / 255.f;
42 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f));
51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f));
54 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f));
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DCrossProcess.java29 for (int ct=0; ct < 256; ct++) {
30 float f = ((float)ct) / 255.f;
39 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f));
48 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f));
51 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f));
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DCrossProcess.java32 for (int ct=0; ct < 256; ct++) {
33 float f = ((float)ct) / 255.f;
42 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f));
51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f));
54 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f));

Completed in 1395 milliseconds

1234