/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 76 int arraySize = remaining / elementSize; in unmarshal() local 88 arraySize, elementSize, remaining, mClass)); in unmarshal() 91 array = Array.newInstance(mComponentClass, arraySize); in unmarshal() 92 for (int i = 0; i < arraySize; ++i) { in unmarshal() 106 int arraySize = arrayList.size(); in unmarshal() local 107 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize)); in unmarshal()
|
/frameworks/rs/driver/ |
D | rsdShaderCache.cpp | 47 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in updateUniformArrayData() 51 data[ct].arraySize = (uint32_t)uniformList[ui]->arraySize; in updateUniformArrayData() 60 data[ct].arraySize); in updateUniformArrayData() 70 data[ct].arraySize = prog->getUniformArraySize(ct); in populateUniformData() 77 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in hasArrayUniforms() 83 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in hasArrayUniforms() 203 &uniformList[ct]->arraySize, &uniformList[ct]->type, in link()
|
D | rsdShader.cpp | 315 void RsdShader::logUniform(const Element *field, const float *fd, uint32_t arraySize ) { in logUniform() argument 318 for (uint32_t i = 0; i < arraySize; i ++) { in logUniform() 319 if (arraySize > 1) { in logUniform() 362 int32_t slot, uint32_t arraySize ) { in setUniform() argument 365 RSD_CALL_GL(glUniformMatrix4fv, slot, arraySize, GL_FALSE, fd); in setUniform() 367 RSD_CALL_GL(glUniformMatrix3fv, slot, arraySize, GL_FALSE, fd); in setUniform() 369 RSD_CALL_GL(glUniformMatrix2fv, slot, arraySize, GL_FALSE, fd); in setUniform() 373 RSD_CALL_GL(glUniform1fv, slot, arraySize, fd); in setUniform() 376 RSD_CALL_GL(glUniform2fv, slot, arraySize, fd); in setUniform() 379 RSD_CALL_GL(glUniform3fv, slot, arraySize, fd); in setUniform() [all …]
|
D | rsdShaderCache.h | 60 uint32_t vtxUniformSize(uint32_t a) const {return mCurrent->vtxUniforms[a].arraySize;} in vtxUniformSize() 62 uint32_t fragUniformSize(uint32_t a) const {return mCurrent->fragUniforms[a].arraySize;} in fragUniformSize() 75 int32_t arraySize; member 93 uint32_t arraySize; member
|
D | rsdShader.h | 127 const float *fd, uint32_t arraySize); 130 const float *fd, int32_t slot, uint32_t arraySize );
|
D | rsdMeshObj.cpp | 67 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; in isValidGLComponent() local 68 if (arraySize != 1) { in isValidGLComponent()
|
/frameworks/rs/ |
D | rsElement.cpp | 78 total += mFields[ct].e->mBits * mFields[ct].arraySize; in getSizeBits() 90 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize; in getSizeBitsUnpadded() 102 prefix, mFields[ct].name, mFields[ct].offsetBits, mFields[ct].arraySize); in dumpLOGV() 118 stream->addU32(mFields[ct].arraySize); in serialize() 205 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize; in compute() 206 bitsUnpadded += mFields[ct].e->getSizeBitsUnpadded() * mFields[ct].arraySize; in compute() 217 mHal.state.fieldArraySizes[ctNoPadding] = mFields[ct].arraySize; in compute() 300 (ee->mFields[i].arraySize != asize)) { in createRef() 339 e->mFields[ct].arraySize = asize; in createRef() 364 for (uint32_t ct=0; ct < mFields[i].arraySize; ct++) { in incRefs() [all …]
|
D | rsElement.h | 91 uint32_t getFieldArraySize(uint32_t idx) const {return mFields[idx].arraySize;} in getFieldArraySize() 149 uint32_t arraySize; member
|
D | rs.spec | 158 param const uint32_t * arraySize
|
D | rsApiStubs.cpp | 292 const uint32_t * arraySize, size_t arraySize_length) in rsElementCreate2() argument 297 arraySize, arraySize_length); in rsElementCreate2()
|
D | rsApiStubs.h | 49 …ze_t names_length_length, const size_t * names_length, const uint32_t * arraySize, size_t arraySiz…
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Element.java | 947 public Builder add(Element element, String name, int arraySize) { in add() argument 948 if (arraySize < 1) { in add() 979 mArraySizes[mCount] = arraySize; in add()
|
/frameworks/rs/cpp/ |
D | Element.cpp | 431 …ent::Builder::add(const android::RSC::sp<const Element>&e, const char * name, uint32_t arraySize) { in add() argument 477 mArraySizes[mElementsCount] = arraySize; in add()
|
D | rsCppStructs.h | 1417 void add(const sp<const Element>& e, const char * name, uint32_t arraySize = 1);
|
/frameworks/compile/slang/ |
D | slang_rs_reflection.cpp | 1648 << "[" << std::max(TypeData.arraySize, 1U) << "];\n"; in genExportReduceResultType() 1650 if (TypeData.arraySize == 0) { // result type is non-array non-vector in genExportReduceResultType() 1670 << "[" << TypeData.arraySize << "];\n"; in genExportReduceResultType() 1672 mOut.indent() << "for (int Idx = 0; Idx < " << TypeData.arraySize << "; ++Idx)"; in genExportReduceResultType() 1690 const unsigned OutArrayElementCount = VectorElementCount * std::max(TypeData.arraySize, 1U); in genExportReduceResultType() 1700 if (TypeData.arraySize == 0) { // result type is vector in genExportReduceResultType() 1716 << "[" << TypeData.arraySize << "];\n"; in genExportReduceResultType() 1717 mOut.indent() << "for (int Idx = 0; Idx < " << TypeData.arraySize << "; ++Idx)"; in genExportReduceResultType()
|
D | slang_rs_export_type.h | 181 uint32_t arraySize; // number of elements; zero if not an array member
|
D | slang_rs_export_type.cpp | 1681 rtd->arraySize = CAT->getNumElement(); in convertToRTD()
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 581 const int arraySize = reply.readInt32(); in getAllSupportInfo() local 582 if (0 < arraySize) { in getAllSupportInfo() 583 *drmSupportInfoArray = new DrmSupportInfo[arraySize]; in getAllSupportInfo() 585 for (int index = 0; index < arraySize; ++index) { in getAllSupportInfo() 602 *length = arraySize; in getAllSupportInfo()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 1330 public Builder add(Element element, String name, int arraySize) { in add() argument 1331 if (arraySize < 1) { in add() 1362 mArraySizes[mCount] = arraySize; in add()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 442 size_t BuffersArrayImpl::arraySize() const { in arraySize() function in android::BuffersArrayImpl 898 lbp = LocalBufferPool::Create(kMaxLinearBufferSize * mImpl.arraySize())] { in realloc()
|
D | CCodecBuffers.h | 484 size_t arraySize() const;
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 1006 size_t arraySize() const;
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 760 size_t C2FieldUtils::Info::arraySize() const { in arraySize() function in C2FieldUtils::Info
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 1001 const jint arraySize = (jint)arraySizes[i]; in nElementGetSubElements() local 1004 _env->SetIntArrayRegion(_arraySizes, i, 1, &arraySize); in nElementGetSubElements()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1168 const jint arraySize = (jint)arraySizes[i]; in nElementGetSubElements() local 1171 _env->SetIntArrayRegion(_arraySizes, i, 1, &arraySize); in nElementGetSubElements()
|