/frameworks/base/libs/rs/ |
H A D | rsShaderCache.cpp | 35 for (uint32_t ct=0; ct < mEntryCount; ct++) { 36 glDeleteProgram(mEntries[ct].program); 54 for (uint32_t ct=0; ct < mEntryCount; ct++) { 55 if ((mEntries[ct].vtx == vtx->getShaderID()) && 56 (mEntries[ct].frag == frag->getShaderID())) { 58 //LOGV("SC using program %i", mEntries[ct] [all...] |
H A D | rsVertexArray.cpp | 38 for (uint32_t ct=0; ct < RS_MAX_ATTRIBS; ct++) { 39 mAttribs[ct].clear(); 122 for (uint32_t ct=0; ct < mCount; ct++) { 123 switch(mAttribs[ct].kind) { 127 glBindBuffer(GL_ARRAY_BUFFER, mAttribs[ct].buffer); 128 glVertexPointer(mAttribs[ct] [all...] |
H A D | rsElement.cpp | 37 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { 38 if (mRSC->mStateElement.mElements[ct] == this) { 39 mRSC->mStateElement.mElements.removeAt(ct); 60 for (size_t ct=0; ct < mFieldCount; ct++) { 61 total += mFields[ct].e->mBits; 69 for (uint32_t ct [all...] |
H A D | rsg_generator.c | 26 int ct; local 54 for(ct=0; ct < vt->ptrLevel; ct++) { 66 int ct; local 67 for(ct=0; ct < api->paramCount; ct++) { 68 if (ct || assumePrevious) { 71 printVarType(f, &api->params[ct]); 77 int ct; local 115 int ct; local 125 int ct; local 133 int ct; local 193 int ct; local [all...] |
H A D | rsScriptC.cpp | 55 for (int ct=0; ct < MAX_SCRIPT_BANKS; ct++) { 56 if (mProgram.mSlotPointers[ct]) { 57 *mProgram.mSlotPointers[ct] = mSlots[ct]->getPtr(); 114 for (uint32_t ct=0; ct < MAX_SCRIPT_BANKS; ct++) { 115 mConstantBufferTypes[ct] [all...] |
H A D | rsSimpleMesh.cpp | 61 for (uint32_t ct=0; ct < mVertexTypeCount; ct++) { 62 mVertexBuffers[ct]->uploadCheck(rsc); 63 va.setActiveBuffer(mVertexBuffers[ct]->getBufferObjectID()); 64 mVertexTypes[ct]->enableGLVertexBuffer2(&va); 68 for (uint32_t ct=0; ct < mVertexTypeCount; ct++) { 69 mVertexBuffers[ct] [all...] |
H A D | rsProgramFragment.cpp | 77 for (uint32_t ct=0; ct < MAX_TEXTURE; ct++) { 78 glActiveTexture(GL_TEXTURE0 + ct); 79 if (!(mTextureEnableMask & (1 << ct)) || !mTextures[ct].get()) { 93 mTextures[ct]->uploadCheck(rsc); 94 glBindTexture(GL_TEXTURE_2D, mTextures[ct]->getTextureID()); 96 switch(mEnvModes[ct]) { 111 if (mSamplers[ct] [all...] |
H A D | rsFileA3D.cpp | 168 for (uint32_t ct = 0; ct < stringEntryCount; ct++) { 183 for (uint32_t ct = 0; ct < indexEntryCount; ct++) { 186 LOGE("index %i", ct); 195 mStringIndexValues.editItemAt(stringIndex) = ct; 205 for (uint32_t ct = 0; ct < indexEntryCoun [all...] |
H A D | rsProgram.cpp | 61 for (uint32_t ct=0; ct < paramLength; ct+=2) { 62 if (params[ct] == RS_PROGRAM_PARAM_INPUT) { 65 if (params[ct] == RS_PROGRAM_PARAM_OUTPUT) { 68 if (params[ct] == RS_PROGRAM_PARAM_CONSTANT) { 71 if (params[ct] == RS_PROGRAM_PARAM_TEXTURE_COUNT) { 72 mTextureCount = params[ct+1]; 83 for (uint32_t ct=0; ct < paramLengt [all...] |
H A D | rsProgramVertex.cpp | 87 for (uint32_t ct = 0; ct < mLightCount; ct++) { 88 const Light *l = mLights[ct].get(); 89 glEnable(GL_LIGHT0 + ct); 90 l->setupGL(ct); 92 for (uint32_t ct = mLightCount; ct < MAX_LIGHTS; ct++) { 93 glDisable(GL_LIGHT0 + ct); [all...] |
H A D | rsg_ScriptJavaClass.cpp | 140 for (size_t ct=0; ct < e->fieldCount; ct++) { 141 const char *ts = RSTypeToJava(e->fields[ct].e->compType); 145 fprintf(f, " public %s %s;\n", ts, e->fields[ct].name); 151 for (size_t ct=0; ct < e->fieldCount; ct++) { 152 const char *ts = RSTypeToString(e->fields[ct].e->compType); 153 fprintf(f, " eb.add(Element.USER_%s(rs), \"%s\");\n", ts, e->fields[ct] [all...] |
H A D | rsType.cpp | 34 for (uint32_t ct = 0; ct < mRSC->mStateType.mTypes.size(); ct++) { 35 if (mRSC->mStateType.mTypes[ct] == this) { 36 mRSC->mStateType.mTypes.removeAt(ct); 143 for (uint32_t ct=0; ct < getElement()->getFieldCount(); ct++) { 144 const Component &c = getElement()->getField(ct)->getComponent(); 149 mGL.mUser[userNum].offset = mElement->getFieldOffsetBytes(ct); [all...] |
H A D | rsContext.cpp | 210 for (int ct=0; ct < _RS_TIMER_TOTAL; ct++) { 211 mTimers[ct] = 0; 241 for (int ct = 0; ct < _RS_TIMER_TOTAL; ct++) { 242 total += mTimers[ct]; 648 for(size_t ct=0; ct < mName [all...] |
H A D | rsAllocation.cpp | 292 for (size_t ct=0; ct < mToDirtyList.size(); ct++) { 293 if (mToDirtyList[ct] == p) { 294 mToDirtyList.removeAt(ct); 321 for (size_t ct=0; ct < mToDirtyList.size(); ct++) { 322 mToDirtyList[ct]->forceDirty();
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Script.java | 121 for(int ct=0; ct < mTypes.length; ct++) { 122 if(mTypes[ct] != null) { 123 mRS.nScriptSetType(mTypes[ct].mID, mWritable[ct], mNames[ct], ct); 126 for(int ct=0; ct < mInvokableCoun [all...] |
H A D | Type.java | 124 for(int ct=0; ct < fields.length; ct++) { 125 Field f = fields[ct]; 128 arTypes[ct] = Element.DataType.SIGNED_32.mID; 129 arBits[ct] = 32; 131 arTypes[ct] = Element.DataType.SIGNED_16.mID; 132 arBits[ct] = 16; 134 arTypes[ct] = Element.DataType.SIGNED_8.mID; 135 arBits[ct] [all...] |
H A D | SimpleMesh.java | 150 for(int ct=0; ct < b.mVertexTypeCount; ct++) { 151 if (b.mVertexTypes[ct].t != null) { 152 IDs[ct] = b.mVertexTypes[ct].t.mID; 154 b.mVertexTypes[ct].t = b.newType(b.mVertexTypes[ct].e, b.mVertexTypes[ct].size); 155 IDs[ct] [all...] |
H A D | Element.java | 226 for (int ct = 0; ct < mElements.length; ct++ ) { 227 mSize += mElements[ct].mSize; 228 ids[ct] = mElements[ct].mID;
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
H A D | FilmStripMesh.java | 220 for (int ct=0; ct < (count-1); ct++) { 221 t.x = -vtx[ct*2] / 100.f; 222 t.z = vtx[ct*2+1] / 100.f; 224 t.nx = (vtx[ct*2+3] - vtx[ct*2 +1]); 225 t.ny = (vtx[ct*2+2] - vtx[ct*2 ]); 243 mTriangleOffsets[mTriangleOffsetsCount] = ct* [all...] |
H A D | FilmRS.java | 174 for(int ct=0; ct < mImages.length; ct++) { 175 Allocation.Adapter2D a = mImages[ct].createAdapter2D(); 189 mImages[ct].uploadToTexture(1); 190 mBufferIDs[ct] = mImages[ct].getID();
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | SkOmxPixelRef.cpp | 39 void* SkOmxPixelRef::onLockPixels(SkColorTable** ct) { argument 40 *ct = mCTable;
|
/frameworks/base/libs/rs/java/Fountain/res/raw/ |
H A D | fountain.c | 7 int ct; local 37 for (ct=0; ct < count; ct++) {
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_reorder.cpp | 145 int16 ct = src_line; local 165 pv_memcpy(&xr[ct], Scratch_mem, sfb_lines*3*sizeof(int32)); 166 ct += sfb_lines + (sfb_lines << 1); 185 pv_memcpy(&xr[ct], Scratch_mem, sfb_lines*3*sizeof(int32));
|
/frameworks/base/libs/rs/java/Film/res/raw/ |
H A D | filmimage.c | 13 int ct, ct2; local 63 for (ct=0; ct < count; ct++) { 64 srcIdx = ct * 5 + 1;
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 276 for (int ct=0; ct < fieldCount; ct++) { 277 jstring s = (jstring)_env->GetObjectArrayElement(_names, ct); 278 nameArray[ct] = _env->GetStringUTFChars(s, NULL); 279 sizeArray[ct] = _env->GetStringUTFLength(s); 282 for (int ct=0; ct < fieldCount; ct++) { 283 jstring s = (jstring)_env->GetObjectArrayElement(_names, ct); [all...] |