Home
last modified time | relevance | path

Searched refs:photoOutput (Results 1 - 25 of 32) sorted by relevance

12

/foundation/multimedia/camera_framework/frameworks/native/ndk/
H A Dphoto_output.cpp29 Camera_ErrorCode OH_PhotoOutput_RegisterCallback(Camera_PhotoOutput* photoOutput, PhotoOutput_Callbacks* callback) in OH_PhotoOutput_RegisterCallback() argument
31 CHECK_AND_RETURN_RET_LOG(photoOutput != nullptr, CAMERA_INVALID_ARGUMENT, in OH_PhotoOutput_RegisterCallback()
32 "Invaild argument, photoOutput is null!"); in OH_PhotoOutput_RegisterCallback()
41 photoOutput->RegisterCallback(callback); in OH_PhotoOutput_RegisterCallback()
49 Camera_ErrorCode OH_PhotoOutput_UnregisterCallback(Camera_PhotoOutput* photoOutput, PhotoOutput_Callbacks* callback) in OH_PhotoOutput_UnregisterCallback() argument
51 CHECK_AND_RETURN_RET_LOG(photoOutput != nullptr, CAMERA_INVALID_ARGUMENT, in OH_PhotoOutput_UnregisterCallback()
52 "Invaild argument, photoOutput is null!"); in OH_PhotoOutput_UnregisterCallback()
61 photoOutput->UnregisterCallback(callback); in OH_PhotoOutput_UnregisterCallback()
69 Camera_ErrorCode OH_PhotoOutput_RegisterCaptureStartWithInfoCallback(Camera_PhotoOutput* photoOutput, in OH_PhotoOutput_RegisterCaptureStartWithInfoCallback() argument
72 CHECK_AND_RETURN_RET_LOG(photoOutput ! in OH_PhotoOutput_RegisterCaptureStartWithInfoCallback()
84 OH_PhotoOutput_UnregisterCaptureStartWithInfoCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_CaptureStartWithInfo callback) OH_PhotoOutput_UnregisterCaptureStartWithInfoCallback() argument
99 OH_PhotoOutput_RegisterCaptureEndCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_CaptureEnd callback) OH_PhotoOutput_RegisterCaptureEndCallback() argument
114 OH_PhotoOutput_UnregisterCaptureEndCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_CaptureEnd callback) OH_PhotoOutput_UnregisterCaptureEndCallback() argument
129 OH_PhotoOutput_RegisterFrameShutterEndCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_OnFrameShutterEnd callback) OH_PhotoOutput_RegisterFrameShutterEndCallback() argument
144 OH_PhotoOutput_UnregisterFrameShutterEndCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_OnFrameShutterEnd callback) OH_PhotoOutput_UnregisterFrameShutterEndCallback() argument
159 OH_PhotoOutput_RegisterCaptureReadyCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_CaptureReady callback) OH_PhotoOutput_RegisterCaptureReadyCallback() argument
174 OH_PhotoOutput_UnregisterCaptureReadyCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_CaptureReady callback) OH_PhotoOutput_UnregisterCaptureReadyCallback() argument
189 OH_PhotoOutput_RegisterEstimatedCaptureDurationCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_EstimatedCaptureDuration callback) OH_PhotoOutput_RegisterEstimatedCaptureDurationCallback() argument
204 OH_PhotoOutput_UnregisterEstimatedCaptureDurationCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_EstimatedCaptureDuration callback) OH_PhotoOutput_UnregisterEstimatedCaptureDurationCallback() argument
219 OH_PhotoOutput_RegisterPhotoAvailableCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_PhotoAvailable callback) OH_PhotoOutput_RegisterPhotoAvailableCallback() argument
234 OH_PhotoOutput_UnregisterPhotoAvailableCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_PhotoAvailable callback) OH_PhotoOutput_UnregisterPhotoAvailableCallback() argument
249 OH_PhotoOutput_RegisterPhotoAssetAvailableCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_PhotoAssetAvailable callback) OH_PhotoOutput_RegisterPhotoAssetAvailableCallback() argument
264 OH_PhotoOutput_UnregisterPhotoAssetAvailableCallback(Camera_PhotoOutput* photoOutput, OH_PhotoOutput_PhotoAssetAvailable callback) OH_PhotoOutput_UnregisterPhotoAssetAvailableCallback() argument
279 OH_PhotoOutput_Capture(Camera_PhotoOutput* photoOutput) OH_PhotoOutput_Capture() argument
291 OH_PhotoOutput_Capture_WithCaptureSetting(Camera_PhotoOutput* photoOutput, Camera_PhotoCaptureSetting setting) OH_PhotoOutput_Capture_WithCaptureSetting() argument
304 OH_PhotoOutput_Release(Camera_PhotoOutput* photoOutput) OH_PhotoOutput_Release() argument
320 OH_PhotoOutput_IsMirrorSupported(Camera_PhotoOutput* photoOutput, bool* isSupported) OH_PhotoOutput_IsMirrorSupported() argument
334 OH_PhotoOutput_EnableMirror(Camera_PhotoOutput* photoOutput, bool enableMirror) OH_PhotoOutput_EnableMirror() argument
346 OH_PhotoOutput_GetActiveProfile(Camera_PhotoOutput* photoOutput, Camera_Profile** profile) OH_PhotoOutput_GetActiveProfile() argument
376 OH_PhotoOutput_EnableMovingPhoto(Camera_PhotoOutput* photoOutput, bool enableMovingPhoto) OH_PhotoOutput_EnableMovingPhoto() argument
388 OH_PhotoOutput_IsMovingPhotoSupported(Camera_PhotoOutput* photoOutput, bool* isSupported) OH_PhotoOutput_IsMovingPhotoSupported() argument
398 OH_PhotoOutput_GetPhotoRotation(Camera_PhotoOutput* photoOutput, int deviceDegree, Camera_ImageRotation* imageRotation) OH_PhotoOutput_GetPhotoRotation() argument
[all...]
H A Dcamera_manager.cpp229 const char* surfaceId, Camera_PhotoOutput** photoOutput) in OH_CameraManager_CreatePhotoOutput()
238 CHECK_AND_RETURN_RET_LOG(photoOutput != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CameraManager_CreatePhotoOutput()
239 "Invaild argument, photoOutput is null!"); in OH_CameraManager_CreatePhotoOutput()
241 return cameraManager->CreatePhotoOutput(profile, surfaceId, photoOutput); in OH_CameraManager_CreatePhotoOutput()
245 const Camera_Profile* profile, Camera_PhotoOutput** photoOutput) in OH_CameraManager_CreatePhotoOutputWithoutSurface()
252 CHECK_AND_RETURN_RET_LOG(photoOutput != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CameraManager_CreatePhotoOutputWithoutSurface()
253 "Invaild argument, photoOutput is null!"); in OH_CameraManager_CreatePhotoOutputWithoutSurface()
255 return cameraManager->CreatePhotoOutputWithoutSurface(profile, photoOutput); in OH_CameraManager_CreatePhotoOutputWithoutSurface()
259 const char* surfaceId, Camera_PhotoOutput** photoOutput) in OH_CameraManager_CreatePhotoOutputUsedInPreconfig()
266 CHECK_AND_RETURN_RET_LOG(photoOutput ! in OH_CameraManager_CreatePhotoOutputUsedInPreconfig()
228 OH_CameraManager_CreatePhotoOutput(Camera_Manager* cameraManager, const Camera_Profile* profile, const char* surfaceId, Camera_PhotoOutput** photoOutput) OH_CameraManager_CreatePhotoOutput() argument
244 OH_CameraManager_CreatePhotoOutputWithoutSurface(Camera_Manager* cameraManager, const Camera_Profile* profile, Camera_PhotoOutput** photoOutput) OH_CameraManager_CreatePhotoOutputWithoutSurface() argument
258 OH_CameraManager_CreatePhotoOutputUsedInPreconfig(Camera_Manager* cameraManager, const char* surfaceId, Camera_PhotoOutput** photoOutput) OH_CameraManager_CreatePhotoOutputUsedInPreconfig() argument
[all...]
H A Dcapture_session.cpp135 Camera_ErrorCode OH_CaptureSession_AddPhotoOutput(Camera_CaptureSession* session, Camera_PhotoOutput* photoOutput) in OH_CaptureSession_AddPhotoOutput() argument
139 CHECK_AND_RETURN_RET_LOG(photoOutput != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CaptureSession_AddPhotoOutput()
140 "Invaild argument, photoOutput is null!"); in OH_CaptureSession_AddPhotoOutput()
142 return session->AddPhotoOutput(photoOutput); in OH_CaptureSession_AddPhotoOutput()
145 Camera_ErrorCode OH_CaptureSession_RemovePhotoOutput(Camera_CaptureSession* session, Camera_PhotoOutput* photoOutput) in OH_CaptureSession_RemovePhotoOutput() argument
149 CHECK_AND_RETURN_RET_LOG(photoOutput != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CaptureSession_RemovePhotoOutput()
150 "Invaild argument, photoOutput is null!"); in OH_CaptureSession_RemovePhotoOutput()
152 return session->RemovePhotoOutput(photoOutput); in OH_CaptureSession_RemovePhotoOutput()
/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/
H A Dphoto_output.h66 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback.
69 typedef void (*OH_PhotoOutput_OnFrameStart)(Camera_PhotoOutput* photoOutput);
74 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback.
78 typedef void (*OH_PhotoOutput_OnFrameShutter)(Camera_PhotoOutput* photoOutput, Camera_FrameShutterInfo* info);
83 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback.
87 typedef void (*OH_PhotoOutput_OnFrameEnd)(Camera_PhotoOutput* photoOutput, int32_t frameCount);
92 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback.
98 typedef void (*OH_PhotoOutput_OnError)(Camera_PhotoOutput* photoOutput, Camera_ErrorCode errorCode);
103 * @param photoOutput the {@link Camera_PhotoOutput} which deliver the callback.
107 typedef void (*OH_PhotoOutput_CaptureEnd) (Camera_PhotoOutput* photoOutput, int32_
[all...]
H A Dcamera_manager.h330 * @param photoOutput the {@link Camera_PhotoOutput} will be created if the method call succeeds.
337 const char* surfaceId, Camera_PhotoOutput** photoOutput);
344 * @param photoOutput the {@link Camera_PhotoOutput} will be created if the method call succeeds.
351 const char* surfaceId, Camera_PhotoOutput** photoOutput);
358 * @param photoOutput the {@link Camera_PhotoOutput} will be created if the method call succeeds.
365 const Camera_Profile *profile, Camera_PhotoOutput **photoOutput);
H A Dcapture_session.h280 * @param photoOutput the target {@link Camera_PhotoOutput} to add.
286 Camera_ErrorCode OH_CaptureSession_AddPhotoOutput(Camera_CaptureSession* session, Camera_PhotoOutput* photoOutput);
292 * @param photoOutput the target {@link Camera_PhotoOutput} to remove.
298 Camera_ErrorCode OH_CaptureSession_RemovePhotoOutput(Camera_CaptureSession* session, Camera_PhotoOutput* photoOutput);
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_ndk_unittest.cpp67 Camera_PhotoOutput* photoOutput = nullptr; in CreatePhotoOutput() local
68 ret = OH_CameraManager_CreatePhotoOutput(cameraManager, &photoProfile, surfaceId, &photoOutput); in CreatePhotoOutput()
70 EXPECT_NE(photoOutput, nullptr); in CreatePhotoOutput()
71 return photoOutput; in CreatePhotoOutput()
302 static void CameraPhotoOutptOnFrameStartCb(Camera_PhotoOutput* photoOutput) in CameraPhotoOutptOnFrameStartCb() argument
307 static void CameraPhotoOutptOnFrameShutterCb(Camera_PhotoOutput* photoOutput, Camera_FrameShutterInfo* info) in CameraPhotoOutptOnFrameShutterCb() argument
312 static void CameraPhotoOutptOnFrameEndCb(Camera_PhotoOutput* photoOutput, int32_t timestamp) in CameraPhotoOutptOnFrameEndCb() argument
317 static void CameraPhotoOutptOnErrorCb(Camera_PhotoOutput* photoOutput, Camera_ErrorCode errorCode) in CameraPhotoOutptOnErrorCb() argument
322 static void CameraPhotoOutptOnCaptureEndCb(Camera_PhotoOutput* photoOutput, int32_t frameCount) in CameraPhotoOutptOnCaptureEndCb() argument
327 static void CameraPhotoOutptOnCaptureStartWithInfoCb(Camera_PhotoOutput* photoOutput, Camera_CaptureStartInf argument
332 CameraPhotoOutptOnFrameShutterEndCb(Camera_PhotoOutput* photoOutput, Camera_FrameShutterInfo* Info) CameraPhotoOutptOnFrameShutterEndCb() argument
337 CameraPhotoOutptOnCaptureReadyCb(Camera_PhotoOutput* photoOutput) CameraPhotoOutptOnCaptureReadyCb() argument
342 CameraPhotoOutptEstimatedOnCaptureDurationCb(Camera_PhotoOutput* photoOutput, int64_t duration) CameraPhotoOutptEstimatedOnCaptureDurationCb() argument
347 CameraPhotoOutptOnPhotoAvailableCb(Camera_PhotoOutput* photoOutput, OH_PhotoNative* photo) CameraPhotoOutptOnPhotoAvailableCb() argument
352 CameraPhotoOutptOnPhotoAssetAvailableCb(Camera_PhotoOutput* photoOutput, OH_MediaAsset* photoAsset) CameraPhotoOutptOnPhotoAssetAvailableCb() argument
382 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
423 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
634 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
696 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
781 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
878 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
987 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
1050 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
1123 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
1166 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
1852 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
1916 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
2465 Camera_PhotoOutput *photoOutput = CreatePhotoOutput(); HWTEST_F() local
2671 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
2966 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
3065 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
3258 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
3307 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
3479 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
3591 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
3648 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
3700 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
3756 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
4233 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4289 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4347 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4634 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4677 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4720 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4763 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4806 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4849 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4892 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4939 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
4982 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
5028 Camera_PhotoOutput* photoOutput = CreatePhotoOutput(); HWTEST_F() local
5256 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
5312 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
5370 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
5428 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
5487 Camera_PhotoOutput *photoOutput = nullptr; HWTEST_F() local
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Dphoto_output_napi.cpp96 sptr<PhotoOutput> photoOutput = context->objectInfo->GetPhotoOutput(); in ProcessCapture() local
120 context->errorCode = photoOutput->Capture(capSettings); in ProcessCapture()
124 context->errorCode = photoOutput->Capture(capSettings); in ProcessCapture()
176 PhotoListener::PhotoListener(napi_env env, const sptr<Surface> photoSurface, wptr<PhotoOutput> photoOutput) in PhotoListener() argument
177 : ListenerBase(env), photoSurface_(photoSurface), photoOutput_(photoOutput) in PhotoListener()
198 wptr<PhotoOutput> photoOutput) : surfaceName_(surfaceName), surface_(surface), photoOutput_(photoOutput) in AuxiliaryPhotoListener()
228 void PictureListener::InitPictureListeners(napi_env env, wptr<PhotoOutput> photoOutput) in InitPictureListeners() argument
230 if (photoOutput == nullptr) { in InitPictureListeners()
231 MEDIA_ERR_LOG("photoOutput i in InitPictureListeners()
197 AuxiliaryPhotoListener(const std::string surfaceName, const sptr<Surface> surface, wptr<PhotoOutput> photoOutput) AuxiliaryPhotoListener() argument
333 auto photoOutput = photoOutput_.promote(); ExecuteDeepyCopySurfaceBuffer() local
454 auto photoOutput = photoOutput_.promote(); ExecuteDeepyCopySurfaceBuffer() local
553 auto photoOutput = photoOutput_.promote(); OnBufferAvailable() local
679 auto photoOutput = photoOutput_.promote(); AssembleAuxiliaryPhoto() local
846 auto photoOutput = photoOutput_.promote(); ExecutePhotoAsset() local
912 auto photoOutput = photoOutput_.promote(); CreateMediaLibrary() local
1015 auto photoOutput = photoOutput_.promote(); SaveCallback() local
1032 auto photoOutput = photoOutput_.promote(); RemoveCallback() local
1429 ThumbnailListener(napi_env env, const sptr<PhotoOutput> photoOutput) ThumbnailListener() argument
1442 auto photoOutput = photoOutput_.promote(); UpdateJSCallback() local
1541 PhotoOutputNapi* photoOutput = reinterpret_cast<PhotoOutputNapi*>(nativeObject); PhotoOutputNapiDestructor() local
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dphoto_output.cpp211 auto photoOutput = GetPhotoOutput(); in OnCaptureStarted() local
212 CHECK_ERROR_RETURN_RET_LOG(photoOutput == nullptr, CAMERA_OK, in OnCaptureStarted()
213 "HStreamCaptureCallbackImpl::OnCaptureStarted photoOutput is nullptr"); in OnCaptureStarted()
214 auto callback = photoOutput->GetApplicationCallback(); in OnCaptureStarted()
218 sptr<CaptureSession> session = photoOutput->GetSession(); in OnCaptureStarted()
229 photoOutput->GetApplicationCallback()->OnCaptureStarted(captureId, meta.data.ui32[1]); in OnCaptureStarted()
238 photoOutput->GetApplicationCallback()->OnCaptureStarted(captureId); in OnCaptureStarted()
247 auto photoOutput = GetPhotoOutput(); in OnCaptureStarted() local
248 CHECK_ERROR_RETURN_RET_LOG(photoOutput == nullptr, CAMERA_OK, in OnCaptureStarted()
249 "HStreamCaptureCallbackImpl::OnCaptureStarted photoOutput i in OnCaptureStarted()
260 auto photoOutput = GetPhotoOutput(); OnCaptureEnded() local
272 auto photoOutput = GetPhotoOutput(); OnCaptureError() local
285 auto photoOutput = GetPhotoOutput(); OnFrameShutter() local
298 auto photoOutput = GetPhotoOutput(); OnFrameShutterEnd() local
311 auto photoOutput = GetPhotoOutput(); OnCaptureReady() local
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp465 sptr<CaptureOutput> photoOutput = nullptr; in CreatePhotoOutput() local
468 photoOutput = manager_->CreatePhotoOutput(photoProfile, surfaceProducer); in CreatePhotoOutput()
469 return photoOutput; in CreatePhotoOutput()
474 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(photoWidth_, photoHeight_); in CreatePhotoOutput() local
475 return photoOutput; in CreatePhotoOutput()
609 sptr<CaptureOutput> photoOutput = nullptr; in CreatePhotoOutput() local
611 photoOutput = manager_->CreatePhotoOutput(profile, surfaceProducer); in CreatePhotoOutput()
612 return photoOutput; in CreatePhotoOutput()
648 sptr<CaptureOutput> &photoOutput) in ConfigHighResSession()
686 CreateHighResPhotoOutput(previewOutput, photoOutput, in ConfigHighResSession()
647 ConfigHighResSession(sptr<CaptureOutput> &previewOutput, sptr<CaptureOutput> &photoOutput) ConfigHighResSession() argument
760 CreateHighResPhotoOutput(sptr<CaptureOutput> &previewOutput, sptr<CaptureOutput> &photoOutput, Profile previewProfile, Profile photoProfile) CreateHighResPhotoOutput() argument
995 TestCallbacksSession(sptr<CaptureOutput> photoOutput, sptr<CaptureOutput> videoOutput) TestCallbacksSession() argument
1033 sptr<CaptureOutput> photoOutput = nullptr; TestCallbacks() local
1517 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
1548 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
1870 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
1896 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2289 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2340 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2388 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2493 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2543 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2593 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2635 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2701 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
2778 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(photoProfiles[0]); HWTEST_F() local
2970 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(profile); HWTEST_F() local
3038 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(profile); HWTEST_F() local
3127 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(profile); HWTEST_F() local
3214 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(profile); HWTEST_F() local
4292 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
4379 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
4439 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
5440 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
5519 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
6186 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
6300 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
6619 sptr<CaptureOutput> photoOutput = manager_->CreatePhotoOutput(photoProfiles[0], surfaceProducer_2); HWTEST_F() local
7026 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
7145 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
7284 sptr<CaptureOutput> photoOutput = camManagerObj->CreatePhotoOutput(photoProfiles[0], surfaceProducer); HWTEST_F() local
7473 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
7553 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
8340 auto photoOutput = static_cast<PhotoOutput*>(photoOutput1.GetRefPtr()); HWTEST_F() local
8370 auto photoOutput = static_cast<PhotoOutput*>(photoOutput1.GetRefPtr()); HWTEST_F() local
8883 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
9721 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(profile); HWTEST_F() local
9785 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
10671 sptr<CaptureOutput> photoOutput; HWTEST_F() local
10705 sptr<CaptureOutput> photoOutput; HWTEST_F() local
10753 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
11139 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
11187 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
11380 sptr<PhotoOutput> photoOutput = nullptr; HWTEST_F() local
11445 sptr<PhotoOutput> photoOutput = nullptr; HWTEST_F() local
11627 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(profile); HWTEST_F() local
11698 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
11791 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(profile); HWTEST_F() local
11869 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
12014 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(wanted.photo); HWTEST_F() local
12411 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
12556 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
12666 auto photoOutput = CreatePhotoOutput(); HWTEST_F() local
12729 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
12876 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
13087 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
13122 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
13157 sptr<CaptureOutput> photoOutput = CreatePhotoOutput(); HWTEST_F() local
[all...]
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_listener_impl.cpp34 PhotoListener::PhotoListener(Camera_PhotoOutput* photoOutput, sptr<Surface> surface) in PhotoListener() argument
35 : photoOutput_(photoOutput), photoSurface_(surface) in PhotoListener()
263 auto photoOutput = photoOutput_->GetInnerPhotoOutput(); in CreateMediaLibrary() local
264 if (photoOutput && photoOutput->GetSession()) { in CreateMediaLibrary()
265 auto settings = photoOutput->GetDefaultCaptureSetting(); in CreateMediaLibrary()
271 photoOutput->GetSession()->CreateMediaLibrary(photoProxy, uri, cameraShotType, burstKey, timestamp); in CreateMediaLibrary()
275 RawPhotoListener::RawPhotoListener(Camera_PhotoOutput* photoOutput, const sptr<Surface> rawPhotoSurface) in RawPhotoListener() argument
276 : photoOutput_(photoOutput), rawPhotoSurface_(rawPhotoSurface) in RawPhotoListener()
H A Dcamera_manager_impl.h69 Camera_PhotoOutput** photoOutput);
72 Camera_PhotoOutput** photoOutput);
74 Camera_ErrorCode CreatePhotoOutputUsedInPreconfig(const char* surfaceId, Camera_PhotoOutput** photoOutput);
H A Dcapture_session_impl.h58 Camera_ErrorCode AddPhotoOutput(Camera_PhotoOutput* photoOutput);
60 Camera_ErrorCode RemovePhotoOutput(Camera_PhotoOutput* photoOutput);
140 Camera_ErrorCode CanAddPhotoOutput(Camera_PhotoOutput* photoOutput, bool* isSuccessful);
H A Dphoto_listener_impl.h47 explicit PhotoListener(Camera_PhotoOutput* photoOutput, sptr<Surface> surface);
76 explicit RawPhotoListener(Camera_PhotoOutput* photoOutput, const sptr<Surface> rawPhotoSurface);
H A Dcapture_session_impl.cpp279 Camera_ErrorCode Camera_CaptureSession::AddPhotoOutput(Camera_PhotoOutput* photoOutput) in AddPhotoOutput() argument
282 sptr<CaptureOutput> innerPhotoOutput = photoOutput->GetInnerPhotoOutput(); in AddPhotoOutput()
287 Camera_ErrorCode Camera_CaptureSession::RemovePhotoOutput(Camera_PhotoOutput* photoOutput) in RemovePhotoOutput() argument
290 sptr<CaptureOutput> innerPhotoOutput = photoOutput->GetInnerPhotoOutput(); in RemovePhotoOutput()
620 Camera_ErrorCode Camera_CaptureSession::CanAddPhotoOutput(Camera_PhotoOutput* photoOutput, bool* isSuccessful) in CanAddPhotoOutput() argument
622 sptr<CaptureOutput> innerPhotoOutput = photoOutput->GetInnerPhotoOutput(); in CanAddPhotoOutput()
H A Dphoto_output_impl.h31 explicit InnerPhotoOutputCallback(Camera_PhotoOutput* photoOutput) : photoOutput_(photoOutput) in InnerPhotoOutputCallback() argument
H A Dcamera_manager_impl.cpp25 const char* DEFAULT_SURFACEID = "photoOutput";
620 const char* surfaceId, Camera_PhotoOutput** photoOutput) in CreatePhotoOutput()
631 MEDIA_ERR_LOG("Failed to get photoOutput surface"); in CreatePhotoOutput()
642 *photoOutput = out; in CreatePhotoOutput()
647 Camera_PhotoOutput** photoOutput) in CreatePhotoOutputWithoutSurface()
658 "Failed to get photoOutput surface"); in CreatePhotoOutputWithoutSurface()
674 *photoOutput = out; in CreatePhotoOutputWithoutSurface()
679 Camera_PhotoOutput** photoOutput) in CreatePhotoOutputUsedInPreconfig()
686 surface = Surface::CreateSurfaceAsConsumer("photoOutput"); in CreatePhotoOutputUsedInPreconfig()
689 "Camera_Manager::CreatePhotoOutputUsedInPreconfig get photoOutput surfac in CreatePhotoOutputUsedInPreconfig()
619 CreatePhotoOutput(const Camera_Profile* profile, const char* surfaceId, Camera_PhotoOutput** photoOutput) CreatePhotoOutput() argument
646 CreatePhotoOutputWithoutSurface(const Camera_Profile* profile, Camera_PhotoOutput** photoOutput) CreatePhotoOutputWithoutSurface() argument
678 CreatePhotoOutputUsedInPreconfig(const char* surfaceId, Camera_PhotoOutput** photoOutput) CreatePhotoOutputUsedInPreconfig() argument
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_capture_mode.cpp446 sptr<CaptureOutput> photoOutput = camManagerObj->CreatePhotoOutput(photoprofile, bp); in main() local
447 if (photoOutput == nullptr) { in main()
452 ((sptr<PhotoOutput> &)photoOutput)->SetCallback(std::make_shared<TestPhotoOutputCallback>(testName)); in main()
453 ret = portraitSession->AddOutput(photoOutput); in main()
552 ret = ((sptr<PhotoOutput> &)photoOutput)->Capture(ConfigPhotoCaptureSetting()); in main()
567 ret = ((sptr<PhotoOutput> &)photoOutput)->Capture(ConfigPhotoCaptureSetting()); in main()
584 ret = ((sptr<PhotoOutput> &)photoOutput)->Capture(ConfigPhotoCaptureSetting()); in main()
599 ret = ((sptr<PhotoOutput> &)photoOutput)->Capture(ConfigPhotoCaptureSetting()); in main()
614 ret = ((sptr<PhotoOutput> &)photoOutput)->Capture(ConfigPhotoCaptureSetting()); in main()
628 ret = ((sptr<PhotoOutput> &)photoOutput) in main()
[all...]
H A Dcamera_capture.cpp220 sptr<CaptureOutput> photoOutput = camManagerObj->CreatePhotoOutput(photoprofile, bp); in main() local
221 if (photoOutput == nullptr) { in main()
226 ((sptr<PhotoOutput> &)photoOutput)->SetCallback(std::make_shared<TestPhotoOutputCallback>(testName)); in main()
227 ret = captureSession->AddOutput(photoOutput); in main()
273 ret = ((sptr<PhotoOutput> &)photoOutput)->Capture(ConfigPhotoCaptureSetting()); in main()
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/
H A Dcamera_framework_moduletest.h107 void CreateHighResPhotoOutput(sptr<CaptureOutput> &previewOutput, sptr<CaptureOutput> &photoOutput,
113 void TestCallbacksSession(sptr<CaptureOutput> photoOutput,
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Dphoto_output_napi.h137 explicit PhotoListener(napi_env env, const sptr<Surface> photoSurface, wptr<PhotoOutput> photoOutput);
181 wptr<PhotoOutput> photoOutput);
198 void InitPictureListeners(napi_env env, wptr<PhotoOutput> photoOutput);
246 explicit ThumbnailListener(napi_env env, const sptr<PhotoOutput> photoOutput);
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dphoto_output.h501 explicit HStreamCaptureCallbackImpl(PhotoOutput* photoOutput) : innerPhotoOutput_(photoOutput) {} in HStreamCaptureCallbackImpl() argument
/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/cpp/
H A Dcamera_manager.cpp300 // 把photoOutput加入到会话 in SessionFlowFn()
892 void PhotoOutputOnFrameStart(Camera_PhotoOutput* photoOutput) in PhotoOutputOnFrameStart() argument
897 void PhotoOutputOnFrameShutter(Camera_PhotoOutput* photoOutput, Camera_FrameShutterInfo* info) in PhotoOutputOnFrameShutter() argument
902 void PhotoOutputOnFrameEnd(Camera_PhotoOutput* photoOutput, int32_t frameCount) in PhotoOutputOnFrameEnd() argument
907 void PhotoOutputOnError(Camera_PhotoOutput* photoOutput, Camera_ErrorCode errorCode) in PhotoOutputOnError() argument
/foundation/multimedia/camera_framework/test/fuzztest/timelapsephotosession_fuzzer/
H A Dtime_lapse_photo_session_fuzzer.cpp70 sptr<CaptureOutput> photoOutput = manager->CreatePhotoOutput(photo, surface); in AddOutput() local
71 CHECK_AND_RETURN_LOG(photoOutput, "TimeLapsePhotoSessionFuzzer: photoOutput Error"); in AddOutput()
72 session->AddOutput(photoOutput); in AddOutput()
/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/
H A Dicamera_service.h93 int32_t width, int32_t height, sptr<IStreamCapture> &photoOutput) = 0;

Completed in 31 milliseconds

12