| 59 | } |
| 60 | |
| 61 | static std::string create_uniform_mask_png(int width, int height, int gray_value) { |
| 62 | const std::string path = temp_png_path("mask_uniform"); |
| 63 | QImage mask(width, height, QImage::Format_RGBA8888_Premultiplied); |
| 64 | mask.fill(QColor(gray_value, gray_value, gray_value, 255)); |
| 65 | REQUIRE(mask.save(QString::fromStdString(path))); |
| 66 | return path; |
| 67 | } |
| 68 | |
| 69 | class TrackingMaskReader : public ReaderBase { |
| 70 | private: |
no test coverage detected