Home
last modified time | relevance | path

Searched refs:capSettings (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_output_impl.cpp296 std::shared_ptr<PhotoCaptureSetting> capSettings = make_shared<PhotoCaptureSetting>(); in Capture() local
297 capSettings->SetMirror(isMirrorEnable_); in Capture()
298 int32_t ret = innerPhotoOutput_->Capture(capSettings); in Capture()
304 std::shared_ptr<PhotoCaptureSetting> capSettings = make_shared<PhotoCaptureSetting>(); in Capture_WithCaptureSetting() local
306 capSettings->SetQuality(static_cast<PhotoCaptureSetting::QualityLevel>(setting.quality)); in Capture_WithCaptureSetting()
308 capSettings->SetRotation(static_cast<PhotoCaptureSetting::RotationConfig>(setting.rotation)); in Capture_WithCaptureSetting()
315 capSettings->SetLocation(location); in Capture_WithCaptureSetting()
318 capSettings->SetMirror(setting.mirror); in Capture_WithCaptureSetting()
320 int32_t ret = innerPhotoOutput_->Capture(capSettings); in Capture_WithCaptureSetting()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dphoto_output_napi.cpp101 std::shared_ptr<PhotoCaptureSetting> capSettings = make_shared<PhotoCaptureSetting>(); in ProcessCapture() local
103capSettings->SetQuality(static_cast<PhotoCaptureSetting::QualityLevel>(context->quality)); in ProcessCapture()
106capSettings->SetRotation(static_cast<PhotoCaptureSetting::RotationConfig>(context->rotation)); in ProcessCapture()
109 capSettings->SetMirror(context->objectInfo->GetEnableMirror()); in ProcessCapture()
111 capSettings->SetMirror(context->isMirror); in ProcessCapture()
114 capSettings->SetLocation(context->location); in ProcessCapture()
119 capSettings->SetBurstCaptureState(burstState); in ProcessCapture()
121 context->errorCode = photoOutput->Capture(capSettings); in ProcessCapture()
123 std::shared_ptr<PhotoCaptureSetting> capSettings = make_shared<PhotoCaptureSetting>(); in ProcessCapture() local
124 capSettings->SetMirror(context->objectInfo->GetEnableMirror()); in ProcessCapture()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_ndk_unittest.cpp1373 Camera_PhotoCaptureSetting capSettings; variable
1374 capSettings.quality = QUALITY_LEVEL_MEDIUM;
1375 capSettings.rotation = IAMGE_ROTATION_90;
1683 Camera_PhotoCaptureSetting capSettings; variable
1684 capSettings.quality = QUALITY_LEVEL_MEDIUM;
1685 capSettings.rotation = IAMGE_ROTATION_90;
1804 Camera_PhotoCaptureSetting capSettings; variable
1805 capSettings.quality = QUALITY_LEVEL_MEDIUM;
1808 capSettings.location = &location;
1867 Camera_PhotoCaptureSetting capSettings; variable
[all …]