|
QGroundControl
Ground Control Station for MAVLink Drones
|
Shared base for GL-texture-backed QVideoFrameTextures wrappers (GLMemory and DMABuf-via-EGLImage).
More...
#include <GstGlFrameTextures.h>
Inheritance diagram for GstGlFrameTextures:
Collaboration diagram for GstGlFrameTextures:Public Types | |
| using | FallbackPolicy = QVideoTextureHelper::TextureDescription::FallbackPolicy |
Public Member Functions | |
| GstGlFrameTextures (QRhi *rhi, QSize size, QVideoFrameFormat::PixelFormat pixelFormat, std::array< GLuint, GstHw::kMaxPlanes > names, int count, FallbackPolicy fallback=FallbackPolicy::Enable) | |
Public Member Functions inherited from GstHwFrameTexturesBase | |
| ~GstHwFrameTexturesBase () override | |
| void | onFrameEndInvoked () override |
| QRhiTexture * | texture (uint plane) const override |
| virtual HwVideoBufferPath | sourcePath () const |
| GPU path that produced this bundle; used after a type-safe downcast to decide path-local reuse. | |
| void | setSourceSample (GstSample *s) noexcept |
| Transfers a ref into the bundle. Caller must have a fresh ref. | |
Protected Attributes | |
| QRhi * | _rhi = nullptr |
| QSize | _size |
| QVideoFrameFormat::PixelFormat | _pixelFormat = QVideoFrameFormat::Format_Invalid |
| std::array< GLuint, GstHw::kMaxPlanes > | _names {} |
Protected Attributes inherited from GstHwFrameTexturesBase | |
| int | _count = 0 |
| std::unique_ptr< QRhiTexture > | _textures [GstHw::kMaxPlanes] |
| GstSample * | _srcSample = nullptr |
Additional Inherited Members | |
Static Public Member Functions inherited from GstHwFrameTexturesBase | |
| template<class FT > | |
| static FT * | reusableBundle (QVideoFrameTexturesUPtr &old, HwVideoBufferPath p) |
Shared base for GL-texture-backed QVideoFrameTextures wrappers (GLMemory and DMABuf-via-EGLImage).
Definition at line 14 of file GstGlFrameTextures.h.
| using GstGlFrameTextures::FallbackPolicy = QVideoTextureHelper::TextureDescription::FallbackPolicy |
Definition at line 17 of file GstGlFrameTextures.h.
|
inline |
Definition at line 19 of file GstGlFrameTextures.h.
References GstHwFrameTexturesBase::_count, _names, and GstHwFrameTexturesBase::_textures.
|
protected |
Definition at line 45 of file GstGlFrameTextures.h.
Referenced by GstGlFrameTextures().
|
protected |
Definition at line 44 of file GstGlFrameTextures.h.
|
protected |
Definition at line 42 of file GstGlFrameTextures.h.
|
protected |
Definition at line 43 of file GstGlFrameTextures.h.