| 27 | class FrameWriteCallback : public OutputStreamCallback { |
| 28 | public: |
| 29 | explicit FrameWriteCallback(cv::Mat image_mat, std::string image_encoding_) |
| 30 | // TODO - Nghia: Check std::move(img_mat). |
| 31 | : image_mat_(std::move(image_mat)), image_encoding_(image_encoding_) { |
| 32 | } |
| 33 | ~FrameWriteCallback() override = default; |
| 34 | |
| 35 | int64_t process(const std::shared_ptr<io::BaseStream>& stream) override { |
nothing calls this directly
no outgoing calls
no test coverage detected