Home
last modified time | relevance | path

Searched refs:photoProfile (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dphoto_session.cpp44 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 Dvideo_session.cpp32 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 Dhcamera_preconfig.cpp201 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 Dpreformance-imporvement-instructions.md258 …: 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 Dnative-camera-device-input.md39 const Camera_Profile* photoProfile = nullptr;
114 const Camera_Profile* photoProfile = nullptr;
129 photoProfile = cameraOutputCapability->photoProfiles[0];
H A Dcamera-performance-improvement.md42 …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 Dnative-camera-shooting.md53 const Camera_Profile *photoProfile = nullptr;
69 photoProfile = cameraOutputCapability->photoProfiles[0];
70 if (photoProfile == nullptr) {
74 … ret = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
H A Dcamera-worker.md104 let photoProfile: camera.Profile = {
112 this.photoOutput = this.cameraManager.createPhotoOutput(photoProfile);
H A Dnative-camera-shooting-case.md177 const Camera_Profile* photoProfile = nullptr;
234 photoProfile = cameraOutputCapability->photoProfiles[0];
250 …ret_ = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
H A Dnative-camera-recording-case.md109 const Camera_Profile* photoProfile = nullptr;
157 photoProfile = cameraOutputCapability->photoProfiles[0];
/ohos5.0/docs/en/application-dev/media/camera/
H A Dnative-camera-device-input.md39 const Camera_Profile* photoProfile = nullptr;
114 const Camera_Profile* photoProfile = nullptr;
129 photoProfile = cameraOutputCapability->photoProfiles[0];
H A Dcamera-performance-improvement.md42 …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 Dnative-camera-shooting-case.md177 const Camera_Profile* photoProfile = nullptr;
234 photoProfile = cameraOutputCapability->photoProfiles[0];
250 …ret_ = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
H A Dnative-camera-shooting.md53 const Camera_Profile *photoProfile = nullptr;
69 photoProfile = cameraOutputCapability->photoProfiles[0];
70 if (photoProfile == nullptr) {
74 … ret = OH_CameraManager_CreatePhotoOutputWithoutSurface(cameraManager, photoProfile, &photoOutput);
H A Dcamera-worker.md104 let photoProfile: camera.Profile = {
112 this.photoOutput = this.cameraManager.createPhotoOutput(photoProfile);
H A Dnative-camera-recording-case.md109 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 Dphoto_session.h71 bool IsPhotoProfileLegal(sptr<CameraDevice>& device, Profile& photoProfile);
H A Dvideo_session.h71 bool IsPhotoProfileLegal(sptr<CameraDevice>& device, Profile& photoProfile);
H A Dcapture_session.h92 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 Dtake-picture-and-preview.md148 let photoProfile = this.capability.photoProfiles[0];
151 photoProfile,
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dperformance-camera-shot2see.md127 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 Dmain.cpp160 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 Ddcamera_client_demo.cpp163 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 DCameraService.ts341 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 Dcamera_framework_moduletest.h107 Profile previewProfile, Profile photoProfile);

12