Home
last modified time | relevance | path

Searched refs:sourceId (Results 1 - 25 of 84) sorted by relevance

1234

/foundation/multimedia/player_framework/services/include/
H A Di_recorder_service.h37 * @param sourceId Indicates the video source ID. The value <b>-1</b> indicates an invalid ID and the setting fails.
44 virtual int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) = 0;
52 * @param sourceId Indicates the meta source ID. The value <b>-1</b> indicates an invalid ID and the setting fails.
59 virtual int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId) = 0;
67 * @param sourceId Indicates the meta source ID. The value <b>-1</b> indicates an invalid ID and the setting fails.
74 virtual int32_t SetMetaConfigs(int32_t sourceId) = 0;
81 * @param sourceId Indicates the meta source ID, which can be obtained from {@link SetVideoSource}.
88 virtual int32_t SetMetaMimeType(int32_t sourceId, const std::string_view &type) = 0;
95 * @param sourceId Indicates the meta source ID, which can be obtained from {@link SetVideoSource}.
102 virtual int32_t SetMetaTimedKey(int32_t sourceId, cons
261 SetAudioDataSource(const std::shared_ptr<IAudioDataSource>& audioSource, int32_t& sourceId) SetAudioDataSource() argument
[all...]
/foundation/multimedia/player_framework/frameworks/native/recorder/
H A Drecorder_impl.cpp75 int32_t RecorderImpl::SetVideoSource(VideoSourceType source, int32_t &sourceId) in SetVideoSource() argument
77 MEDIA_LOGI("RecorderImpl:0x%{public}06" PRIXPTR " SetVideoSource in, source is %{public}d, sourceId is %{public}d", in SetVideoSource()
78 FAKE_POINTER(this), source, sourceId); in SetVideoSource()
80 return recorderService_->SetVideoSource(source, sourceId); in SetVideoSource()
83 int32_t RecorderImpl::SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) in SetVideoEncoder() argument
85 MEDIA_LOGI("RecorderImpl:0x%{public}06" PRIXPTR " SetVideoEncoder in, sourceId is %{public}d, " in SetVideoEncoder()
86 "encoder is %{public}d", FAKE_POINTER(this), sourceId, encoder); in SetVideoEncoder()
88 return recorderService_->SetVideoEncoder(sourceId, encoder); in SetVideoEncoder()
91 int32_t RecorderImpl::SetVideoSize(int32_t sourceId, int32_t width, int32_t height) in SetVideoSize() argument
93 MEDIA_LOGI("RecorderImpl:0x%{public}06" PRIXPTR " SetVideoSize in, sourceId i in SetVideoSize()
99 SetVideoFrameRate(int32_t sourceId, int32_t frameRate) SetVideoFrameRate() argument
107 SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) SetVideoEncodingBitRate() argument
115 SetVideoIsHdr(int32_t sourceId, bool isHdr) SetVideoIsHdr() argument
123 SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) SetVideoEnableTemporalScale() argument
131 SetCaptureRate(int32_t sourceId, double fps) SetCaptureRate() argument
139 GetSurface(int32_t sourceId) GetSurface() argument
148 GetMetaSurface(int32_t sourceId) GetMetaSurface() argument
157 SetAudioSource(AudioSourceType source, int32_t &sourceId) SetAudioSource() argument
165 SetAudioEncoder(int32_t sourceId, AudioCodecFormat encoder) SetAudioEncoder() argument
173 SetAudioSampleRate(int32_t sourceId, int32_t rate) SetAudioSampleRate() argument
181 SetAudioChannels(int32_t sourceId, int32_t num) SetAudioChannels() argument
189 SetAudioEncodingBitRate(int32_t sourceId, int32_t bitRate) SetAudioEncodingBitRate() argument
197 SetMetaSource(MetaSourceType source, int32_t &sourceId) SetMetaSource() argument
205 SetMetaConfigs(int32_t sourceId) SetMetaConfigs() argument
213 SetDataSource(DataSourceType dataType, int32_t &sourceId) SetDataSource() argument
362 SetParameter(int32_t sourceId, const Format &format) SetParameter() argument
[all...]
H A Drecorder_impl.h32 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) override;
33 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) override;
34 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height) override;
35 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate) override;
36 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) override;
37 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
38 int32_t SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) override;
39 int32_t SetCaptureRate(int32_t sourceId, double fps) override;
40 sptr<OHOS::Surface> GetSurface(int32_t sourceId) override;
41 sptr<OHOS::Surface> GetMetaSurface(int32_t sourceId) overrid
[all...]
/foundation/multimedia/media_lite/frameworks/recorder_lite/
H A Drecorder.cpp28 int32_t Recorder::SetVideoSource(VideoSourceType source, int32_t &sourceId) in SetVideoSource() argument
34 return client_->SetVideoSource(source, sourceId); in SetVideoSource()
37 int32_t Recorder::SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) in SetVideoEncoder() argument
43 return client_->SetVideoEncoder(sourceId, encoder); in SetVideoEncoder()
46 int32_t Recorder::SetVideoSize(int32_t sourceId, int32_t width, int32_t height) in SetVideoSize() argument
52 return client_->SetVideoSize(sourceId, width, height); in SetVideoSize()
54 int32_t Recorder::SetVideoFrameRate(int32_t sourceId, int32_t frameRate) in SetVideoFrameRate() argument
60 return client_->SetVideoFrameRate(sourceId, frameRate); in SetVideoFrameRate()
63 int32_t Recorder::SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) in SetVideoEncodingBitRate() argument
69 return client_->SetVideoEncodingBitRate(sourceId, rat in SetVideoEncodingBitRate()
72 SetCaptureRate(int32_t sourceId, double fps) SetCaptureRate() argument
81 GetSurface(int32_t sourceId) GetSurface() argument
90 SetAudioSource(AudioSourceType source, int32_t &sourceId) SetAudioSource() argument
99 SetAudioEncoder(int32_t sourceId, AudioCodecFormat encoder) SetAudioEncoder() argument
108 SetAudioSampleRate(int32_t sourceId, int32_t rate) SetAudioSampleRate() argument
113 SetAudioChannels(int32_t sourceId, int32_t num) SetAudioChannels() argument
122 SetAudioEncodingBitRate(int32_t sourceId, int32_t bitRate) SetAudioEncodingBitRate() argument
131 SetDataSource(DataSourceType dataType, int32_t &sourceId) SetDataSource() argument
283 SetParameter(int32_t sourceId, const Format &format) SetParameter() argument
[all...]
/foundation/multimedia/media_lite/frameworks/recorder_lite/passthrough/
H A Drecorder_client.cpp33 int32_t Recorder::RecorderClient::SetVideoSource(VideoSourceType source, int32_t &sourceId) in SetVideoSource() argument
39 return impl_->SetVideoSource(source, sourceId); in SetVideoSource()
42 int32_t Recorder::RecorderClient::SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) in SetVideoEncoder() argument
48 return impl_->SetVideoEncoder(sourceId, encoder); in SetVideoEncoder()
51 int32_t Recorder::RecorderClient::SetVideoSize(int32_t sourceId, int32_t width, int32_t height) in SetVideoSize() argument
57 return impl_->SetVideoSize(sourceId, width, height); in SetVideoSize()
60 int32_t Recorder::RecorderClient::SetVideoFrameRate(int32_t sourceId, int32_t frameRate) in SetVideoFrameRate() argument
66 return impl_->SetVideoFrameRate(sourceId, frameRate); in SetVideoFrameRate()
69 int32_t Recorder::RecorderClient::SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) in SetVideoEncodingBitRate() argument
75 return impl_->SetVideoEncodingBitRate(sourceId, rat in SetVideoEncodingBitRate()
78 SetCaptureRate(int32_t sourceId, double fps) SetCaptureRate() argument
87 GetSurface(int32_t sourceId) GetSurface() argument
96 SetAudioSource(AudioSourceType source, int32_t &sourceId) SetAudioSource() argument
105 SetAudioEncoder(int32_t sourceId, AudioCodecFormat encoder) SetAudioEncoder() argument
114 SetAudioSampleRate(int32_t sourceId, int32_t rate) SetAudioSampleRate() argument
123 SetAudioChannels(int32_t sourceId, int32_t num) SetAudioChannels() argument
132 SetAudioEncodingBitRate(int32_t sourceId, int32_t bitRate) SetAudioEncodingBitRate() argument
141 SetDataSource(DataSourceType source, int32_t &sourceId) SetDataSource() argument
285 SetParameter(int32_t sourceId, const Format &format) SetParameter() argument
[all...]
H A Drecorder_client.h27 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId);
28 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder);
29 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height);
30 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate);
31 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate);
32 int32_t SetCaptureRate(int32_t sourceId, double fps);
33 std::shared_ptr<OHOS::Surface> GetSurface(int32_t sourceId);
34 int32_t SetAudioSource(AudioSourceType source, int32_t &sourceId);
35 int32_t SetAudioEncoder(int32_t sourceId, AudioCodecFormat encoder);
36 int32_t SetAudioSampleRate(int32_t sourceId, int32_
[all...]
/foundation/multimedia/player_framework/services/services/recorder/client/
H A Drecorder_client.h33 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) override;
34 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) override;
35 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height) override;
36 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate) override;
37 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) override;
38 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
39 int32_t SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) override;
40 int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId) override;
41 int32_t SetMetaConfigs(int32_t sourceId) override;
42 int32_t SetMetaMimeType(int32_t sourceId, cons
[all...]
H A Drecorder_client.cpp85 int32_t RecorderClient::SetVideoSource(VideoSourceType source, int32_t &sourceId) in SetVideoSource() argument
90 MEDIA_LOGD("SetVideoSource source(%{public}d), sourceId(%{public}d)", source, sourceId); in SetVideoSource()
91 return recorderProxy_->SetVideoSource(source, sourceId); in SetVideoSource()
94 int32_t RecorderClient::SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) in SetVideoEncoder() argument
99 MEDIA_LOGD("SetVideoSource sourceId(%{public}d), encoder(%{public}d)", sourceId, encoder); in SetVideoEncoder()
100 return recorderProxy_->SetVideoEncoder(sourceId, encoder); in SetVideoEncoder()
103 int32_t RecorderClient::SetVideoSize(int32_t sourceId, int32_t width, int32_t height) in SetVideoSize() argument
108 MEDIA_LOGD("SetVideoSize sourceId( in SetVideoSize()
112 SetVideoFrameRate(int32_t sourceId, int32_t frameRate) SetVideoFrameRate() argument
121 SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) SetVideoEncodingBitRate() argument
130 SetVideoIsHdr(int32_t sourceId, bool isHdr) SetVideoIsHdr() argument
139 SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) SetVideoEnableTemporalScale() argument
149 SetMetaSource(MetaSourceType source, int32_t &sourceId) SetMetaSource() argument
159 SetMetaConfigs(int32_t sourceId) SetMetaConfigs() argument
168 SetMetaMimeType(int32_t sourceId, const std::string_view &type) SetMetaMimeType() argument
178 SetMetaTimedKey(int32_t sourceId, const std::string_view &timedKey) SetMetaTimedKey() argument
188 SetMetaSourceTrackMime(int32_t sourceId, const std::string_view &srcTrackMime) SetMetaSourceTrackMime() argument
198 SetCaptureRate(int32_t sourceId, double fps) SetCaptureRate() argument
207 GetSurface(int32_t sourceId) GetSurface() argument
216 GetMetaSurface(int32_t sourceId) GetMetaSurface() argument
225 SetAudioSource(AudioSourceType source, int32_t &sourceId) SetAudioSource() argument
234 SetAudioEncoder(int32_t sourceId, AudioCodecFormat encoder) SetAudioEncoder() argument
243 SetAudioSampleRate(int32_t sourceId, int32_t rate) SetAudioSampleRate() argument
252 SetAudioChannels(int32_t sourceId, int32_t num) SetAudioChannels() argument
261 SetAudioEncodingBitRate(int32_t sourceId, int32_t bitRate) SetAudioEncodingBitRate() argument
270 SetDataSource(DataSourceType dataType, int32_t &sourceId) SetDataSource() argument
462 SetParameter(int32_t sourceId, const Format &format) SetParameter() argument
[all...]
/foundation/multimedia/media_lite/frameworks/recorder_lite/binder/
H A Drecorder_client.h28 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId);
29 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder);
30 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height);
31 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate);
32 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate);
33 int32_t SetCaptureRate(int32_t sourceId, double fps);
34 std::shared_ptr<OHOS::Surface> GetSurface(int32_t sourceId);
35 int32_t SetAudioSource(AudioSourceType source, int32_t &sourceId);
36 int32_t SetAudioEncoder(int32_t sourceId, AudioCodecFormat encoder);
37 int32_t SetAudioSampleRate(int32_t sourceId, int32_
[all...]
/foundation/multimedia/player_framework/services/services/recorder/ipc/
H A Drecorder_service_proxy.h30 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) override;
31 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) override;
32 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height) override;
33 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate) override;
34 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) override;
35 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
36 int32_t SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) override;
37 int32_t SetMetaConfigs(int32_t sourceId) override;
38 int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId) override;
39 int32_t SetMetaMimeType(int32_t sourceId, cons
[all...]
H A Di_standard_recorder_service.h31 virtual int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) = 0;
32 virtual int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) = 0;
33 virtual int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height) = 0;
34 virtual int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate) = 0;
35 virtual int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) = 0;
36 virtual int32_t SetMetaConfigs(int32_t sourceId) = 0;
37 virtual int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId) = 0;
38 virtual int32_t SetMetaMimeType(int32_t sourceId, const std::string_view &type) = 0;
39 virtual int32_t SetMetaTimedKey(int32_t sourceId, const std::string_view &timedKey) = 0;
40 virtual int32_t SetMetaSourceTrackMime(int32_t sourceId, cons
41 SetCaptureRate(int32_t sourceId, double fps) SetCaptureRate() argument
[all...]
H A Drecorder_service_stub.cpp243 int32_t RecorderServiceStub::SetVideoSource(VideoSourceType source, int32_t &sourceId) in SetVideoSource() argument
246 return recorderServer_->SetVideoSource(source, sourceId); in SetVideoSource()
249 int32_t RecorderServiceStub::SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) in SetVideoEncoder() argument
252 return recorderServer_->SetVideoEncoder(sourceId, encoder); in SetVideoEncoder()
255 int32_t RecorderServiceStub::SetVideoSize(int32_t sourceId, int32_t width, int32_t height) in SetVideoSize() argument
258 return recorderServer_->SetVideoSize(sourceId, width, height); in SetVideoSize()
261 int32_t RecorderServiceStub::SetVideoFrameRate(int32_t sourceId, int32_t frameRate) in SetVideoFrameRate() argument
264 return recorderServer_->SetVideoFrameRate(sourceId, frameRate); in SetVideoFrameRate()
267 int32_t RecorderServiceStub::SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) in SetVideoEncodingBitRate() argument
270 return recorderServer_->SetVideoEncodingBitRate(sourceId, rat in SetVideoEncodingBitRate()
273 SetVideoIsHdr(int32_t sourceId, bool isHdr) SetVideoIsHdr() argument
279 SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) SetVideoEnableTemporalScale() argument
285 SetMetaConfigs(int32_t sourceId) SetMetaConfigs() argument
291 SetMetaSource(MetaSourceType source, int32_t &sourceId) SetMetaSource() argument
297 SetMetaMimeType(int32_t sourceId, const std::string_view &type) SetMetaMimeType() argument
303 SetMetaTimedKey(int32_t sourceId, const std::string_view &timedKey) SetMetaTimedKey() argument
309 SetMetaSourceTrackMime(int32_t sourceId, const std::string_view &srcTrackMime) SetMetaSourceTrackMime() argument
315 GetSurface(int32_t sourceId) GetSurface() argument
321 GetMetaSurface(int32_t sourceId) GetMetaSurface() argument
327 SetAudioSource(AudioSourceType source, int32_t &sourceId) SetAudioSource() argument
333 SetAudioEncoder(int32_t sourceId, AudioCodecFormat encoder) SetAudioEncoder() argument
339 SetAudioSampleRate(int32_t sourceId, int32_t rate) SetAudioSampleRate() argument
345 SetAudioChannels(int32_t sourceId, int32_t num) SetAudioChannels() argument
351 SetAudioEncodingBitRate(int32_t sourceId, int32_t bitRate) SetAudioEncodingBitRate() argument
357 SetDataSource(DataSourceType dataType, int32_t &sourceId) SetDataSource() argument
528 int32_t sourceId = 0; SetVideoSource() local
537 int32_t sourceId = data.ReadInt32(); SetVideoEncoder() local
546 int32_t sourceId = data.ReadInt32(); SetVideoSize() local
555 int32_t sourceId = data.ReadInt32(); SetVideoFrameRate() local
563 int32_t sourceId = data.ReadInt32(); SetVideoEncodingBitRate() local
571 int32_t sourceId = data.ReadInt32(); SetVideoIsHdr() local
579 int32_t sourceId = data.ReadInt32(); SetVideoEnableTemporalScale() local
587 int32_t sourceId = data.ReadInt32(); SetMetaConfigs() local
597 int32_t sourceId = 0; SetMetaSource() local
606 int32_t sourceId = data.ReadInt32(); SetMetaMimeType() local
617 int32_t sourceId = data.ReadInt32(); SetMetaTimedKey() local
628 int32_t sourceId = data.ReadInt32(); SetMetaSourceTrackMime() local
639 int32_t sourceId = data.ReadInt32(); GetSurface() local
650 int32_t sourceId = data.ReadInt32(); GetMetaSurface() local
661 int32_t sourceId = 0; SetAudioSource() local
670 int32_t sourceId = data.ReadInt32(); SetAudioEncoder() local
679 int32_t sourceId = data.ReadInt32(); SetAudioSampleRate() local
687 int32_t sourceId = data.ReadInt32(); SetAudioChannels() local
695 int32_t sourceId = data.ReadInt32(); SetAudioEncodingBitRate() local
704 int32_t sourceId = 0; SetDataSource() local
[all...]
H A Drecorder_service_stub.h39 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) override;
40 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) override;
41 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height) override;
42 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate) override;
43 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) override;
44 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
45 int32_t SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) override;
46 int32_t SetMetaConfigs(int32_t sourceId) override;
47 int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId) override;
48 int32_t SetMetaMimeType(int32_t sourceId, cons
[all...]
/foundation/multimedia/media_lite/services/recorder_lite/impl/include/
H A Drecorder_impl.h57 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId);
58 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder);
59 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height);
60 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate);
61 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate);
62 int32_t SetCaptureRate(int32_t sourceId, double fps);
63 int32_t SetOrientationHint(int32_t sourceId, int32_t degree);
64 std::shared_ptr<OHOS::Surface> GetSurface(int32_t sourceId);
66 int32_t SetAudioSource(AudioSourceType source, int32_t &sourceId);
67 int32_t SetAudioEncoder(int32_t sourceId, AudioCodecForma
[all...]
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/
H A Drecorder_utils.h52 static inline int32_t IsAudio(int32_t sourceId) in IsAudio()
54 return ((sourceId > 0) && in IsAudio()
55 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == AUDIO_MASK)); in IsAudio()
58 static inline int32_t IsVideo(int32_t sourceId) in IsVideo()
60 return ((sourceId > 0) && in IsVideo()
61 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == VIDEO_MASK)); in IsVideo()
64 static inline int32_t IsMeta(int32_t sourceId) in IsMeta()
66 return ((sourceId > 0) && in IsMeta()
67 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == META_MASK)); in IsMeta()
H A Dhirecorder_impl.h59 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId);
60 int32_t SetAudioSource(AudioSourceType source, int32_t &sourceId);
61 int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId);
62 int32_t SetAudioDataSource(const std::shared_ptr<IAudioDataSource>& audioSource, int32_t& sourceId);
65 int32_t Configure(int32_t sourceId, const RecorderParam &recParam);
66 sptr<Surface> GetSurface(int32_t sourceId);
67 sptr<Surface> GetMetaSurface(int32_t sourceId);
74 int32_t SetParameter(int32_t sourceId, const RecorderParam &recParam);
90 void ConfigureMeta(int32_t sourceId, const RecorderParam &recParam);
92 bool CheckParamType(int32_t sourceId, cons
[all...]
/foundation/multimedia/media_lite/interfaces/kits/recorder_lite/
H A Drecorder.h228 * @param sourceId Indicates the video source ID. The value <b>-1</b> indicates an invalid ID and the setting fails.
235 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId);
243 * @param sourceId Indicates the video source ID, which can be obtained from {@link SetVideoSource}.
250 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder);
257 * @param sourceId Indicates the video source ID, which can be obtained from {@link SetVideoSource}.
265 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height);
272 * @param sourceId Indicates the video source ID, which can be obtained from {@link SetVideoSource}.
279 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate);
286 * @param sourceId Indicates the video source ID, which can be obtained from {@link SetVideoSource}.
293 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_
[all...]
/foundation/multimedia/player_framework/test/unittest/audio_haptic_test/
H A Daudio_haptic_unit_test.cpp114 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); in HWTEST_F() local
115 EXPECT_NE(-1, sourceId); in HWTEST_F()
117 g_audioHapticManager->UnregisterSource(sourceId); in HWTEST_F()
131 int32_t sourceId = g_audioHapticManager->RegisterSourceWithEffectId(audioUri, effectId); in HWTEST_F() local
132 EXPECT_NE(-1, sourceId); in HWTEST_F()
134 g_audioHapticManager->UnregisterSource(sourceId); in HWTEST_F()
148 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); in HWTEST_F() local
149 EXPECT_NE(-1, sourceId); in HWTEST_F()
151 int32_t result = g_audioHapticManager->UnregisterSource(sourceId); in HWTEST_F()
164 int32_t sourceId in HWTEST_F() local
180 int32_t sourceId = g_audioHapticManager->RegisterSourceWithEffectId(audioUri, effectId); HWTEST_F() local
198 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
219 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
236 int32_t sourceId = -1; HWTEST_F() local
253 int32_t sourceId = g_audioHapticManager->RegisterSourceWithEffectId(audioUri, effectId); HWTEST_F() local
274 int32_t sourceId = g_audioHapticManager->RegisterSourceWithEffectId(audioUri, effectId); HWTEST_F() local
295 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
321 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
347 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
373 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
399 int32_t sourceId = -1; HWTEST_F() local
418 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
451 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
484 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
517 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, hapticUri); HWTEST_F() local
571 int32_t sourceId = g_audioHapticManager->RegisterSource(audioUri, newHapticUri); HWTEST_F() local
[all...]
/foundation/multimedia/media_lite/services/recorder_lite/server/src/
H A Drecorder_service.cpp96 int32_t sourceId; in Dispatch() local
97 ReadInt32(req, &sourceId); in Dispatch()
100 int32_t ret = recorder->SetVideoFrameRate(sourceId, frameRate); in Dispatch()
105 int32_t sourceId; in Dispatch() local
106 ReadInt32(req, &sourceId); in Dispatch()
109 int32_t ret = recorder->SetVideoEncodingBitRate(sourceId, rate); in Dispatch()
114 int32_t sourceId; in Dispatch() local
115 ReadInt32(req, &sourceId); in Dispatch()
117 int32_t ret = recorder->SetCaptureRate(sourceId, *fps); in Dispatch()
122 int32_t sourceId; in Dispatch() local
139 int32_t sourceId; Dispatch() local
147 int32_t sourceId; Dispatch() local
156 int32_t sourceId; Dispatch() local
165 int32_t sourceId; Dispatch() local
[all...]
/foundation/multimedia/player_framework/services/services/recorder/server/
H A Drecorder_server.h71 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) override;
72 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder) override;
73 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height) override;
74 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate) override;
75 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate) override;
76 int32_t SetVideoIsHdr(int32_t sourceId, bool isHdr) override;
77 int32_t SetVideoEnableTemporalScale(int32_t sourceId, bool enableTemporalScale) override;
78 int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId) override;
79 int32_t SetMetaConfigs(int32_t sourceId) override;
80 int32_t SetMetaMimeType(int32_t sourceId, cons
[all...]
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_manager_impl.cpp77 int32_t sourceId = curPlayerIndex_; in RegisterSourceWithEffectId() local
79 audioHapticPlayerMap_[sourceId] = std::make_shared<AudioHapticPlayerInfo>(audioUri, sourceUri, in RegisterSourceWithEffectId()
82 MEDIA_LOGI("Finish to RegisterSourceWithEffectId. effectId: %{public}s, sourceId: %{public}d", in RegisterSourceWithEffectId()
83 effectId.c_str(), sourceId); in RegisterSourceWithEffectId()
84 return sourceId; in RegisterSourceWithEffectId()
99 int32_t sourceId = curPlayerIndex_; in RegisterSource() local
101 audioHapticPlayerMap_[sourceId] = std::make_shared<AudioHapticPlayerInfo>(audioUri, sourceUri, in RegisterSource()
104 MEDIA_LOGI("Finish to RegisterSource. audioUri: %{public}s, hapticUri: %{public}s, sourceId: %{public}d", in RegisterSource()
105 audioUri.c_str(), hapticUri.c_str(), sourceId); in RegisterSource()
106 return sourceId; in RegisterSource()
124 CheckAudioLatencyMode(const int32_t &sourceId, const AudioLatencyMode &latencyMode) CheckAudioLatencyMode() argument
141 SetAudioLatencyMode(const int32_t &sourceId, const AudioLatencyMode &latencyMode) SetAudioLatencyMode() argument
[all...]
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/include/
H A Drecorder_mock.h124 int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId);
125 int32_t SetAudioSource(AudioSourceType source, int32_t &sourceId);
126 int32_t SetDataSource(DataSourceType dataType, int32_t &sourceId);
128 int32_t SetVideoEncoder(int32_t sourceId, VideoCodecFormat encoder);
129 int32_t SetVideoSize(int32_t sourceId, int32_t width, int32_t height);
130 int32_t SetVideoFrameRate(int32_t sourceId, int32_t frameRate);
131 int32_t SetVideoEncodingBitRate(int32_t sourceId, int32_t rate);
132 int32_t SetCaptureRate(int32_t sourceId, double fps);
133 OHOS::sptr<OHOS::Surface> GetSurface(int32_t sourceId);
134 OHOS::sptr<OHOS::Surface> GetMetaSurface(int32_t sourceId);
[all...]
/foundation/multimedia/media_foundation/engine/scene/recorder/standard/
H A Drecorder_utils.h60 static int32_t IsAudio(int32_t sourceId) in IsAudio()
62 return ((sourceId > 0) && in IsAudio()
63 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == AUDIO_MASK)); in IsAudio()
66 static int32_t IsVideo(int32_t sourceId) in IsVideo()
68 return ((sourceId > 0) && in IsVideo()
69 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == VIDEO_MASK)); in IsVideo()
85 bool CastRecorderParam(int32_t sourceId, const RecorderParam& param, HstRecParam& out);
H A Dhirecorder_impl.h55 int32_t SetAudioSource(AudioSourceType source, int32_t& sourceId) override;
56 int32_t SetVideoSource(VideoSourceType source, int32_t& sourceId) override;
57 sptr<Surface> GetSurface(int32_t sourceId) override;
60 int32_t Configure(int32_t sourceId, const RecorderParam& recParam) override;
67 int32_t SetParameter(int32_t sourceId, const RecorderParam& recParam) override;
86 ErrorCode SetAudioSourceInternal(AudioSourceType source, int32_t sourceId);
87 ErrorCode SetVideoSourceInternal(VideoSourceType source, int32_t sourceId);
91 bool CheckParamType(int32_t sourceId, const RecorderParam& recParam) const;
/foundation/multimedia/player_framework/services/services/engine_intf/
H A Di_recorder_engine.h34 * example, when specify the maximum duration of the output file, a "sourceId" parameter is still
81 * Sets the video source for recording. The sourceId can be used to identify the video source when configure
82 * the video track's any properties. When the setting is failed, the sourceId is -1.
86 virtual int32_t SetVideoSource(VideoSourceType source, int32_t &sourceId) = 0;
89 * Sets the audio source for recording. The sourceId can be used to identify the audio source when configure
90 * the audio track's any properties. When the setting is failed, the sourceId is -1.
94 virtual int32_t SetAudioSource(AudioSourceType source, int32_t &sourceId) = 0;
97 * Sets the meta source for recording. The sourceId can be used to identify the meta source when configure
98 * the meta track's any properties. When the setting is failed, the sourceId is -1.
102 virtual int32_t SetMetaSource(MetaSourceType source, int32_t &sourceId)
110 SetAudioDataSource(const std::shared_ptr<IAudioDataSource>& audioSource, int32_t& sourceId) SetAudioDataSource() argument
[all...]

Completed in 13 milliseconds

1234