Loading...
Searching...
No Matches
VideoPixelFormatQRhi.hpp
Go to the documentation of this file.
1#pragma once
2
29
30#include <score_plugin_gfx_export.h>
31
32#include <QtGui/private/qrhi_p.h>
33
34namespace score::gfx::interop
35{
36
43SCORE_PLUGIN_GFX_EXPORT
44QRhiTexture::Format
45planeTextureFormat(VideoPixelFormat f, int plane) noexcept;
46
50SCORE_PLUGIN_GFX_EXPORT
51uint32_t planeTextureWidth(VideoPixelFormat f, int plane, uint32_t width) noexcept;
52
54SCORE_PLUGIN_GFX_EXPORT
55uint32_t planeTextureHeight(VideoPixelFormat f, int plane, uint32_t height) noexcept;
56
61SCORE_PLUGIN_GFX_EXPORT
62VideoPixelFormat fromTextureFormat(QRhiTexture::Format f) noexcept;
63
64} // namespace score::gfx::interop
Vendor-neutral pixel format vocabulary + descriptive metadata.
VideoPixelFormat
Definition VideoPixelFormat.hpp:229