Home
last modified time | relevance | path

Searched refs:photoNative (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_listener_impl.cpp185 OH_PhotoNative *photoNative = photoOutput_->CreateCameraPhotoNative(nativeImage, true); in ExecutePhoto() local
186 CHECK_AND_RETURN_LOG(photoNative != nullptr, "Create photo native failed"); in ExecutePhoto()
188 photoCallback_(photoOutput_, photoNative); in ExecutePhoto()
317 OH_PhotoNative *photoNative = photoOutput_->CreateCameraPhotoNative(nativeImage, false); in ExecuteRawPhoto() local
318 CHECK_AND_RETURN_LOG(photoNative != nullptr, "Create photo native failed"); in ExecuteRawPhoto()
320 callback_(photoOutput_, photoNative); in ExecuteRawPhoto()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_ndk_unittest.cpp5551 OH_PhotoNative* photoNative = new OH_PhotoNative(); variable
5553 Camera_ErrorCode ret = OH_PhotoNative_GetMainImage(photoNative, &mainImage);
5557 ret = OH_PhotoNative_GetMainImage(photoNative, nullptr);
5560 photoNative->SetMainImage(mainImage_);
5561 ret = OH_PhotoNative_GetMainImage(photoNative, &mainImage);
5564 EXPECT_EQ(OH_PhotoNative_Release(photoNative), CAMERA_OK);
5577 OH_PhotoNative* photoNative = new OH_PhotoNative(); variable
5579 Camera_ErrorCode ret = OH_PhotoNative_GetMainImage(photoNative, &mainImage);
5583 ret = OH_PhotoNative_GetMainImage(photoNative, nullptr);
5585 EXPECT_EQ(OH_PhotoNative_Release(photoNative), CAMERA_OK);