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