Home
last modified time | relevance | path

Searched refs:RotationConfig (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dphoto_output.h168 … enum RotationConfig { Rotation_0 = 0, Rotation_90 = 90, Rotation_180 = 180, Rotation_270 = 270 }; enum
191 RotationConfig GetRotation();
198 void SetRotation(RotationConfig rotationvalue);
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/
H A Dmain.cpp261 PhotoCaptureSetting::RotationConfig rotation = PhotoCaptureSetting::RotationConfig::Rotation_0; in ConfigPhotoCaptureSetting()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dphoto_output.cpp85 PhotoCaptureSetting::RotationConfig PhotoCaptureSetting::GetRotation() in GetRotation()
87 RotationConfig rotation; in GetRotation()
92 rotation = static_cast<RotationConfig>(item.data.i32[0]); in GetRotation()
95 return RotationConfig::Rotation_0; in GetRotation()
98 void PhotoCaptureSetting::SetRotation(PhotoCaptureSetting::RotationConfig rotationValue) in SetRotation()
/ohos5.0/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/
H A Ddcamera_client_demo.cpp270 PhotoCaptureSetting::RotationConfig rotation = PhotoCaptureSetting::RotationConfig::Rotation_0; in ConfigPhotoCaptureSetting()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/src/
H A Ddcamera_client.cpp593 CameraStandard::PhotoCaptureSetting::RotationConfig rotation = in SetPhotoCaptureRotation()
594 static_cast<CameraStandard::PhotoCaptureSetting::RotationConfig>(item.data.i32[0]); in SetPhotoCaptureRotation()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_output_impl.cpp308 capSettings->SetRotation(static_cast<PhotoCaptureSetting::RotationConfig>(setting.rotation)); in Capture_WithCaptureSetting()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp5322 PhotoCaptureSetting::RotationConfig rotation = photoSetting->GetRotation();
5323 EXPECT_EQ(rotation, PhotoCaptureSetting::RotationConfig::Rotation_0);
12911 …iewRotation = previewOutput_1->GetPreviewRotation(PhotoCaptureSetting::RotationConfig::Rotation_0);
12912 EXPECT_EQ(previewRotation, PhotoCaptureSetting::RotationConfig::Rotation_90);
12914 …int32_t videoRotation = videoOutput_1->GetVideoRotation(PhotoCaptureSetting::RotationConfig::Rotat…
12915 EXPECT_EQ(videoRotation, PhotoCaptureSetting::RotationConfig::Rotation_180);
12917 …int32_t photoRotation = photoOutput_1->GetPhotoRotation(PhotoCaptureSetting::RotationConfig::Rotat…
12918 EXPECT_EQ(photoRotation, PhotoCaptureSetting::RotationConfig::Rotation_270);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dphoto_output_napi.cpp106 … capSettings->SetRotation(static_cast<PhotoCaptureSetting::RotationConfig>(context->rotation)); in ProcessCapture()