| 110 | } |
| 111 | |
| 112 | [[nodiscard]] bool IsAlignedImage(const QImage &image) { |
| 113 | return !(reinterpret_cast<uintptr_t>(image.bits()) % kAlignImageBy) |
| 114 | && !(image.bytesPerLine() % kAlignImageBy); |
| 115 | } |
| 116 | |
| 117 | void UnPremultiplyLine(uchar *dst, const uchar *src, int intsCount) { |
| 118 | [[maybe_unused]] const auto udst = reinterpret_cast<uint*>(dst); |
no outgoing calls
no test coverage detected