/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | photo_session.cpp | 44 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles1_1() 51 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles1_1() 58 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles1_1() 67 configs->photoProfile.sizeRatio_ = RATIO_1_1; in GeneratePreconfigProfiles1_1() 86 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles4_3() 93 configs->photoProfile = configs->previewProfile; in GeneratePreconfigProfiles4_3() 109 configs->photoProfile.sizeRatio_ = RATIO_4_3; in GeneratePreconfigProfiles4_3() 151 configs->photoProfile.sizeRatio_ = RATIO_16_9; in GeneratePreconfigProfiles16_9() 204 …configs->photoProfile.format_, configs->photoProfile.size_.width, configs->photoProfile.size_.heig… in IsPreconfigProfilesLegal() 226 if (!photoProfile.sizeFollowSensorMax_) { in IsPhotoProfileLegal() [all …]
|
H A D | video_session.cpp | 32 configs->photoProfile.sizeRatio_ = RATIO_1_1; in GeneratePreconfigProfiles1_1() 33 configs->photoProfile.sizeFollowSensorMax_ = true; in GeneratePreconfigProfiles1_1() 76 configs->photoProfile.sizeRatio_ = RATIO_4_3; in GeneratePreconfigProfiles4_3() 77 configs->photoProfile.sizeFollowSensorMax_ = true; in GeneratePreconfigProfiles4_3() 120 configs->photoProfile.sizeRatio_ = RATIO_16_9; in GeneratePreconfigProfiles16_9() 121 configs->photoProfile.sizeFollowSensorMax_ = true; in GeneratePreconfigProfiles16_9() 199 bool isPhotoCanPreconfig = IsPhotoProfileLegal(device, configs->photoProfile); in IsPreconfigProfilesLegal() 203 …configs->photoProfile.format_, configs->photoProfile.size_.width, configs->photoProfile.size_.heig… in IsPreconfigProfilesLegal() 232 if (!photoProfile.sizeFollowSensorMax_) { in IsPhotoProfileLegal() 233 return profile == photoProfile; in IsPhotoProfileLegal() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_preconfig.cpp | 201 PreconfigProfile photoProfile; member 207 PreconfigProfile photoProfile; member 217 sessionPreconfig.photoProfile = { "CAMERA_FORMAT_JPEG", 720, 720, 0, 0, 0 }; in GeneratePhotoSessionPreconfigRatio1v1() 221 sessionPreconfig.photoProfile = { "CAMERA_FORMAT_JPEG", 1080, 1080, 0, 0, 0 }; in GeneratePhotoSessionPreconfigRatio1v1() 243 sessionPreconfig.photoProfile = { "CAMERA_FORMAT_JPEG", 960, 720, 0, 0, 0 }; in GeneratePhotoSessionPreconfigRatio4v3() 269 sessionPreconfig.photoProfile = { "CAMERA_FORMAT_JPEG", 1280, 720, 0, 0, 0 }; in GeneratePhotoSessionPreconfigRatio16v9() 292 sessionPreconfig.photoProfile = { "CAMERA_FORMAT_JPEG", 2304, 2304, 0, 0, 0 }; in GenerateVideoSessionPreconfigRatio1v1() 320 sessionPreconfig.photoProfile = { "CAMERA_FORMAT_JPEG", 3072, 2304, 0, 0, 0 }; in GenerateVideoSessionPreconfigRatio4v3() 348 sessionPreconfig.photoProfile = { "CAMERA_FORMAT_JPEG", 4096, 2304, 0, 0, 0 }; in GenerateVideoSessionPreconfigRatio16v9() 366 sessionPreconfig.photoProfile.followSensorMax = true; in GenerateVideoSessionPreconfigRatio16v9() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/docs/ |
H A D | preformance-imporvement-instructions.md | 258 …: Context, cameraInfo: camera.Device, previewProfile: camera.Profile, photoProfile: camera.Profile… 262 const photoOutput: camera.PhotoOutput = await cameraManager.createPhotoOutput(photoProfile); 335 this.photoOutPut = await this.cameraManager.createPhotoOutput(photoProfile, surfaceId) 383 this.photoOutPut = await this.cameraManager.createPhotoOutput(photoProfile, surfaceId) 432 this.photoOutPut = await this.cameraManager.createPhotoOutput(photoProfile, surfaceId)
|
/ohos5.0/docs/zh-cn/application-dev/media/camera/ |
H A D | native-camera-device-input.md | 39 const Camera_Profile* photoProfile = nullptr; 114 const Camera_Profile* photoProfile = nullptr; 129 photoProfile = cameraOutputCapability->photoProfiles[0];
|
H A D | camera-performance-improvement.md | 42 …ext, cameraInfo: camera.CameraDevice, previewProfile: camera.Profile, photoProfile: camera.Profile… 46 const photoOutput: camera.PhotoOutput = cameraManager.createPhotoOutput(photoProfile); 94 async function enableQuickThumbnail(baseContext: common.BaseContext, photoProfile: camera.Profile):… 106 let photoOutPut: camera.PhotoOutput = cameraManager.createPhotoOutput(photoProfile);
|
H A D | native-camera-shooting.md | 53 const Camera_Profile *photoProfile = nullptr; 69 photoProfile = cameraOutputCapability->photoProfiles[0]; 70 if (photoProfile == nullptr) { 74 … ret = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
|
H A D | camera-worker.md | 104 let photoProfile: camera.Profile = { 112 this.photoOutput = this.cameraManager.createPhotoOutput(photoProfile);
|
H A D | native-camera-shooting-case.md | 177 const Camera_Profile* photoProfile = nullptr; 234 photoProfile = cameraOutputCapability->photoProfiles[0]; 250 …ret_ = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
|
H A D | native-camera-recording-case.md | 109 const Camera_Profile* photoProfile = nullptr; 157 photoProfile = cameraOutputCapability->photoProfiles[0];
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | native-camera-device-input.md | 39 const Camera_Profile* photoProfile = nullptr; 114 const Camera_Profile* photoProfile = nullptr; 129 photoProfile = cameraOutputCapability->photoProfiles[0];
|
H A D | camera-performance-improvement.md | 42 …ext, cameraInfo: camera.CameraDevice, previewProfile: camera.Profile, photoProfile: camera.Profile… 46 const photoOutput: camera.PhotoOutput = cameraManager.createPhotoOutput(photoProfile); 94 async function enableQuickThumbnail(baseContext: common.BaseContext, photoProfile: camera.Profile):… 106 let photoOutPut: camera.PhotoOutput = cameraManager.createPhotoOutput(photoProfile);
|
H A D | native-camera-shooting-case.md | 177 const Camera_Profile* photoProfile = nullptr; 234 photoProfile = cameraOutputCapability->photoProfiles[0]; 250 …ret_ = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
|
H A D | native-camera-shooting.md | 53 const Camera_Profile *photoProfile = nullptr; 69 photoProfile = cameraOutputCapability->photoProfiles[0]; 70 if (photoProfile == nullptr) { 74 … ret = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
|
H A D | camera-worker.md | 104 let photoProfile: camera.Profile = { 112 this.photoOutput = this.cameraManager.createPhotoOutput(photoProfile);
|
H A D | native-camera-recording-case.md | 109 const Camera_Profile* photoProfile = nullptr; 157 photoProfile = cameraOutputCapability->photoProfiles[0];
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | photo_session.h | 71 bool IsPhotoProfileLegal(sptr<CameraDevice>& device, Profile& photoProfile);
|
H A D | video_session.h | 71 bool IsPhotoProfileLegal(sptr<CameraDevice>& device, Profile& photoProfile);
|
H A D | capture_session.h | 92 Profile photoProfile; member 110 oss << " format:" << to_string(photoProfile.format_); in ToString() 111 …oss << " size:" << to_string(photoProfile.size_.width) << "x" << to_string(photoProfile.size_.heig… in ToString() 112 …oss << " dynamic:" << to_string(photoProfile.sizeFollowSensorMax_) << "," << to_string(photoProfil… in ToString()
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | take-picture-and-preview.md | 148 let photoProfile = this.capability.photoProfiles[0]; 151 photoProfile,
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | performance-camera-shot2see.md | 127 let photoProfile = this.getPhotoProfile(cameraOutputCapability); 128 if (photoProfile === undefined) { 132 this.photoProfileObj = photoProfile;
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/ |
H A D | main.cpp | 160 Profile photoProfile(photoFormat, photoSize); in InitPhotoOutput() local 162 …int rv = g_cameraManager->CreatePhotoOutput(photoProfile, photoProducer, &((sptr<PhotoOutput> &)g_… in InitPhotoOutput()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/ |
H A D | dcamera_client_demo.cpp | 163 Profile photoProfile(photoFormat, photoSize); in InitPhotoOutput() local 165 …int rv = g_cameraManager->CreatePhotoOutput(photoProfile, photoProducer, &((sptr<PhotoOutput> &)g_… in InitPhotoOutput()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/ |
H A D | CameraService.ts | 341 const photoProfile = profiles.photoProfiles[index]; 342 …if (this.withinErrorMargin(defaultAspectRatio, photoProfile.size.width / photoProfile.size.height)… 343 if (photoProfile.size.width <= Constants.PHOTO_MAX_WIDTH && 344 photoProfile.size.height <= Constants.PHOTO_MAX_WIDTH) { 346 format: photoProfile.format, 348 width: photoProfile.size.width, 349 height: photoProfile.size.height
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/ |
H A D | camera_framework_moduletest.h | 107 Profile previewProfile, Profile photoProfile);
|