| 387 | } |
| 388 | |
| 389 | GetUSBCamera::PNGWriteCallback::PNGWriteCallback(std::shared_ptr<std::mutex> write_mtx, |
| 390 | uvc_frame_t *frame, |
| 391 | uint32_t width, |
| 392 | uint32_t height) |
| 393 | : png_write_mtx_(std::move(write_mtx)), |
| 394 | frame_(frame), |
| 395 | width_(width), |
| 396 | height_(height), |
| 397 | logger_(logging::LoggerFactory<PNGWriteCallback>::getLogger()) { |
| 398 | } |
| 399 | |
| 400 | int64_t GetUSBCamera::PNGWriteCallback::process(const std::shared_ptr<io::BaseStream>& stream) { |
| 401 | std::lock_guard<std::mutex> lock(*png_write_mtx_); |
nothing calls this directly
no outgoing calls
no test coverage detected