Files
AyuGramDesktop/Telegram/SourceFiles/media/streaming/media_streaming_native_frame_mac.h
T

23 lines
475 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#ifdef Q_OS_MAC
#include <QtGui/QImage>
namespace Media::Streaming {
struct NativeFrame;
[[nodiscard]] QImage ConvertNativeFrameToARGB32(const NativeFrame &frame);
} // namespace Media::Streaming
#endif // Q_OS_MAC