Home
last modified time | relevance | path

Searched refs:consumer_ (Results 1 – 16 of 16) sorted by relevance

/test/xts/dcts/distributedhardware/distributedcameratest/
Dstream_customer.cpp27 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
28 if (consumer_ == nullptr) { in CreateProducer()
33 listener = new TestBuffersConsumerListener(consumer_, callback); in CreateProducer()
35 listener = new TestBuffersConsumerListener(consumer_, callback); in CreateProducer()
37 consumer_->RegisterConsumerListener(listener); in CreateProducer()
39 auto producer = consumer_->GetProducer(); in CreateProducer()
Dstream_customer.h42 … const std::function<void(void*, const uint32_t)> callback):callback_(callback), consumer_(surface) in TestBuffersConsumerListener()
58 consumer_->AcquireBuffer(buff, flushFence, timestamp, damage); in OnBufferAvailable()
65 consumer_->ReleaseBuffer(buff, -1); in OnBufferAvailable()
71 sptr<IConsumerSurface> consumer_; variable
81 sptr<OHOS::IConsumerSurface> consumer_ = nullptr;
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
Dstream_customer.cpp36 consumer_->AcquireBuffer(buff, flushFence, timestamp, damage); in CamFrame()
43 consumer_->ReleaseBuffer(buff, -1); in CamFrame()
53 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
54 if (consumer_ == nullptr) { in CreateProducer()
59 consumer_->RegisterConsumerListener(listener); in CreateProducer()
61 auto producer = consumer_->GetProducer(); in CreateProducer()
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/
Dstream_customer.h72 std::shared_ptr<OHOS::Surface> consumer_ = nullptr; variable
74 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dcommon.cpp302 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
303 if (consumer_ == nullptr) { in CreateProducer()
307 consumer_->RegisterConsumerListener(listener); in CreateProducer()
308 auto producer = consumer_->GetProducer(); in CreateProducer()
322 consumer_->AcquireBuffer(buffer, flushFence, timestamp, damage); in CreateProducer()
343 consumer_->ReleaseBuffer(buffer, -1); in CreateProducer()
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dbenchmark_common.cpp301 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
302 if (consumer_ == nullptr) { in CreateProducer()
306 consumer_->RegisterConsumerListener(listener); in CreateProducer()
307 auto producer = consumer_->GetProducer(); in CreateProducer()
321 consumer_->AcquireBuffer(buffer, flushFence, timestamp, damage); in CreateProducer()
342 consumer_->ReleaseBuffer(buffer, -1); in CreateProducer()
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dcommon.cpp301 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
302 if (consumer_ == nullptr) { in CreateProducer()
306 consumer_->RegisterConsumerListener(listener); in CreateProducer()
307 auto producer = consumer_->GetProducer(); in CreateProducer()
321 consumer_->AcquireBuffer(buffer, flushFence, timestamp, damage); in CreateProducer()
342 consumer_->ReleaseBuffer(buffer, -1); in CreateProducer()
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
Dbenchmark_common.cpp340 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
341 if (consumer_ == nullptr) { in CreateProducer()
345 consumer_->RegisterConsumerListener(listener); in CreateProducer()
346 auto producer = consumer_->GetProducer(); in CreateProducer()
360 consumer_->AcquireBuffer(buffer, flushFence, timestamp, damage); in CreateProducer()
381 consumer_->ReleaseBuffer(buffer, -1); in CreateProducer()
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
Dhdi_common_v1_1.cpp388 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
389 if (consumer_ == nullptr) { in CreateProducer()
393 consumer_->RegisterConsumerListener(listener); in CreateProducer()
394 auto producer = consumer_->GetProducer(); in CreateProducer()
408 consumer_->AcquireBuffer(buffer, flushFence, timestamp, damage); in CreateProducer()
430 consumer_->ReleaseBuffer(buffer, -1); in CreateProducer()
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
Dhdi_common_v1_1.cpp388 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
389 if (consumer_ == nullptr) { in CreateProducer()
393 consumer_->RegisterConsumerListener(listener); in CreateProducer()
394 auto producer = consumer_->GetProducer(); in CreateProducer()
408 consumer_->AcquireBuffer(buffer, flushFence, timestamp, damage); in CreateProducer()
430 consumer_->ReleaseBuffer(buffer, -1); in CreateProducer()
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
Dhdi_common_v1_2.cpp515 consumer_ = OHOS::IConsumerSurface::Create(); in CreateProducer()
516 if (consumer_ == nullptr) { in CreateProducer()
520 consumer_->RegisterConsumerListener(listener); in CreateProducer()
521 auto producer = consumer_->GetProducer(); in CreateProducer()
535 consumer_->AcquireBuffer(buffer, flushFence, timestamp, damage); in CreateProducer()
557 consumer_->ReleaseBuffer(buffer, -1); in CreateProducer()
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/
Dcommon.h155 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/
Dcommon.h154 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/
Dhdi_common_v1_1.h179 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/
Dhdi_common_v1_1.h179 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/
Dhdi_common_v1_2.h233 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable