/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio_ext/v1_0/test/unittest/include/ |
H A D | daudio_test_utils.h | 30 int32_t CreateStream(int32_t streamId) override in CreateStream() 35 int32_t DestroyStream(int32_t streamId) override in DestroyStream() 40 int32_t SetParameters(int32_t streamId, const AudioParameter ¶m) override in SetParameters() 45 int32_t NotifyEvent(int32_t streamId, const DAudioEvent &event) override in NotifyEvent() 50 int32_t WriteStreamData(int32_t streamId, const AudioData &data) override in WriteStreamData() 55 int32_t ReadStreamData(int32_t streamId, AudioData &data) override in ReadStreamData() 60 int32_t ReadMmapPosition(int32_t streamId, uint64_t &frames, CurrentTime &time) override in ReadMmapPosition() 65 …int32_t RefreshAshmemInfo(int32_t streamId, int fd, int32_t ashmemLength, int32_t lengthPerTrans) … in RefreshAshmemInfo()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_manager_callback/include/ |
H A D | audio_test_utils.h | 30 int32_t CreateStream(const int32_t streamId) override in CreateStream() 35 int32_t DestroyStream(const int32_t streamId) override in DestroyStream() 40 int32_t SetParameters(const int32_t streamId, const AudioParamHDF ¶m) override in SetParameters() 45 int32_t NotifyEvent(const int32_t streamId, const AudioEvent &event) override in NotifyEvent() 50 int32_t WriteStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) override in WriteStreamData() 55 int32_t ReadStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) override in ReadStreamData() 61 int32_t ReadMmapPosition(const int32_t streamId, uint64_t &frames, CurrentTimeHDF &time) in ReadMmapPosition() 66 …int32_t RefreshAshmemInfo(const int32_t streamId, int32_t fd, int32_t ashmemLength, int32_t length… in RefreshAshmemInfo()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/include/ |
H A D | audio_test_utils.h | 46 int32_t NotifyEvent(const std::string &adpName, int32_t devId, int32_t streamId, in NotifyEvent() 58 int32_t CreateStream(const int32_t streamId) override in CreateStream() 63 int32_t DestroyStream(const int32_t streamId) override in DestroyStream() 68 int32_t SetParameters(const int32_t streamId, const AudioParamHDF ¶m) override in SetParameters() 73 int32_t NotifyEvent(const int32_t streamId, const AudioEvent &event) override in NotifyEvent() 78 int32_t WriteStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) override in WriteStreamData() 83 int32_t ReadStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) override in ReadStreamData() 88 int32_t ReadMmapPosition(const int32_t streamId, uint64_t &frames, CurrentTimeHDF &time) in ReadMmapPosition() 93 …int32_t RefreshAshmemInfo(const int32_t streamId, int32_t fd, int32_t ashmemLength, int32_t length… in RefreshAshmemInfo()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/src/ |
H A D | daudio_manager_callback.cpp | 35 int32_t DAudioManagerCallback::CreateStream(int32_t streamId /* for multistream */) in CreateStream() 46 int32_t DAudioManagerCallback::DestroyStream(int32_t streamId) in DestroyStream() 106 int32_t DAudioManagerCallback::SetParameters(int32_t streamId, const AudioParameter& param) in SetParameters() 124 int32_t DAudioManagerCallback::NotifyEvent(int32_t streamId, in NotifyEvent() 171 int32_t DAudioManagerCallback::WriteStreamData(int32_t streamId, in WriteStreamData() 195 int32_t DAudioManagerCallback::ReadStreamData(int32_t streamId, in ReadStreamData() 212 int32_t DAudioManagerCallback::ReadMmapPosition(int32_t streamId, in ReadMmapPosition() 228 int32_t DAudioManagerCallback::RefreshAshmemInfo(int32_t streamId, int fd, int32_t ashmemLength, in RefreshAshmemInfo()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/vpss_node/ |
H A D | vpss_node.cpp | 41 RetCode VpssNode::Init(const int32_t streamId) in Init() 47 RetCode VpssNode::Start(const int32_t streamId) in Start() 76 RetCode VpssNode::Flush(const int32_t streamId) in Flush() 97 RetCode VpssNode::Stop(const int32_t streamId) in Stop() 119 RetCode VpssNode::Capture(const int32_t streamId, const int32_t captureId) in Capture() 135 RetCode VpssNode::CancelCapture(const int32_t streamId) in CancelCapture()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/ |
H A D | scale_node.cpp | 34 RetCode ScaleNode::Start(const int32_t streamId) in Start() 40 RetCode ScaleNode::Stop(const int32_t streamId) in Stop() 46 RetCode ScaleNode::Flush(const int32_t streamId) in Flush() 75 RetCode ScaleNode::Capture(const int32_t streamId, const int32_t captureId) in Capture() 81 RetCode ScaleNode::CancelCapture(const int32_t streamId) in CancelCapture()
|
H A D | exif_node.cpp | 31 RetCode ExifNode::Start(const int32_t streamId) in Start() 37 RetCode ExifNode::Stop(const int32_t streamId) in Stop() 43 RetCode ExifNode::Flush(const int32_t streamId) in Flush() 83 RetCode ExifNode::Config(const int32_t streamId, const CaptureMeta &meta) in Config() 161 RetCode ExifNode::Capture(const int32_t streamId, const int32_t captureId) in Capture() 167 RetCode ExifNode::CancelCapture(const int32_t streamId) in CancelCapture()
|
H A D | fork_node.cpp | 30 RetCode PcForkNode::Start(const int32_t streamId) in Start() 72 RetCode PcForkNode::Stop(const int32_t streamId) in Stop() 89 RetCode PcForkNode::Flush(const int32_t streamId) in Flush() 165 RetCode PcForkNode::Capture(const int32_t streamId, const int32_t captureId) in Capture() 187 RetCode PcForkNode::CancelCapture(const int32_t streamId) in CancelCapture()
|
H A D | face_node.cpp | 31 RetCode FaceNode::Start(const int32_t streamId) in Start() 38 RetCode FaceNode::Stop(const int32_t streamId) in Stop() 46 RetCode FaceNode::Flush(const int32_t streamId) in Flush() 69 RetCode FaceNode::Config(const int32_t streamId, const CaptureMeta& meta) in Config() 80 RetCode FaceNode::Capture(const int32_t streamId, const int32_t captureId) in Capture() 86 RetCode FaceNode::CancelCapture(const int32_t streamId) in CancelCapture()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/ |
H A D | stream_pipeline_dispatcher.cpp | 92 void StreamPipelineDispatcher::CutUselessBranch(int32_t streamId, std::vector<std::shared_ptr<INode… in CutUselessBranch() 113 RetCode StreamPipelineDispatcher::Prepare(const int32_t streamId) in Prepare() 128 RetCode StreamPipelineDispatcher::Start(const int32_t streamId) in Start() 143 RetCode StreamPipelineDispatcher::Config(const int32_t streamId, const CaptureMeta& meta) in Config() 156 RetCode StreamPipelineDispatcher::Flush(const int32_t streamId) in Flush() 177 RetCode StreamPipelineDispatcher::Stop(const int32_t streamId) in Stop() 192 RetCode StreamPipelineDispatcher::Capture(const int32_t streamId, const int32_t captureId) in Capture() 206 RetCode StreamPipelineDispatcher::CancelCapture(const int32_t streamId) in CancelCapture() 220 RetCode StreamPipelineDispatcher::Destroy(const int32_t streamId) in Destroy() 232 std::shared_ptr<INode> StreamPipelineDispatcher::GetNode(const int32_t streamId, const std::string … in GetNode()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/sink_node/ |
H A D | sink_node.cpp | 24 RetCode SinkNode::Start(const int32_t streamId) in Start() 30 RetCode SinkNode::Stop(const int32_t streamId) in Stop() 39 int32_t streamId = buffer->GetStreamId(); in DeliverBuffer() local
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/ |
H A D | fork_node.cpp | 30 RetCode ForkNode::Start(const int32_t streamId) in Start() 80 RetCode ForkNode::Stop(const int32_t streamId) in Stop() 109 RetCode ForkNode::Flush(const int32_t streamId) in Flush() 177 RetCode ForkNode::Capture(const int32_t streamId, const int32_t captureId) in Capture() 238 RetCode ForkNode::CancelCapture(const int32_t streamId) in CancelCapture()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/venc_node/ |
H A D | venc_node.cpp | 27 RetCode VencNode::Start(const int32_t streamId) in Start() 32 RetCode VencNode::Stop(const int32_t streamId) in Stop()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/transform_node/ |
H A D | transform_node.cpp | 23 RetCode TransformNode::Start(const int32_t streamId) in Start() 28 RetCode TransformNode::Stop(const int32_t streamId) in Stop()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/v4l2_source_node/ |
H A D | v4l2_source_node.cpp | 52 RetCode V4L2SourceNode::Init(const int32_t streamId) in Init() 57 RetCode V4L2SourceNode::Start(const int32_t streamId) in Start() 98 RetCode V4L2SourceNode::Flush(const int32_t streamId) in Flush() 111 RetCode V4L2SourceNode::Stop(const int32_t streamId) in Stop() 140 int32_t streamId = -1; in GetStreamId() local
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/source_node/ |
H A D | source_node.cpp | 32 RetCode SourceNode::Init(const int32_t streamId) in Init() 38 RetCode SourceNode::Start(const int32_t streamId) in Start() 80 RetCode SourceNode::Flush(const int32_t streamId) in Flush() 87 RetCode SourceNode::Stop(const int32_t streamId) in Stop() 102 RetCode SourceNode::Config(const int32_t streamId, const CaptureMeta& meta) in Config() 155 RetCode SourceNode::Capture(const int32_t streamId, const int32_t captureId) in Capture() 168 RetCode SourceNode::CancelCapture(const int32_t streamId) in CancelCapture() 190 uint32_t streamId = format.streamId_; in StartCollectBuffers() local
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/ |
H A D | dspeaker_dev.cpp | 109 int32_t DSpeakerDev::CreateStream(const int32_t streamId) in CreateStream() 135 int32_t DSpeakerDev::DestroyStream(const int32_t streamId) in DestroyStream() 161 int32_t DSpeakerDev::SetParameters(const int32_t streamId, const AudioParamHDF ¶m) in SetParameters() 181 int32_t DSpeakerDev::NotifyEvent(const int32_t streamId, const AudioEvent &event) in NotifyEvent() 290 int32_t DSpeakerDev::ReadStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) in ReadStreamData() 298 int32_t DSpeakerDev::WriteStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) in WriteStreamData() 319 int32_t DSpeakerDev::ReadMmapPosition(const int32_t streamId, in ReadMmapPosition() 330 int32_t DSpeakerDev::RefreshAshmemInfo(const int32_t streamId, in RefreshAshmemInfo()
|
H A D | dmic_dev.cpp | 125 int32_t DMicDev::CreateStream(const int32_t streamId) in CreateStream() 151 int32_t DMicDev::DestroyStream(const int32_t streamId) in DestroyStream() 177 int32_t DMicDev::SetParameters(const int32_t streamId, const AudioParamHDF ¶m) in SetParameters() 207 int32_t DMicDev::NotifyEvent(const int32_t streamId, const AudioEvent &event) in NotifyEvent() 342 int32_t DMicDev::WriteStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) in WriteStreamData() 349 int32_t DMicDev::ReadStreamData(const int32_t streamId, std::shared_ptr<AudioData> &data) in ReadStreamData() 383 int32_t DMicDev::ReadMmapPosition(const int32_t streamId, uint64_t &frames, CurrentTimeHDF &time) in ReadMmapPosition() 393 int32_t DMicDev::RefreshAshmemInfo(const int32_t streamId, in RefreshAshmemInfo()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/vo_node/ |
H A D | vo_node.cpp | 36 RetCode VoNode::Start(const int32_t streamId) in Start() 58 RetCode VoNode::Stop(const int32_t streamId) in Stop()
|
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_test_utils/ |
H A D | audio_test_utils.h | 45 int32_t CreateStream(int32_t streamId) override in CreateStream() 50 int32_t DestroyStream(int32_t streamId) override in DestroyStream() 55 int32_t SetParameters(int32_t streamId, const AudioParameter ¶m) override in SetParameters() 60 int32_t NotifyEvent(int32_t streamId, const DAudioEvent &event) override in NotifyEvent() 65 int32_t WriteStreamData(int32_t streamId, const AudioData &data) override in WriteStreamData() 70 int32_t ReadStreamData(int32_t streamId, AudioData &data) override in ReadStreamData() 487 int32_t CreateStream(int32_t streamId) override in CreateStream() 492 int32_t DestroyStream(int32_t streamId) override in DestroyStream() 502 int32_t NotifyEvent(int32_t streamId, const DAudioEvent &event) override in NotifyEvent() 507 int32_t WriteStreamData(int32_t streamId, const AudioData &data) override in WriteStreamData() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_media_downloader.cpp | 145 void DashMediaDownloader::UpdateDownloadFinished(int streamId) in UpdateDownloadFinished() 276 Status DashMediaDownloader::SelectStream(int32_t streamId) in SelectStream() 403 auto doneCallback = [this] (int streamId) { in OpenInitSegment() 421 int streamId = -1; in ReceiveMpdParseOkEvent() local 607 bool DashMediaDownloader::CheckAutoSelectBitrate(int streamId) in CheckAutoSelectBitrate() 698 int streamId = bitrateParam_.streamId_; in IsSeekingInSwitch() local 712 int streamId = trackParam_.streamId_; in IsSeekingInSwitch() local 924 bool DashMediaDownloader::DoPreparedSwitchAudio(int &streamId) in DoPreparedSwitchAudio() 958 bool switchAudioOk, bool switchSubtitleOk, int &streamId) in DoPreparedSwitchAction() 1003 bool DashMediaDownloader::DoPreparedAction(int &streamId) in DoPreparedAction() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/ |
H A D | dcamera_stream_data_process.cpp | 50 for (auto streamId : streamIds_) { in FeedStream() local 73 for (auto streamId : streamIds) { in ConfigStreams() local 85 for (auto streamId : streamIds) { in ReleaseStreams() local 91 int32_t streamId = *iter; in ReleaseStreams() local 122 uint32_t streamId = *iter; in StartCapture() local 152 uint32_t streamId = *iter; in StopCapture() local
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/vi_node/ |
H A D | vi_node.cpp | 34 RetCode ViNode::Start(const int32_t streamId) in Start() 61 RetCode ViNode::Stop(const int32_t streamId) in Stop()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/ |
H A D | uvc_node.cpp | 79 RetCode UvcNode::Init(const int32_t streamId) in Init() 85 RetCode UvcNode::Flush(const int32_t streamId) in Flush() 98 RetCode UvcNode::Start(const int32_t streamId) in Start() 122 RetCode UvcNode::Stop(const int32_t streamId) in Stop() 151 int32_t streamId = -1; in GetStreamId() local
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/dash_test/ |
H A D | dash_segment_downloader_unit_test.cpp | 85 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f0302() 112 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f0502() 142 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f0702() 166 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f0902() 212 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f0b02() 248 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f0d02() 298 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f0f02() 310 int32_t streamId = -1; variable 332 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f1102() 355 auto doneCallback = [] (int streamId) {}; in __anon59f90d7f1302() [all …]
|