Home
last modified time | relevance | path

Searched refs:mOutputs (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/rs/
DrsScriptGroup.cpp45 for (auto output : mOutputs) { in ~ScriptGroup()
81 for (size_t ct=0; ct < n->mOutputs.size(); ct++) { in calcOrderRecurse()
82 const Link *l = n->mOutputs[ct]; in calcOrderRecurse()
127 n->mOutputs.push_back(l); in calcOrder()
160 for (size_t ct2=0; ct2 < n->mOutputs.size(); ct2++) { in calcOrder()
161 if (n->mOutputs[ct2]->mSource.get() == k) { in calcOrder()
168 mOutputs.push_back(new IO(k)); in calcOrder()
229 for (size_t ct2=0; ct2 < n->mOutputs.size(); ct2++) { in create()
230 Link *l = n->mOutputs[ct2]; in create()
238 for (size_t ct3=ct2+1; ct3 < n->mOutputs.size(); ct3++) { in create()
[all …]
DrsScriptGroup.h62 std::vector<Link *> mOutputs; variable
80 std::vector<IO *> mOutputs; variable
/frameworks/native/libs/gui/
DStreamSplitter.cpp61 mOutstandingBuffers(0), mInput(inputQueue), mOutputs(), mBuffers() {} in StreamSplitter()
65 Vector<sp<IGraphicBufferProducer> >::iterator output = mOutputs.begin(); in ~StreamSplitter()
66 for (; output != mOutputs.end(); ++output) { in ~StreamSplitter()
94 mOutputs.push_back(outputQueue); in addOutput()
152 Vector<sp<IGraphicBufferProducer> >::iterator output = mOutputs.begin(); in onFrameAvailable()
153 for (; output != mOutputs.end(); ++output) { in onFrameAvailable()
219 releaseCount, mOutputs.size()); in onBufferReleasedByOutput()
220 if (releaseCount < mOutputs.size()) { in onBufferReleasedByOutput()
/frameworks/ml/nn/runtime/
DExecutionBuilder.cpp168 mOutputs(mModel->outputCount()) { in ExecutionBuilder()
237 uint32_t count = static_cast<uint32_t>(mOutputs.size()); in setOutput()
251 return mOutputs[index].setFromPointer(mModel->getOutputOperand(index), type, buffer, l); in setOutput()
263 uint32_t count = static_cast<uint32_t>(mOutputs.size()); in setOutputFromMemory()
283 return mOutputs[index].setFromMemory(mModel->getOutputOperand(index), type, poolIndex, offset, in setOutputFromMemory()
342 uint32_t count = static_cast<uint32_t>(mOutputs.size()); in getOutputOperandDimensions()
348 const auto& dims = mOutputs[index].dimensions; in getOutputOperandDimensions()
355 return mOutputs[index].isSufficient ? ANEURALNETWORKS_NO_ERROR in getOutputOperandDimensions()
365 uint32_t count = static_cast<uint32_t>(mOutputs.size()); in getOutputOperandRank()
371 *rank = static_cast<uint32_t>(mOutputs[index].dimensions.size()); in getOutputOperandRank()
[all …]
DExecutionBuilder.h147 std::vector<ModelArgumentInfo> mOutputs; variable
198 mapInputOrOutput(mExecutionBuilder->mOutputs[builderIndex], &mOutputs[executorIndex]); in mapOutput()
201 mapInputOrOutput(mExecutionBuilder->mOutputs[builderIndex], in mapOutputToInput()
215 &mOutputs.at(outputIndex)); in setOutputFromTemporaryMemory()
269 std::vector<ModelArgumentInfo> mOutputs; variable
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java48 IO mOutputs[]; field in ScriptGroup
86 ArrayList<ConnectLine> mOutputs = new ArrayList<ConnectLine>(); field in ScriptGroup.Node
506 for (int ct=0; ct < mOutputs.length; ct++) { in setOutput()
507 if (mOutputs[ct].mKID == s) { in setOutput()
508 mOutputs[ct].mAllocation = a; in setOutput()
537 for (int ct2=0; ct2 < n.mOutputs.size(); ct2++) { in execute()
538 ConnectLine l = n.mOutputs.get(ct2); in execute()
549 for (int ct3=ct2+1; ct3 < n.mOutputs.size(); ct3++) { in execute()
550 if (n.mOutputs.get(ct3).mFrom == l.mFrom) { in execute()
551 n.mOutputs.get(ct3).mAllocation = alloc; in execute()
[all …]
/frameworks/base/rs/java/android/renderscript/
DProgram.java72 Element mOutputs[]; field in Program
209 Element mOutputs[]; field in Program.BaseProgramBuilder
231 mOutputs = new Element[MAX_OUTPUT]; in BaseProgramBuilder()
369 p.mOutputs = new Element[mOutputCount]; in initProgram()
370 System.arraycopy(mOutputs, 0, p.mOutputs, 0, mOutputCount); in initProgram()
DScriptGroup.java43 IO mOutputs[]; field in ScriptGroup
78 ArrayList<ConnectLine> mOutputs = new ArrayList<ConnectLine>(); field in ScriptGroup.Node
506 for (int ct=0; ct < mOutputs.length; ct++) { in setOutput()
507 if (mOutputs[ct].mKID == s) { in setOutput()
508 mOutputs[ct].mAllocation = a; in setOutput()
573 for (int ct = 0; ct < target.mOutputs.size(); ct++) { in validateCycle()
574 final ConnectLine cl = target.mOutputs.get(ct); in validateCycle()
607 for (int ct=0; ct < n.mOutputs.size(); ct++) { in validateDAGRecurse()
608 final ConnectLine cl = n.mOutputs.get(ct); in validateDAGRecurse()
624 if (n.mOutputs.size() == 0 && mNodes.size() > 1) { in validateDAG()
[all …]
DProgramFragment.java79 tmp[idx++] = mOutputs[i].getID(mRS); in create()
DProgramVertex.java140 tmp[idx++] = mOutputs[i].getID(mRS); in create()
DProgramFragmentFixedFunction.java64 tmp[idx++] = mOutputs[i].getID(mRS); in create()
DProgramVertexFixedFunction.java91 tmp[idx++] = mOutputs[i].getID(mRS); in create()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp132 mPreviousOutputs = mOutputs; in setDeviceConnectionStateInt()
183 mOutputs.clearSessionRoutesForDevice(device); in setDeviceConnectionStateInt()
207 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
224 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
250 for (size_t i = 0; i < mOutputs.size(); i++) { in setDeviceConnectionStateInt()
251 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt()
594 getOutputsForDevices(DeviceVector(outputDevice), mOutputs); in createTelephonyPatch()
598 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in createTelephonyPatch()
688 for (size_t i = 0; i < mOutputs.size(); i++) { in setPhoneState()
689 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp173 for (size_t ct3=0; ct3 < n->mOutputs.size(); ct3++) { in execute()
174 if (n->mOutputs[ct3]->mSource.get() == k) { in execute()
175 aout = n->mOutputs[ct3]->mAlloc.get(); in execute()
176 if(n->mOutputs[ct3]->mDstField.get() != nullptr) { in execute()
183 for (size_t ct3=0; ct3 < mSG->mOutputs.size(); ct3++) { in execute()
184 if (mSG->mOutputs[ct3]->mKernel == k) { in execute()
185 aout = mSG->mOutputs[ct3]->mAlloc.get(); in execute()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp53 if (mOutputs.size() > 0 || mConsumer != nullptr) { in connect()
133 for (auto& output : mOutputs) { in disconnect()
138 mOutputs.clear(); in disconnect()
186 if (mOutputs[surfaceId] != nullptr) { in addOutputLocked()
258 mOutputs[surfaceId] = gbp; in addOutputLocked()
293 if (mOutputs[surfaceId] == nullptr) { in removeOutputLocked()
298 sp<IGraphicBufferProducer> gbp = mOutputs[surfaceId]; in removeOutputLocked()
316 mOutputs[surfaceId] = nullptr; in removeOutputLocked()
425 sp<IGraphicBufferProducer>& gbp = mOutputs[surface_id]; in attachBufferToOutputs()
526 if (mOutputs[id] == nullptr) { in onFrameAvailable()
[all …]
DCamera3StreamSplitter.h245 std::unordered_map<int, sp<IGraphicBufferProducer> > mOutputs; variable
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp249 mOutputs() { in PrivacyFilter()
256 mOutputs.push_back(output); in addFd()
269 sort(mOutputs.begin(), mOutputs.end(), in writeData()
276 for (const sp<FilterFd>& output: mOutputs) { in writeData()
DPrivacyFilter.h91 vector<sp<FilterFd>> mOutputs; variable
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp85 ret = ACaptureSessionOutputContainer_create(&mOutputs); in initCamera()
95 ret = ACaptureSessionOutputContainer_add(mOutputs, mImgReaderOutput); in initCamera()
110 ret = ACaptureSessionOutputContainer_add(mOutputs, sessionOutput); in initCamera()
124 ret = ACameraDevice_isSessionConfigurationSupported(mDevice, mOutputs); in initCamera()
130 ret = ACameraDevice_createCaptureSession(mDevice, mOutputs, &mSessionCb, &mSession); in initCamera()
208 if (mOutputs) { in closeCamera()
209 ACaptureSessionOutputContainer_free(mOutputs); in closeCamera()
210 mOutputs = nullptr; in closeCamera()
263 ACaptureSessionOutputContainer* mOutputs = nullptr; member in __anon8dd8b5b30111::CameraHelper
/frameworks/av/camera/ndk/impl/
DACaptureRequest.h49 std::set<ACameraOutputTarget> mOutputs; member
DACameraCaptureSession.h59 std::set<ACaptureSessionOutput> mOutputs; member
/frameworks/av/camera/ndk/
DNdkCaptureRequest.cpp63 auto pair = req->targets->mOutputs.insert(*target); in ACaptureRequest_addTarget()
84 req->targets->mOutputs.erase(*target); in ACaptureRequest_removeTarget()
DNdkCameraDevice.cpp240 auto pair = container->mOutputs.insert(*output); in ACaptureSessionOutputContainer_add()
256 container->mOutputs.erase(*output); in ACaptureSessionOutputContainer_remove()
/frameworks/native/libs/gui/include/gui/
DStreamSplitter.h174 Vector<sp<IGraphicBufferProducer> > mOutputs; variable
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp238 sessionConfig.outputStreams.resize(sessionOutputContainer->mOutputs.size()); in isSessionConfigurationSupported()
240 for (const auto& output : sessionOutputContainer->mOutputs) { in isSessionConfigurationSupported()
369 for (auto outputTarget : request->targets->mOutputs) { in allocateCaptureRequestLocked()
451 pRequest->targets->mOutputs.insert(outputTarget); in allocateACaptureRequest()
625 for (auto outConfig : outputs->mOutputs) { in configureStreamsLocked()

12