MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / IsAlignedImage

Function IsAlignedImage

Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

GoodStorageForFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected