/test/xts/dcts/distributedhardware/distributedcameratest/ |
D | stream_customer.cpp | 27 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()
|
D | stream_customer.h | 42 … 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/ |
D | stream_customer.cpp | 36 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/ |
D | stream_customer.h | 72 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/ |
D | common.cpp | 302 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/ |
D | benchmark_common.cpp | 301 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/ |
D | common.cpp | 301 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/ |
D | benchmark_common.cpp | 340 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/ |
D | hdi_common_v1_1.cpp | 388 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/ |
D | hdi_common_v1_1.cpp | 388 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/ |
D | hdi_common_v1_2.cpp | 515 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/ |
D | common.h | 155 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/ |
D | common.h | 154 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/ |
D | hdi_common_v1_1.h | 179 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/ |
D | hdi_common_v1_1.h | 179 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/ |
D | hdi_common_v1_2.h | 233 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr; variable
|