Home
last modified time | relevance | path

Searched refs:mStreams (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraChannel.cpp100 for (size_t i = 0; i < mStreams.size(); i++) { in ~QCameraChannel()
101 if (mStreams[i] != NULL) { in ~QCameraChannel()
102 if (validate_handle(m_handle, mStreams[i]->getChannelHandle())) { in ~QCameraChannel()
103 delete mStreams[i]; in ~QCameraChannel()
107 mStreams.clear(); in ~QCameraChannel()
126 for (size_t i = 0; i < mStreams.size(); i++) { in deleteChannel()
127 if ((mStreams[i] != NULL) && in deleteChannel()
128 (validate_handle(m_handle, mStreams[i]->getChannelHandle()))) { in deleteChannel()
129 mStreams[i]->deleteStream(); in deleteChannel()
152 for (size_t i = 0; i < mStreams.size(); i++) { in setStreamSyncCB()
[all …]
DQCameraChannel.h70 uint32_t getNumOfStreams() const {return (uint32_t) mStreams.size();}; in getNumOfStreams()
93 Vector<QCameraStream *> mStreams; variable
/hardware/libhardware/modules/usbcamera/
DCamera.cpp225 for (size_t i = 0; i < mStreams.size(); i++) { in configureStreams()
226 mStreams[i]->mReuse = false; in configureStreams()
256 destroyStreamsLocked(mStreams); in configureStreams()
257 mStreams = newStreams; in configureStreams()
494 dprintf(fd, "Number of streams: %zu\n", mStreams.size()); in dump()
495 for (size_t i = 0; i < mStreams.size(); i++) { in dump()
496 dprintf(fd, "Stream %zu/%zu:\n", i, mStreams.size()); in dump()
497 mStreams[i]->dump(fd); in dump()
DCamera.h122 android::Vector<Stream *> mStreams; variable
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp85 memset(mStreams, 0, sizeof(mStreams)); in QCamera3Channel()
138 if (mStreams[i] != NULL) { in destroy()
139 delete mStreams[i]; in destroy()
140 mStreams[i] = 0; in destroy()
201 mStreams[m_numStreams] = pStream; in addStream()
237 if (mStreams[i] != NULL) { in start()
238 mStreams[i]->start(); in start()
268 if (mStreams[i] != NULL) { in stop()
269 mStreams[i]->stop(); in stop()
366 if (mStreams[j] != NULL && in bufDone()
[all …]
DQCamera3Channel.h144 QCamera3Stream *mStreams[MAX_STREAM_NUM_IN_BUNDLE]; variable
DQCamera3HWI.cpp4020 assert(ch->mStreams[0]); in handleMetadataWithLock()
4021 if (ch->mStreams[0]) { in handleMetadataWithLock()
4025 ch->mStreams[0]->getMyType(), missed.stream->format); in handleMetadataWithLock()
6946 if (channel != NULL && channel->mStreams[0]) { in getReprocessibleOutputStreamId()
6947 id = channel->mStreams[0]->getMyServerID(); in getReprocessibleOutputStreamId()
/hardware/interfaces/camera/provider/aidl/vts/
Ddevice_cb.cpp91 if (bufReqs.size() > mStreams.size()) { in requestStreamBuffers()
101 for (size_t idx = 0; idx < mStreams.size(); idx++) { in requestStreamBuffers()
102 if (bufReqs[i].streamId == mStreams[idx].id) { in requestStreamBuffers()
123 const auto& stream = mStreams[idx]; in requestStreamBuffers()
195 if (mStreams[idx].id == buf.streamId && in returnStreamBuffers()
228 mStreams = streams; in setCurrentStreamConfig()
481 for (auto& mStream : mStreams) { in notifyHelper()
Ddevice_cb.h73 std::vector<Stream> mStreams; variable
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp61 mStreams(NULL), in Camera()
169 mStreams[i]->mReuse = false; in configureStreams()
198 destroyStreams(mStreams, mNumStreams); in configureStreams()
199 mStreams = newStreams; in configureStreams()
489 mStreams[i]->dump(fd); in dump()
DCamera.h107 Stream **mStreams; variable
/hardware/interfaces/audio/aidl/default/include/core-impl/
DStream.h609 erase_if(mStreams, [](const auto& pair) { return !pair.second.isStreamOpen(); }); in count()
610 return mStreams.count(id); in count()
613 mStreams.insert(std::pair{portConfigId, sw}); in insert()
614 mStreams.insert(std::pair{portId, std::move(sw)}); in insert()
619 if (auto it = mStreams.find(portConfigId); it != mStreams.end()) { in setStreamConnectedDevices()
626 for (auto& it : mStreams) { in bluetoothParametersUpdated()
636 std::multimap<int32_t, StreamWrapper> mStreams;
DModule.h167 Streams mStreams; variable
248 const Streams& getStreams() const { return mStreams; } in getStreams()
/hardware/interfaces/audio/aidl/default/
DModule.cpp293 if (mStreams.count(in_portConfigId) != 0) { in findPortIdForNewStream()
304 if (maxOpenStreamCount != 0 && mStreams.count(portId) >= maxOpenStreamCount) { in findPortIdForNewStream()
446 [&](int32_t portConfigId) { return mStreams.count(portConfigId) > 0; }) != in updateStreamsConnectedState()
452 return mStreams.count(portConfigId) > 0; in updateStreamsConnectedState()
465 if (auto status = mStreams.setStreamConnectedDevices(mixPortConfigId, {}); in updateStreamsConnectedState()
488 if (auto status = mStreams.setStreamConnectedDevices(mixPortConfigId, connectedDevices); in updateStreamsConnectedState()
505 auto status = mStreams.setStreamConnectedDevices(portConfigId, {}); in updateStreamsConnectedState()
880 mStreams.insert(port->id, in_args.portConfigId, std::move(streamWrapper)); in openInputStream()
927 mStreams.insert(port->id, in_args.portConfigId, std::move(streamWrapper)); in openOutputStream()
1257 if (mStreams.count(in_portConfigId) != 0) { in resetAudioPortConfig()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyManagerBase.h548 …StreamDescriptor mStreams[AudioSystem::NUM_STREAM_TYPES]; // stream descriptors for volu… variable
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp705 hidl_vec<V3_4::Stream> mStreams; member
1478 mStreams = streams; in setCurrentStreamConfig()
1548 for (size_t j = 0; j < mStreams.size(); j++) { in notifyHelper()
1549 if (mStreams[j].v3_2.id == messages[i].msg.error.errorStreamId) { in notifyHelper()
1550 hidl_string physicalCameraId = mStreams[j].physicalCameraId; in notifyHelper()
1615 if (bufReqs.size() > mStreams.size()) { in requestStreamBuffers()
1625 for (size_t idx = 0; idx < mStreams.size(); idx++) { in requestStreamBuffers()
1626 if (bufReqs[i].streamId == mStreams[idx].v3_2.id) { in requestStreamBuffers()
1646 const auto& stream = mStreams[idx]; in requestStreamBuffers()
1705 if (mStreams[idx].v3_2.id == buf.streamId && in returnStreamBuffers()