8 #ifndef CSCORE_CVSINKIMPL_H_ 9 #define CSCORE_CVSINKIMPL_H_ 12 #include <condition_variable> 18 #include <llvm/SmallVector.h> 19 #include <llvm/StringRef.h> 20 #include <llvm/raw_ostream.h> 21 #include <support/raw_istream.h> 22 #include <support/raw_socket_ostream.h> 23 #include <tcpsockets/NetworkAcceptor.h> 24 #include <tcpsockets/NetworkStream.h> 36 std::function<
void(uint64_t time)> processFrame);
41 uint64_t GrabFrame(cv::Mat& image);
42 uint64_t GrabFrame(cv::Mat& image,
double timeout);
47 std::atomic_bool m_active;
49 std::function<void(uint64_t time)> m_processFrame;
54 #endif // CSCORE_CVSINKIMPL_H_ Definition: SinkImpl.h:19
Definition: SinkImpl.h:23
Definition: CvSinkImpl.h:32
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:42