Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/output/
H A Ddepth_data_output_napi.h51 …explicit DepthDataBufferProcessor(sptr<Surface> depthDataSurface) : depthDataSurface_(depthDataSur… in DepthDataBufferProcessor() argument
89 DepthDataListenerInfo(sptr<Surface> depthDataSurface, const DepthDataListener* listener) in DepthDataListenerInfo()
90 : depthDataSurface_(depthDataSurface), listener_(listener) in DepthDataListenerInfo()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddepth_data_output_napi.cpp55 DepthDataListener::DepthDataListener(napi_env env, const sptr<Surface> depthDataSurface, in DepthDataListener() argument
57 : ListenerBase(env), depthDataSurface_(depthDataSurface), depthDataOutput_(depthDataOutput) in DepthDataListener()
59 if (bufferProcessor_ == nullptr && depthDataSurface != nullptr) { in DepthDataListener()
60 bufferProcessor_ = std::make_shared<DepthDataBufferProcessor>(depthDataSurface); in DepthDataListener()
392 sptr<Surface> depthDataSurface; in CreateDepthDataOutput() local
394 depthDataSurface = Surface::CreateSurfaceAsConsumer("depthDataOutput"); in CreateDepthDataOutput()
395 sDepthDataSurface_ = depthDataSurface; in CreateDepthDataOutput()
396 if (depthDataSurface == nullptr) { in CreateDepthDataOutput()
401 sptr<IBufferProducer> surfaceProducer = depthDataSurface->GetProducer(); in CreateDepthDataOutput()
405 depthDataSurface->GetDefaultWidth(), depthDataSurface->GetDefaultHeight()); in CreateDepthDataOutput()