/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | video_session.cpp | 36 configs->previewProfile = { CameraFormat::CAMERA_FORMAT_YUV_420_SP, { .width = 720, .height = 720 } }; in GeneratePreconfigProfiles1_1() 37 configs->previewProfile.fps_ = { .fixedFps = 30, .minFps = 24, .maxFps = 30 }; in GeneratePreconfigProfiles1_1() 39 configs->videoProfile = { CameraFormat::CAMERA_FORMAT_YUV_420_SP, configs->previewProfile.size_, in GeneratePreconfigProfiles1_1() 40 { configs->previewProfile.fps_.minFps, configs->previewProfile.fps_.maxFps } }; in GeneratePreconfigProfiles1_1() 43 configs->previewProfile = { CameraFormat::CAMERA_FORMAT_YUV_420_SP, { .width = 1080, .height = 1080 } }; in GeneratePreconfigProfiles1_1() 44 configs->previewProfile.fps_ = { .fixedFps = 30, .minFps = 24, .maxFps = 30 }; in GeneratePreconfigProfiles1_1() 46 configs->videoProfile = { CameraFormat::CAMERA_FORMAT_YUV_420_SP, configs->previewProfile.size_, in GeneratePreconfigProfiles1_1() 47 { configs->previewProfile.fps_.minFps, configs->previewProfile in GeneratePreconfigProfiles1_1() 239 IsPreviewProfileLegal(sptr<CameraDevice>& device, Profile& previewProfile) IsPreviewProfileLegal() argument [all...] |
H A D | photo_session.cpp | 41 configs->previewProfile = { CameraFormat::CAMERA_FORMAT_YUV_420_SP, { .width = 720, .height = 720 } }; in GeneratePreconfigProfiles1_1() 42 configs->previewProfile.fps_ = { .fixedFps = 30, .minFps = 12, .maxFps = 30 }; in GeneratePreconfigProfiles1_1() 44 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles1_1() 48 configs->previewProfile = { CameraFormat::CAMERA_FORMAT_YUV_420_SP, { .width = 1080, .height = 1080 } }; in GeneratePreconfigProfiles1_1() 49 configs->previewProfile.fps_ = { .fixedFps = 30, .minFps = 12, .maxFps = 30 }; in GeneratePreconfigProfiles1_1() 51 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles1_1() 55 configs->previewProfile = { CameraFormat::CAMERA_FORMAT_YUV_420_SP, { .width = 1080, .height = 1080 } }; in GeneratePreconfigProfiles1_1() 56 configs->previewProfile.fps_ = { .fixedFps = 30, .minFps = 12, .maxFps = 30 }; in GeneratePreconfigProfiles1_1() 58 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles1_1() 63 configs->previewProfile in GeneratePreconfigProfiles1_1() 233 IsPreviewProfileLegal(sptr<CameraDevice>& device, Profile& previewProfile) IsPreviewProfileLegal() argument [all...] |
H A D | capture_session.cpp | 682 auto previewProfile = output->GetPreviewProfile(); in ConfigurePreviewOutput() local 684 CHECK_ERROR_RETURN_RET_LOG(previewProfile != nullptr, CameraErrorCode::SERVICE_FATL_ERROR, in ConfigurePreviewOutput() 685 "CaptureSession::ConfigurePreviewOutput previewProfile is not null, is that output in use?"); in ConfigurePreviewOutput() 698 previewProfile_ = *previewProfile; in ConfigurePreviewOutput() 732 return std::make_shared<Profile>(preconfigProfiles->previewProfile); in GetPreconfigPreviewProfile()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_preconfig.cpp | 200 PreconfigProfile previewProfile; member 206 PreconfigProfile previewProfile; member 216 sessionPreconfig.previewProfile = { "CAMERA_FORMAT_YUV_420_SP", 720, 720, 12, 30, 30 }; in GeneratePhotoSessionPreconfigRatio1v1() 220 sessionPreconfig.previewProfile = { "CAMERA_FORMAT_YUV_420_SP", 1080, 1080, 12, 30, 30 }; in GeneratePhotoSessionPreconfigRatio1v1() 224 sessionPreconfig.previewProfile = { "CAMERA_FORMAT_YUV_420_SP", 1080, 1080, 12, 30, 30 }; in GeneratePhotoSessionPreconfigRatio1v1() 228 sessionPreconfig.previewProfile = { "CAMERA_FORMAT_YUV_420_SP", 1440, 1440, 12, 30, 30 }; in GeneratePhotoSessionPreconfigRatio1v1() 242 sessionPreconfig.previewProfile = { "CAMERA_FORMAT_YUV_420_SP", 960, 720, 12, 30, 30 }; in GeneratePhotoSessionPreconfigRatio4v3() 246 sessionPreconfig.previewProfile = { "CAMERA_FORMAT_YUV_420_SP", 1440, 1080, 12, 30, 30 }; in GeneratePhotoSessionPreconfigRatio4v3() 250 sessionPreconfig.previewProfile = { "CAMERA_FORMAT_YUV_420_SP", 1440, 1080, 12, 30, 30 }; in GeneratePhotoSessionPreconfigRatio4v3() 254 sessionPreconfig.previewProfile in GeneratePhotoSessionPreconfigRatio4v3() [all...] |
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | photo_session.h | 72 bool IsPreviewProfileLegal(sptr<CameraDevice>& device, Profile& previewProfile);
|
H A D | video_session.h | 72 bool IsPreviewProfileLegal(sptr<CameraDevice>& device, Profile& previewProfile);
|
H A D | capture_session.h | 91 Profile previewProfile; member 102 oss << "previewProfile:["; in ToString() 103 oss << " format:" << to_string(previewProfile.format_); in ToString() 104 oss << " size:" << to_string(previewProfile.size_.width) << "x" << to_string(previewProfile.size_.height); in ToString() 105 oss << " fps:" << to_string(previewProfile.fps_.minFps) << "," << to_string(previewProfile.fps_.maxFps) << "," in ToString() 106 << to_string(previewProfile.fps_.fixedFps); in ToString()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/ |
H A D | camera_framework_moduletest.cpp | 722 Profile previewProfile = previewProfiles[0]; in ConfigSlowMotionSession() local 727 previewProfile = item; in ConfigSlowMotionSession() 735 previewSize.width = previewProfile.GetSize().width; in ConfigSlowMotionSession() 736 previewSize.height = previewProfile.GetSize().height; in ConfigSlowMotionSession() 737 previewSurface->SetUserData(CameraManager::surfaceFormat, std::to_string(previewProfile.GetCameraFormat())); in ConfigSlowMotionSession() 742 previewOutput_frame = manager_->CreatePreviewOutput(previewProfile, pSurface); in ConfigSlowMotionSession() 762 Profile previewProfile, in CreateHighResPhotoOutput() 769 previewSize.width = previewProfile.GetSize().width; in CreateHighResPhotoOutput() 770 previewSize.height = previewProfile.GetSize().height; in CreateHighResPhotoOutput() 771 previewSurface->SetUserData(CameraManager::surfaceFormat, std::to_string(previewProfile in CreateHighResPhotoOutput() 760 CreateHighResPhotoOutput(sptr<CaptureOutput> &previewOutput, sptr<CaptureOutput> &photoOutput, Profile previewProfile, Profile photoProfile) CreateHighResPhotoOutput() argument 802 Profile previewProfile = previewProfiles[0]; ConfigVideoSession() local 9213 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 9268 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 9350 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 9425 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 9525 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 9589 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10016 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10143 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10197 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10254 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10337 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10399 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10464 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10543 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 10602 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local 12659 auto previewProfile = GetSketchPreviewProfile(); HWTEST_F() local [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/ |
H A D | camera_framework_moduletest.h | 108 Profile previewProfile, Profile photoProfile);
|
/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/ |
H A D | dcamera_client_demo.cpp | 182 Profile previewProfile(previewFormat, previewSize); in InitPreviewOutput() 186 previewProfile, previewProducerSurface, &((sptr<PreviewOutput> &)g_previewOutput)); in InitPreviewOutput()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/ |
H A D | main.cpp | 179 Profile previewProfile(previewFormat, previewSize); in InitPreviewOutput() 183 previewProfile, previewProducerSurface, &((sptr<PreviewOutput> &)g_previewOutput)); in InitPreviewOutput()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | preview_output.cpp | 341 auto previewProfile = GetPreviewProfile(); in CreateStream() local 342 CHECK_ERROR_RETURN_RET_LOG(previewProfile == nullptr, CameraErrorCode::SERVICE_FATL_ERROR, in CreateStream() 343 "PreviewOutput::CreateStream previewProfile is null"); in CreateStream() 345 CameraManager::GetInstance()->CreatePreviewOutputStream(streamPtr, *previewProfile, GetBufferProducer()); in CreateStream()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 706 Profile previewProfile = Profile(previewFormat, previewSize); in CreatePreviewOutput() local 707 return cameraManager->CreatePreviewOutput(previewProfile, surface); in CreatePreviewOutput() 1067 Profile previewProfile = Profile(previewFormat, previewSize); in HWTEST_F() local 1068 sptr<CaptureOutput> preview = cameraManager->CreatePreviewOutput(previewProfile, surface); in HWTEST_F() 1089 Profile previewProfile = Profile(previewFormat, previewSize); in HWTEST_F() local 1091 sptr<CaptureOutput> preview = cameraManager->CreatePreviewOutput(previewProfile, surface); in HWTEST_F() 4419 Profile previewProfile = Profile(previewFormat, previewSize); in HWTEST_F() local 4420 sptr<CaptureOutput> preview = cameraManager->CreatePreviewOutput(previewProfile, surface); in HWTEST_F() 4595 Profile previewProfile = Profile(previewFormat, previewSize); in HWTEST_F() local 4596 sptr<CaptureOutput> preview = cameraManager->CreatePreviewOutput(previewProfile, surfac in HWTEST_F() 5243 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local 5887 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local 5941 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local 5994 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local 7991 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local 8057 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local 8137 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local 8191 Profile previewProfile = Profile(previewFormat, previewSize); HWTEST_F() local [all...] |
H A D | camera_ndk_unittest.cpp | 91 Camera_Profile previewProfile = { in CreatePreviewOutput() local 105 ret = OH_CameraManager_CreatePreviewOutput(cameraManager, &previewProfile, surfaceId, &previewOutput); in CreatePreviewOutput()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/ |
H A D | preview_output_napi.cpp | 555 auto previewProfile = previewOutputNapi->previewOutput_->GetPreviewProfile(); in AddDeferredSurface() local 556 if (previewProfile != nullptr) { in AddDeferredSurface() 557 surface->SetUserData(CameraManager::surfaceFormat, std::to_string(previewProfile->GetCameraFormat())); in AddDeferredSurface()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/src/ |
H A D | dcamera_client.cpp | 496 CameraStandard::Profile previewProfile(previewFormat, previewSize); in CreatePreviewOutput() 498 previewProfile, previewSurface_, &((sptr<CameraStandard::PreviewOutput> &)previewOutput_)); in CreatePreviewOutput()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_manager.cpp | 1660 Profile previewProfile = Profile(format, size, fps, abilityId, specId); in CreateProfileLevel4StreamType() local 1661 profilesWrapper.previewProfiles.push_back(previewProfile); in CreateProfileLevel4StreamType() 1662 previewProfile.DumpProfile("preview"); in CreateProfileLevel4StreamType() 1850 Profile previewProfile = Profile(format, size, fps, abilityId); in CreateProfile4StreamType() local 1851 profilesWrapper.previewProfiles.push_back(previewProfile); in CreateProfile4StreamType() 1852 previewProfile.DumpProfile("preview"); in CreateProfile4StreamType()
|