Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qvideotexturehelper_p.h>
Classes | |
struct | SizeScale |
Public Types | |
using | BytesRequired = int(*)(int stride, int height) |
Public Member Functions | |
int | strideForWidth (int width) const |
int | bytesForSize (QSize s) const |
int | widthForPlane (int width, int plane) const |
int | heightForPlane (int height, int plane) const |
Public Attributes | |
int | nplanes |
int | strideFactor |
BytesRequired | bytesRequired |
QRhiTexture::Format | textureFormat [maxPlanes] |
SizeScale | sizeScale [maxPlanes] |
Static Public Attributes | |
static constexpr int | maxPlanes = 3 |
Definition at line 32 of file qvideotexturehelper_p.h.
using QVideoTextureHelper::TextureDescription::BytesRequired = int(*)(int stride, int height) |
Definition at line 39 of file qvideotexturehelper_p.h.
|
inline |
Definition at line 42 of file qvideotexturehelper_p.h.
References bytesRequired, and strideForWidth().
Referenced by QVideoFrame::QVideoFrame().
|
inline |
Definition at line 48 of file qvideotexturehelper_p.h.
References nplanes, sizeScale, and QVideoTextureHelper::TextureDescription::SizeScale::y.
Referenced by Q_LOGGING_CATEGORY(), and AVFVideoBuffer::textureHandle().
|
inline |
Definition at line 41 of file qvideotexturehelper_p.h.
References strideFactor.
Referenced by QVideoFrame::QVideoFrame(), bytesForSize(), and QWasmVideoOutput::videoFrameCallback().
|
inline |
Definition at line 43 of file qvideotexturehelper_p.h.
References nplanes, sizeScale, and QVideoTextureHelper::TextureDescription::SizeScale::x.
Referenced by Q_LOGGING_CATEGORY(), and AVFVideoBuffer::textureHandle().
BytesRequired QVideoTextureHelper::TextureDescription::bytesRequired |
Definition at line 56 of file qvideotexturehelper_p.h.
Referenced by bytesForSize().
|
staticconstexpr |
Definition at line 34 of file qvideotexturehelper_p.h.
int QVideoTextureHelper::TextureDescription::nplanes |
Definition at line 54 of file qvideotexturehelper_p.h.
Referenced by heightForPlane(), QVideoFrameFormat::planeCount(), and widthForPlane().
Definition at line 58 of file qvideotexturehelper_p.h.
Referenced by heightForPlane(), and widthForPlane().
int QVideoTextureHelper::TextureDescription::strideFactor |
Definition at line 55 of file qvideotexturehelper_p.h.
Referenced by strideForWidth().
QRhiTexture::Format QVideoTextureHelper::TextureDescription::textureFormat[maxPlanes] |
Definition at line 57 of file qvideotexturehelper_p.h.
Referenced by Q_LOGGING_CATEGORY(), and AVFVideoBuffer::textureHandle().