![]() |
Qt 6.x
The Qt SDK
|
#include <qvideotexturehelper_p.h>
Collaboration diagram for QVideoTextureHelper::TextureDescription: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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
inline |
Definition at line 41 of file qvideotexturehelper_p.h.
References strideFactor.
Referenced by QVideoFrame::QVideoFrame(), bytesForSize(), and QWasmVideoOutput::videoFrameCallback().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| 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 QVideoTextureHelper::createTexturesFromHandles(), QVideoTextureHelper::createTexturesFromMemory(), heightForPlane(), QVideoFrameFormat::planeCount(), and widthForPlane().
Definition at line 58 of file qvideotexturehelper_p.h.
Referenced by QVideoTextureHelper::createTextureFromHandle(), heightForPlane(), QVideoTextureHelper::updateTextureWithMap(), 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 QVideoTextureHelper::createTextureFromHandle(), Q_LOGGING_CATEGORY(), AVFVideoBuffer::textureHandle(), and QVideoTextureHelper::updateTextureWithMap().