![]() |
Qt 6.x
The Qt SDK
|
#include <avfvideosink_p.h>
Public Member Functions | |
~AVFVideoSinkInterface () | |
void | setVideoSink (AVFVideoSink *sink) |
virtual void | reconfigure ()=0 |
virtual void | setRhi (QRhi *) |
virtual void | setLayer (CALayer *layer) |
virtual void | setOutputSettings () |
QMutex * | textureCacheMutex () |
QRhi * | rhi () const |
void | updateLayerBounds () |
void | nativeSizeChanged () |
QSize | nativeSize () const |
Public Attributes | |
CVMetalTextureCacheRef | cvMetalTextureCache = nullptr |
Protected Attributes | |
AVFVideoSink * | m_sink = nullptr |
QRhi * | m_rhi = nullptr |
CALayer * | m_layer = nullptr |
NSDictionary * | m_outputSettings = nullptr |
QMutex | m_textureCacheMutex |
Definition at line 57 of file avfvideosink_p.h.
AVFVideoSinkInterface::~AVFVideoSinkInterface | ( | ) |
Definition at line 56 of file avfvideosink.mm.
References m_layer, m_outputSettings, and release().
|
inline |
Definition at line 76 of file avfvideosink_p.h.
References m_sink, and QPlatformVideoSink::nativeSize().
Referenced by updateLayerBounds().
|
inline |
Definition at line 75 of file avfvideosink_p.h.
References updateLayerBounds().
Referenced by AVFCameraRenderer::reconfigure(), AVFVideoRendererControl::reconfigure(), and AVFVideoSink::setNativeSize().
|
pure virtual |
Implemented in AVFCameraRenderer, and AVFVideoRendererControl.
Referenced by setLayer(), and setVideoSink().
|
inline |
Definition at line 72 of file avfvideosink_p.h.
References m_rhi.
Referenced by AVFCaptureFramesDelegate::captureOutput:didOutputSampleBuffer:fromConnection:, and setRhi().
|
virtual |
Reimplemented in AVFVideoRendererControl.
Definition at line 156 of file avfvideosink.mm.
References m_layer, reconfigure(), and release().
Referenced by AVFVideoRendererControl::setLayer().
|
virtual |
Reimplemented in AVFCameraRenderer.
Definition at line 171 of file avfvideosink.mm.
References QRhi::backend(), dictionary, m_outputSettings, m_rhi, QRhi::OpenGLES2, and release().
Referenced by AVFCameraRenderer::setOutputSettings(), and setRhi().
Definition at line 93 of file avfvideosink.mm.
References QRhi::backend(), cvMetalTextureCache, m_rhi, m_textureCacheMutex, QRhi::Metal, QRhi::nativeHandles(), QRhi::OpenGLES2, Q_ASSERT, qWarning, rhi(), and setOutputSettings().
Referenced by AVFVideoSink::setRhi(), and AVFVideoSink::setVideoSinkInterface().
void AVFVideoSinkInterface::setVideoSink | ( | AVFVideoSink * | sink | ) |
Definition at line 81 of file avfvideosink.mm.
References m_sink, reconfigure(), and AVFVideoSink::setVideoSinkInterface().
Referenced by AVFMediaPlayer::setVideoSink().
|
inline |
Definition at line 70 of file avfvideosink_p.h.
References m_textureCacheMutex.
void AVFVideoSinkInterface::updateLayerBounds | ( | ) |
Definition at line 213 of file avfvideosink.mm.
References begin(), m_layer, and nativeSize().
Referenced by nativeSizeChanged().
CVMetalTextureCacheRef AVFVideoSinkInterface::cvMetalTextureCache = nullptr |
Definition at line 78 of file avfvideosink_p.h.
Referenced by setRhi().
|
protected |
Definition at line 91 of file avfvideosink_p.h.
Referenced by ~AVFVideoSinkInterface(), AVFCameraRenderer::reconfigure(), AVFVideoRendererControl::reconfigure(), setLayer(), AVFVideoRendererControl::setLayer(), and updateLayerBounds().
|
protected |
Definition at line 92 of file avfvideosink_p.h.
Referenced by ~AVFVideoSinkInterface(), AVFCaptureFramesDelegate::captureOutput:didOutputSampleBuffer:fromConnection:, setOutputSettings(), and AVFCameraRenderer::setOutputSettings().
Definition at line 90 of file avfvideosink_p.h.
Referenced by rhi(), setOutputSettings(), and setRhi().
|
protected |
Definition at line 89 of file avfvideosink_p.h.
Referenced by nativeSize(), AVFCameraRenderer::reconfigure(), AVFVideoRendererControl::setLayer(), AVFVideoRendererControl::setSubtitleText(), and setVideoSink().
|
protected |
Definition at line 93 of file avfvideosink_p.h.
Referenced by setRhi(), and textureCacheMutex().