MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / FrameWriteCallback

Method FrameWriteCallback

extensions/opencv/FrameIO.h:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27class 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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected