Home
last modified time | relevance | path

Searched refs:inputDeviceInfo (Results 1 - 22 of 22) sorted by relevance

/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dprofession_session.cpp90 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetSupportedMeteringModes() local
91 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::SUCCESS, in GetSupportedMeteringModes()
93 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetSupportedMeteringModes()
164 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetMeteringMode() local
165 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::SUCCESS, in GetMeteringMode()
167 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetMeteringMode()
263 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetISO() local
264 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::INVALID_ARGUMENT, in GetISO()
266 std::shared_ptr<OHOS::Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetISO()
309 auto inputDeviceInfo in GetSupportedFocusModes() local
381 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetFocusMode() local
407 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedExposureHintModes() local
462 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetExposureHintMode() local
487 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedFocusAssistFlashModes() local
560 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetFocusAssistFlashMode() local
585 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedFlashModes() local
605 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetFlashMode() local
689 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedColorEffects() local
714 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetColorEffect() local
[all...]
H A Dtime_lapse_photo_session.cpp189 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in IsTryAENeeded() local
190 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::OPERATION_NOT_ALLOWED, in IsTryAENeeded()
192 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in IsTryAENeeded()
247 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetSupportedTimeLapseIntervalRange() local
248 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::OPERATION_NOT_ALLOWED, in GetSupportedTimeLapseIntervalRange()
250 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetSupportedTimeLapseIntervalRange()
269 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetTimeLapseInterval() local
270 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::OPERATION_NOT_ALLOWED, in GetTimeLapseInterval()
272 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetTimeLapseInterval()
389 auto inputDeviceInfo in GetExposure() local
486 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedMeteringModes() local
522 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetExposureMeteringMode() local
573 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetIso() local
618 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); IsManualIsoSupported() local
702 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedWhiteBalanceModes() local
727 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetWhiteBalanceRange() local
751 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetWhiteBalanceMode() local
810 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetWhiteBalance() local
[all...]
H A Dnight_session.cpp39 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetExposureRange() local
40 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::INVALID_ARGUMENT, in GetExposureRange()
42 std::shared_ptr<OHOS::Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetExposureRange()
93 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetExposure() local
94 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::INVALID_ARGUMENT, in GetExposure()
96 std::shared_ptr<OHOS::Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetExposure()
H A Dportrait_session.cpp50 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetSupportedPortraitEffects() local
51 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, supportedPortraitEffects, in GetSupportedPortraitEffects()
56 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetSupportedPortraitEffects()
77 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetPortraitEffect() local
78 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, PortraitEffect::OFF_EFFECT, in GetPortraitEffect()
80 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetPortraitEffect()
H A Dlight_painting_session.cpp36 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetSupportedLightPaintings() local
37 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, CameraErrorCode::SESSION_NOT_CONFIG, in GetSupportedLightPaintings()
39 std::shared_ptr<OHOS::Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in GetSupportedLightPaintings()
H A Dscan_session.cpp74 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in IsBrightnessStatusSupported() local
75 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, false, in IsBrightnessStatusSupported()
77 sptr<CameraDevice> device = inputDeviceInfo; in IsBrightnessStatusSupported()
H A Dslow_motion_session.cpp65 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in IsSlowMotionDetectionSupported() local
66 CHECK_ERROR_RETURN_RET_LOG(!inputDeviceInfo, false, in IsSlowMotionDetectionSupported()
68 std::shared_ptr<Camera::CameraMetadata> metadata = inputDeviceInfo->GetMetadata(); in IsSlowMotionDetectionSupported()
H A Dcapture_session.cpp1384 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetActiveVideoStabilizationMode() local
1385 if (!inputDeviceInfo) { in GetActiveVideoStabilizationMode()
1389 cameraObj_ = inputDeviceInfo; in GetActiveVideoStabilizationMode()
1413 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetActiveVideoStabilizationMode() local
1414 if (!inputDeviceInfo) { in GetActiveVideoStabilizationMode()
1421 cameraObj_ = inputDeviceInfo; in GetActiveVideoStabilizationMode()
1756 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in GetExposureBiasRange() local
1757 if (!inputDeviceInfo) { in GetExposureBiasRange()
1761 exposureBiasRange = inputDeviceInfo->GetExposureBiasRange(); in GetExposureBiasRange()
1787 auto inputDeviceInfo in SetExposureBias() local
2081 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); CoordinateTransform() local
2773 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetZoomPointInfos() local
2954 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); ProcessProfilesAbilityId() local
3235 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetUsedAsPosition() local
3335 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetMinimumFocusDistance() local
3893 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSensorExposureTime() local
4467 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); ValidateOutputProfile() local
4764 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSensorSensitivityRange() local
4813 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetModuleType() local
4984 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedWhiteBalanceModes() local
5104 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetManualWhiteBalanceRange() local
5186 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetManualWhiteBalance() local
5255 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedVirtualApertures() local
5284 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetSupportedPortraitEffects() local
5322 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetVirtualAperture() local
5385 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); GetPhysicalAperture() local
5452 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); IsLcdFlashSupported() local
[all...]
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/
H A Dhirecorder_impl.cpp896 audioRecorderChangeInfo.inputDeviceInfo.deviceName = capturerChangeInfo.inputDeviceInfo.deviceName; in ConvertCapturerChangeInfo()
897 audioRecorderChangeInfo.inputDeviceInfo.deviceId = capturerChangeInfo.inputDeviceInfo.deviceId; in ConvertCapturerChangeInfo()
898 audioRecorderChangeInfo.inputDeviceInfo.channelMasks = capturerChangeInfo.inputDeviceInfo.channelMasks; in ConvertCapturerChangeInfo()
899 audioRecorderChangeInfo.inputDeviceInfo.deviceRole = capturerChangeInfo.inputDeviceInfo.deviceRole; in ConvertCapturerChangeInfo()
900 audioRecorderChangeInfo.inputDeviceInfo.deviceType = capturerChangeInfo.inputDeviceInfo in ConvertCapturerChangeInfo()
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_stream_collector.cpp160 capturerInfo.inputDeviceInfo = (*it)->inputDeviceInfo; in GetCapturerStreamInfo()
232 capturerChangeInfo->inputDeviceInfo = streamChangeInfo.audioCapturerChangeInfo.inputDeviceInfo; in AddCapturerStream()
333 capturerChangeInfo->inputDeviceInfo = streamChangeInfo.audioCapturerChangeInfo.inputDeviceInfo; in SetCapturerStreamParam()
355 if ((*it)->inputDeviceInfo.deviceType == updatedDesc.deviceType_ && in ResetCapturerStreamDeviceInfo()
356 (*it)->inputDeviceInfo.macAddress == updatedDesc.macAddress_ && in ResetCapturerStreamDeviceInfo()
357 (*it)->inputDeviceInfo.networkId == updatedDesc.networkId_ && in ResetCapturerStreamDeviceInfo()
359 (*it)->inputDeviceInfo in ResetCapturerStreamDeviceInfo()
552 UpdateCapturerDeviceInfo(DeviceInfo &inputDeviceInfo) UpdateCapturerDeviceInfo() argument
620 UpdateCapturerDeviceInfo(int32_t clientUID, int32_t sessionId, DeviceInfo &inputDeviceInfo) UpdateCapturerDeviceInfo() argument
[all...]
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_callback.cpp475 static_cast<int32_t>(value_.inputDeviceInfo.deviceRole)); in SetDeviceProperty()
478 static_cast<int32_t>(value_.inputDeviceInfo.deviceType)); in SetDeviceProperty()
480 setRet = CommonNapi::SetPropertyInt32(env, element, "id", value_.inputDeviceInfo.deviceId); in SetDeviceProperty()
482 setRet = CommonNapi::SetPropertyString(env, element, "name", value_.inputDeviceInfo.deviceName); in SetDeviceProperty()
484 setRet = CommonNapi::SetPropertyString(env, element, "address", value_.inputDeviceInfo.macAddress); in SetDeviceProperty()
486 setRet = CommonNapi::SetPropertyString(env, element, "networkId", value_.inputDeviceInfo.networkId); in SetDeviceProperty()
488 setRet = CommonNapi::SetPropertyString(env, element, "displayName", value_.inputDeviceInfo.displayName); in SetDeviceProperty()
491 value_.inputDeviceInfo.interruptGroupId); in SetDeviceProperty()
494 value_.inputDeviceInfo.volumeGroupId); in SetDeviceProperty()
509 std::vector<int32_t>(value_.inputDeviceInfo in SetDeviceInfo()
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/server/include/
H A Daudio_stream_collector.h49 int32_t UpdateCapturerDeviceInfo(int32_t clientUID, int32_t sessionId, DeviceInfo &inputDeviceInfo);
96 int32_t UpdateCapturerDeviceInfo(DeviceInfo &inputDeviceInfo);
/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Drecorder.h386 DeviceInfo inputDeviceInfo; member in OHOS::Media::AudioRecorderChangeInfo
403 && inputDeviceInfo.Marshalling(parcel) in Marshalling()
414 inputDeviceInfo.Unmarshalling(parcel); in Unmarshalling()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_stream_tracker.cpp56 streamChangeInfo.audioCapturerChangeInfo.inputDeviceInfo.deviceRole = INPUT_DEVICE; in RegisterTracker()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_info.h863 DeviceInfo inputDeviceInfo; member in OHOS::AudioStandard::AudioCapturerChangeInfo
882 && inputDeviceInfo.Marshalling(parcel) in Marshalling()
896 && inputDeviceInfo.Marshalling(parcel, hasBTPermission, hasSystemPermission, apiVersion) in Marshalling()
910 inputDeviceInfo.Unmarshalling(parcel); in Unmarshalling()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dmetadata_output.cpp637 auto inputDeviceInfo = inputDevice->GetCameraDeviceInfo(); in OnMetadataResult() local
638 isNeedMirror = (inputDeviceInfo->GetPosition() == CAMERA_POSITION_FRONT || in OnMetadataResult()
639 inputDeviceInfo->GetPosition() == CAMERA_POSITION_FOLD_INNER); in OnMetadataResult()
640 isNeedFlip = inputDeviceInfo->GetUsedAsPosition() == CAMERA_POSITION_FRONT; in OnMetadataResult()
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/
H A Daudio_stream_manager_unit_test.cpp1284 EXPECT_EQ(audioCapturerChangeInfos[0]->inputDeviceInfo.deviceRole, DeviceRole::INPUT_DEVICE); in HWTEST_F()
1285 EXPECT_EQ(audioCapturerChangeInfos[0]->inputDeviceInfo.deviceType, DeviceType::DEVICE_TYPE_MIC); in HWTEST_F()
1286 EXPECT_GE(audioCapturerChangeInfos[0]->inputDeviceInfo.deviceId, MIN_DEVICE_ID); in HWTEST_F()
1287 EXPECT_EQ(true, (*audioCapturerChangeInfos[0]->inputDeviceInfo.audioStreamInfo.samplingRate.rbegin() in HWTEST_F()
1289 || ((*audioCapturerChangeInfos[0]->inputDeviceInfo.audioStreamInfo.samplingRate.begin() <= SAMPLE_RATE_96000))); in HWTEST_F()
1290 EXPECT_EQ(audioCapturerChangeInfos[0]->inputDeviceInfo.audioStreamInfo.encoding, AudioEncodingType::ENCODING_PCM); in HWTEST_F()
1291 EXPECT_EQ(true, (*audioCapturerChangeInfos[0]->inputDeviceInfo.audioStreamInfo.channels.rbegin() >= MONO) in HWTEST_F()
1292 && ((*audioCapturerChangeInfos[0]->inputDeviceInfo.audioStreamInfo.channels.begin() <= CHANNEL_8))); in HWTEST_F()
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_common.cpp70 Convert2CArrDeviceDescriptorByDeviceInfo(cInfo.deviceDescriptors, changeInfo.inputDeviceInfo, errorCode); in Convert2CAudioCapturerChangeInfo()
/foundation/multimodalinput/input/service/device_manager/test/
H A Dinput_device_manager_test.cpp1247 InputDeviceManager::InputDeviceInfo inputDeviceInfo; in HWTEST_F() local
1249 inputDeviceInfo.isRemote = true; in HWTEST_F()
1250 inputDevice.inputDevice_.insert(std::make_pair(id, inputDeviceInfo)); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp2551 capturerChangeInfo->sessionId, capturerChangeInfo->inputDeviceInfo.deviceType, in MoveToNewInputDevice()
2552 GetEncryptAddr(capturerChangeInfo->inputDeviceInfo.macAddress).c_str(), in MoveToNewInputDevice()
2558 UpdateDeviceInfo(capturerChangeInfo->inputDeviceInfo, new AudioDeviceDescriptor(*inputDevice), true, true); in MoveToNewInputDevice()
2560 capturerChangeInfo->inputDeviceInfo); in MoveToNewInputDevice()
3061 DeviceInfo inputDeviceInfo = capturerChangeInfo->inputDeviceInfo; in FetchInputDevice() local
3099 (IsSameDevice(desc, capturerChangeInfo->inputDeviceInfo) && desc->connectState_ != DEACTIVE_CONNECTED)) { in HandleDeviceChangeForFetchInputDevice()
3176 std::string oldDevicePortName = GetSourcePortName(capturerChangeInfo->inputDeviceInfo.deviceType); in NotifyRecreateCapturerStream()
3178 ((capturerChangeInfo->inputDeviceInfo.networkId == LOCAL_NETWORK_ID) ^ in NotifyRecreateCapturerStream()
5569 UpdateDeviceInfo(streamChangeInfo.audioCapturerChangeInfo.inputDeviceInfo, in RegisterTracker()
[all...]
/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_param_utils.cpp647 SetValueDeviceInfo(env, changeInfo.inputDeviceInfo, deviceInfo); in SetAudioCapturerChangeInfoDescriptors()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp899 deviceInfo = (*it)->inputDeviceInfo; in GetCurrentInputDevices()

Completed in 48 milliseconds