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/ml/nn/runtime/
DExecutionBuilder.cpp98 mOutputs(mModel->outputCount()) { in ExecutionBuilder()
100 << " inputs and " << mOutputs.size() << " outputs"; in ExecutionBuilder()
215 uint32_t count = static_cast<uint32_t>(mOutputs.size()); in setOutput()
229 if (!mOutputs[index].unspecified()) { in setOutput()
235 std::tie(n, mOutputs[index]) = in setOutput()
249 uint32_t count = static_cast<uint32_t>(mOutputs.size()); in setOutputFromMemory()
273 if (!mOutputs[index].unspecified()) { in setOutputFromMemory()
279 std::tie(n, mOutputs[index]) = ModelArgumentInfo::createFromMemory( in setOutputFromMemory()
416 uint32_t count = static_cast<uint32_t>(mOutputs.size()); in getOutputOperandDimensions()
422 const auto& dims = mOutputs[index].dimensions(); in getOutputOperandDimensions()
[all …]
DExecutionBuilder.h117 const ModelArgumentInfo& getOutputInfo(uint32_t index) const { return mOutputs[index]; } in getOutputInfo()
161 std::vector<ModelArgumentInfo> mOutputs; variable
249 mapInputOrOutput(mExecutionBuilder->mOutputs[builderIndex], &mOutputs[executorIndex]); in mapOutput()
252 mapInputOrOutput(mExecutionBuilder->mOutputs[builderIndex], &mInputs[executorIndex]); in mapOutputToInput()
263 &mOutputs.at(outputIndex)); in setOutputFromMemory()
317 std::vector<ModelArgumentInfo> 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/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()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp151 mPreviousOutputs = mOutputs; in setDeviceConnectionStateInt()
205 mOutputs.clearSessionRoutesForDevice(device); in setDeviceConnectionStateInt()
228 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
243 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
269 for (size_t i = 0; i < mOutputs.size(); i++) { in setDeviceConnectionStateInt()
270 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt()
677 for (size_t i = 0; i < mOutputs.size(); i++) { in setPhoneState()
678 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
727 for (size_t i = 0; i < mOutputs.size(); i++) { in setPhoneState()
728 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()
188 if (mOutputs[surfaceId] != nullptr) { in addOutputLocked()
260 mOutputs[surfaceId] = gbp; in addOutputLocked()
295 if (mOutputs[surfaceId] == nullptr) { in removeOutputLocked()
300 sp<IGraphicBufferProducer> gbp = mOutputs[surfaceId]; in removeOutputLocked()
318 mOutputs[surfaceId] = nullptr; in removeOutputLocked()
427 sp<IGraphicBufferProducer>& gbp = mOutputs[surface_id]; in attachBufferToOutputs()
528 if (mOutputs[id] == nullptr) { in onFrameAvailable()
[all …]
DCamera3StreamSplitter.h252 std::unordered_map<int, sp<IGraphicBufferProducer> > mOutputs; variable
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java46 private final Map<ByteBuffer, byte[]> mOutputs; field in Device
68 mOutputs = outputs; in Device()
192 if (mOutputs == null) { in onDeviceOutput()
196 byte[] response = mOutputs.get(ByteBuffer.wrap(data)); in onDeviceOutput()
DEvent.java63 private Map<ByteBuffer, byte[]> mOutputs; field in Event
103 return mOutputs; in getOutputs()
120 + ", outputs=" + mOutputs.toString() in toString()
157 mEvent.mOutputs = outputs; in setOutputs()
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp255 mOutputs() { in PrivacyFilter()
262 mOutputs.push_back(output); in addFd()
275 sort(mOutputs.begin(), mOutputs.end(), in writeData()
282 for (const sp<FilterFd>& output: mOutputs) { in writeData()
DPrivacyFilter.h91 vector<sp<FilterFd>> mOutputs; variable
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp90 ret = ACaptureSessionOutputContainer_create(&mOutputs); in initCamera()
100 ret = ACaptureSessionOutputContainer_add(mOutputs, mImgReaderOutput); in initCamera()
116 ret = ACaptureSessionOutputContainer_add(mOutputs, sessionOutput); in initCamera()
121 ret = ACameraDevice_isSessionConfigurationSupported(mDevice, mOutputs); in initCamera()
125 ACaptureSessionOutputContainer_remove(mOutputs, sessionOutput); in initCamera()
140 ret = ACameraDevice_createCaptureSession(mDevice, mOutputs, &mSessionCb, &mSession); in initCamera()
222 if (mOutputs) { in closeCamera()
223 ACaptureSessionOutputContainer_free(mOutputs); in closeCamera()
224 mOutputs = nullptr; in closeCamera()
265 ACaptureSessionOutputContainer* mOutputs = nullptr; member in __anon511359ea0111::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

12