Home
last modified time | relevance | path

Searched refs:GetCameraFormat (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dcamera_output_capability.cpp53 CameraFormat Profile::GetCameraFormat() in GetCameraFormat() function in OHOS::CameraStandard::Profile
144 … "height: %{public}d] cant match", profile.GetCameraFormat(), profile.GetSize().width, in IsMatchPreviewProfiles()
161 … "height: %{public}d] cant match", profile.GetCameraFormat(), profile.GetSize().width, in IsMatchPhotoProfiles()
176 return profile_.GetCameraFormat() == profile.GetCameraFormat() && in IsMatchVideoProfiles()
185 "height: %{public}d framerates: %{public}s] cant match", profile.GetCameraFormat(), in IsMatchVideoProfiles()
H A Dpreview_output.cpp489 camera_format_t hdi_format = GetHdiFormatFromCameraFormat(profile->GetCameraFormat()); in FindSketchSize()
H A Dphoto_output.cpp379 bool ret = GetPhotoProfile()->GetCameraFormat() == CAMERA_FORMAT_YUV_420_SP; in IsYuvOrHeifPhoto()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_capture_mode.cpp381 previewFormats.push_back(i.GetCameraFormat()); in main()
390 … i.GetCameraFormat(), i.GetSize().width, i.GetSize().height, abilityIds.c_str()); in main()
396 photoFormats.push_back(i.GetCameraFormat()); in main()
404 … i.GetCameraFormat(), i.GetSize().width, i.GetSize().height, abilityIds.c_str()); in main()
425 && it.GetCameraFormat() == static_cast<CameraFormat>(photoFormat)) { in main()
476 && it.GetCameraFormat() == static_cast<CameraFormat>(previewFormat)) { in main()
H A Dcamera_capture.cpp149 previewFormats.push_back(i.GetCameraFormat()); in main()
166 photoFormats.push_back(i.GetCameraFormat()); in main()
H A Dcamera_capture_video.cpp326 previewFormats.push_back(i.GetCameraFormat()); in InitCameraFormatAndResolution()
343 photoFormats.push_back(i.GetCameraFormat()); in InitCameraFormatAndResolution()
355 videoFormats.push_back(i.GetCameraFormat()); in InitCameraFormatAndResolution()
H A Dcamera_video.cpp273 previewFormats.push_back(i.GetCameraFormat()); in main()
290 videoFormats.push_back(i.GetCameraFormat()); in main()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcamera_manager_impl.cpp300 … outPreviewProfile->format = static_cast<Camera_Format>(previewProfiles[index].GetCameraFormat()); in GetSupportedPreviewProfiles()
325 … outPhotoProfile->format = static_cast<Camera_Format>(photoProfiles[index].GetCameraFormat()); in GetSupportedPhotoProfiles()
349 … outVideoProfile->format = static_cast<Camera_Format>(videoProfiles[index].GetCameraFormat()); in GetSupportedVideoProfiles()
532 …surface->SetUserData(CameraManager::surfaceFormat, std::to_string(innerProfile.GetCameraFormat())); in CreatePreviewOutput()
576 …surface->SetUserData(CameraManager::surfaceFormat, std::to_string(innerProfile.GetCameraFormat())); in CreatePhotoOutput()
626 …surface->SetUserData(CameraManager::surfaceFormat, std::to_string(innerProfile.GetCameraFormat())); in CreatePhotoOutputWithoutSurface()
661 …surface->SetUserData(CameraManager::surfaceFormat, std::to_string(innerProfile.GetCameraFormat())); in CreateVideoOutput()
H A Dvideo_output_impl.cpp128 CameraFormat cameraFormat = videoOutputProfile->GetCameraFormat(); in GetVideoProfile()
H A Dpreview_output_impl.cpp126 CameraFormat cameraFormat = previewOutputProfile->GetCameraFormat(); in GetActiveProfile()
H A Dphoto_output_impl.cpp373 CameraFormat cameraFormat = photoOutputProfile->GetCameraFormat(); in GetActiveProfile()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp535 CameraFormat yuvFormat = profile.GetCameraFormat(); in CreatePhotoOutput()
585 camera_format_t metaFormat = GetCameraMetadataFormat(profile.GetCameraFormat()); in CreatePreviewOutput()
594 previewOutput->SetOutputFormat(profile.GetCameraFormat()); in CreatePreviewOutput()
611 camera_format_t metaFormat = GetCameraMetadataFormat(profile.GetCameraFormat()); in CreatePreviewOutputStream()
629 CameraFormat yuvFormat = profile.GetCameraFormat(); in CreatePhotoOutputStream()
670 camera_format_t metaFormat = GetCameraMetadataFormat(profile.GetCameraFormat()); in CreateDeferredPreviewOutput()
746 if ((depthProfile.GetCameraFormat() == CAMERA_FORMAT_INVALID) || in CreateDepthDataOutput()
753 metaFormat = GetCameraMetadataFormat(depthProfile.GetCameraFormat()); in CreateDepthDataOutput()
799 auto metaFormat = GetCameraMetadataFormat(profile.GetCameraFormat()); in CreateVideoOutputStream()
833 camera_format_t metaFormat = GetCameraMetadataFormat(profile.GetCameraFormat()); in CreateVideoOutput()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dcamera_output_capability.h101 CameraFormat GetCameraFormat();
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddepth_data_output_napi.cpp104 nativeFormat = static_cast<int32_t>(depthProfile_->GetCameraFormat()); in ExecuteDepthData()
404 … depthProfile.GetSize().height, static_cast<int32_t>(depthProfile.GetCameraFormat()), in CreateDepthDataOutput()
H A Dpreview_output_napi.cpp386 … surface->SetUserData(CameraManager::surfaceFormat, std::to_string(profile.GetCameraFormat())); in CreatePreviewOutput()
561 …face->SetUserData(CameraManager::surfaceFormat, std::to_string(previewProfile->GetCameraFormat())); in AddDeferredSurface()
H A Dphoto_output_napi.cpp1940 …UG_LOG("CreatePhotoOutput is called, profile CameraFormat= %{public}d", profile.GetCameraFormat()); in CreatePhotoOutput()
1961 …photoSurface->SetUserData(CameraManager::surfaceFormat, std::to_string(profile.GetCameraFormat())); in CreatePhotoOutput()
1965 profile.GetSize().height, static_cast<int32_t>(profile.GetCameraFormat()), in CreatePhotoOutput()
2739 if (profile_->GetCameraFormat() == CAMERA_FORMAT_YUV_420_SP) { in RegisterPhotoAvailableCallbackListener()
H A Dvideo_output_napi.cpp428 … surface->SetUserData(CameraManager::surfaceFormat, std::to_string(profile.GetCameraFormat())); in CreateVideoOutput()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp528 …eviewSurface->SetUserData(CameraManager::surfaceFormat, std::to_string(profile.GetCameraFormat())); in CreatePreviewOutput()
1158 photoFormats_.push_back(i.GetCameraFormat()); in SetUp()
1167 videoFormats_.push_back(i.GetCameraFormat()); in SetUp()
1294 previewFormats_.push_back(i.GetCameraFormat()); in ProcessPreviewProfiles()
6469 CameraFormat previewFormat = previewProfiles[0].GetCameraFormat();
6530 CameraFormat photoFormat = photoProfiles[0].GetCameraFormat();
6580 CameraFormat videoFormat = videoProfiles[0].GetCameraFormat();
9577 …esult = previewOutput->AttachSketchSurface(CreateSketchSurface(previewProfile->GetCameraFormat()));
9634 …esult = previewOutput->AttachSketchSurface(CreateSketchSurface(previewProfile->GetCameraFormat()));
9717 auto sketchSurface = CreateSketchSurface(previewProfile->GetCameraFormat());
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/handler/src/
H A Ddcamera_handler.cpp324 CameraStandard::CameraFormat format = profile.GetCameraFormat(); in ProcessProfile()
/ohos5.0/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dcamera_manager_adapter_impl.cpp260 format->SetPixelFormat(TransToAdapterCameraFormat(i.GetCameraFormat())); in GetCameraSupportFormats()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp3070 i.GetCameraFormat(), i.GetSize().width, i.GetSize().height, abilityIds.c_str()); in ProcessProfilesAbilityId()
3071 if (i.GetCameraFormat() == photoProfile_.GetCameraFormat() && in ProcessProfilesAbilityId()
3086 i.GetCameraFormat(), i.GetSize().width, i.GetSize().height, abilityIds.c_str()); in ProcessProfilesAbilityId()
3087 if (i.GetCameraFormat() == previewProfile_.GetCameraFormat() && in ProcessProfilesAbilityId()