Home
last modified time | relevance | path

Searched refs:source (Results 1 - 8 of 8) sorted by relevance

/applications/standard/app_samples/code/BasicFeature/Media/Image/photomodify/src/main/cpp/
H A DImage.cpp45 Image_ErrorCode ReleaseImageSource(OH_ImageSourceNative* &source);
339 Image_ErrorCode ReleaseImageSource(OH_ImageSourceNative*& source) in ReleaseImageSource() argument
341 if (source != nullptr) { in ReleaseImageSource()
342 g_thisPicture->errorCode = OH_ImageSourceNative_Release(source); in ReleaseImageSource()
343 source = nullptr; in ReleaseImageSource()
364 ReleaseImageSource(g_thisPicture->source); in CreatePictureByImageSource()
365 g_thisPicture->errorCode = OH_ImageSourceNative_CreateFromUri(filePath, filePathSize, &g_thisPicture->source); in CreatePictureByImageSource()
372 OH_ImageSourceNative_CreatePicture(g_thisPicture->source, g_thisPicture->options, &g_thisPicture->picture); in CreatePictureByImageSource()
H A Dimage.h46 OH_ImageSourceNative *source = nullptr; member
/applications/sample/camera/gallery/src/
H A Dplayer_ability_slice.cpp190 Source source(uri, header); in SetUpVideoPlayer()
191 videoPlayer_->adapter->SetSource(source); in SetUpVideoPlayer()
409 Source source(uri, header); in Callback()
410 videoPlayer_->adapter->SetSource(source); in Callback()
/applications/sample/camera/media/
H A Dplayer_sample.cpp28 #include "source.h"
403 Source source(sample.streamSample, formats); in SetStreamSourceProcess()
404 sample.adapter->SetSource(source); in SetStreamSourceProcess()
424 Source source(uri, header); in SetSourceProcess()
425 sample.adapter->SetSource(source); in SetSourceProcess()
829 printf("usage: %s filename source_type(1:uri, 2:stream-source) pause-after-play(1:yes, ohter:no)\n", argv[0]); in ParseInputParam()
H A Dcamera_sample.cpp80 VideoSourceType source = VIDEO_SOURCE_SURFACE_ES; in SampleCreateRecorder() local
90 if ((ret = recorder->SetVideoSource(source, sourceId)) != SUCCESS) { in SampleCreateRecorder()
/applications/sample/camera/cameraApp/cameraApp/src/main/cpp/
H A Dcamera_manager.cpp272 VideoSourceType source = VIDEO_SOURCE_SURFACE_ES; in SampleCreateRecorder() local
279 if ((ret = recorder->SetVideoSource(source, sourceId)) != SUCCESS) { in SampleCreateRecorder()
/applications/standard/app_samples/code/BasicFeature/DeviceManagement/Vibrator/CustomHaptic/hvigor/
H A Dhvigor-wrapper.js3181 } else vc("moveAndMaybeCompressFile: source and target are the same, not doing anything")
3813 const n = e.map((e => e.source ? e.source : e));
/applications/standard/calendardata/hvigor/
H A Dhvigor-wrapper.js2354 } else co("moveAndMaybeCompressFile: source and target are the same, not doing anything")
3052 const n = e.map((e => e.source ? e.source : e));

Completed in 23 milliseconds