| 119 | } |
| 120 | |
| 121 | std::optional<cv::Mat> ScreencapHelper::decode_gzip(const std::string& buffer) |
| 122 | { |
| 123 | auto buf = gzip::decompress(buffer.c_str(), buffer.size()); |
| 124 | return decode_raw(buf); |
| 125 | } |
| 126 | |
| 127 | std::optional<cv::Mat> ScreencapHelper::decode_png(const std::string& buffer) |
| 128 | { |
nothing calls this directly
no test coverage detected