| 499 | } |
| 500 | |
| 501 | std::unique_ptr<LiveFrameOpInterface> DenoiseFrameOp::attach( |
| 502 | FrameBufferView &fbView) |
| 503 | { |
| 504 | if (drtDevice.getSyclQueuePtr()) |
| 505 | return rkcommon::make_unique<LiveDenoiseFrameOpSharedSycl>(this, fbView); |
| 506 | |
| 507 | if (oidnDevice.get<bool>("systemMemorySupported")) |
| 508 | return rkcommon::make_unique<LiveDenoiseFrameOpSharedCpu>(this, fbView); |
| 509 | |
| 510 | return rkcommon::make_unique<LiveDenoiseFrameOpCopy>(this, fbView); |
| 511 | } |
| 512 | |
| 513 | std::string DenoiseFrameOp::toString() const |
| 514 | { |
nothing calls this directly
no test coverage detected