Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
AVFVideoSinkInterface Class Referenceabstract

#include <avfvideosink_p.h>

Inheritance diagram for AVFVideoSinkInterface:
Collaboration diagram for AVFVideoSinkInterface:

Public Member Functions

 ~AVFVideoSinkInterface ()
void setVideoSink (AVFVideoSink *sink)
virtual void reconfigure ()=0
virtual void setRhi (QRhi *)
virtual void setLayer (CALayer *layer)
virtual void setOutputSettings ()
QRhirhi () const
void updateLayerBounds ()
void nativeSizeChanged ()
QSize nativeSize () const

Public Attributes

QCFType< CVMetalTextureCacheRef > cvMetalTextureCache

Protected Attributes

AVFVideoSinkm_sink = nullptr
QRhim_rhi = nullptr
CALayer * m_layer = nullptr
NSDictionary * m_outputSettings = nullptr

Detailed Description

Definition at line 58 of file avfvideosink_p.h.

Constructor & Destructor Documentation

◆ ~AVFVideoSinkInterface()

AVFVideoSinkInterface::~AVFVideoSinkInterface ( )

Definition at line 48 of file avfvideosink.mm.

Member Function Documentation

◆ nativeSize()

QSize AVFVideoSinkInterface::nativeSize ( ) const
inline

Definition at line 75 of file avfvideosink_p.h.

References m_sink.

◆ nativeSizeChanged()

void AVFVideoSinkInterface::nativeSizeChanged ( )
inline

Definition at line 74 of file avfvideosink_p.h.

References updateLayerBounds().

Referenced by AVFCameraRenderer::reconfigure(), AVFVideoRendererControl::reconfigure(), and AVFVideoSink::setNativeSize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reconfigure()

virtual void AVFVideoSinkInterface::reconfigure ( )
pure virtual

Implemented in AVFCameraRenderer, and AVFVideoRendererControl.

Referenced by setVideoSink().

Here is the caller graph for this function:

◆ rhi()

QRhi * AVFVideoSinkInterface::rhi ( ) const
inline

Definition at line 71 of file avfvideosink_p.h.

◆ setLayer()

void AVFVideoSinkInterface::setLayer ( CALayer * layer)
virtual

Reimplemented in AVFVideoRendererControl.

Definition at line 145 of file avfvideosink.mm.

◆ setOutputSettings()

void AVFVideoSinkInterface::setOutputSettings ( )
virtual

Reimplemented in AVFCameraRenderer.

Definition at line 160 of file avfvideosink.mm.

Referenced by AVFCameraRenderer::setOutputSettings(), and setRhi().

Here is the caller graph for this function:

◆ setRhi()

void AVFVideoSinkInterface::setRhi ( QRhi * rhi)
virtual

Definition at line 83 of file avfvideosink.mm.

References setOutputSettings().

Here is the call graph for this function:

◆ setVideoSink()

void AVFVideoSinkInterface::setVideoSink ( AVFVideoSink * sink)

Definition at line 67 of file avfvideosink.mm.

References m_sink, reconfigure(), and AVFVideoSink::setVideoSinkInterface().

Referenced by AVFMediaPlayer::setVideoSink().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateLayerBounds()

void AVFVideoSinkInterface::updateLayerBounds ( )

Definition at line 202 of file avfvideosink.mm.

Referenced by nativeSizeChanged().

Here is the caller graph for this function:

Member Data Documentation

◆ cvMetalTextureCache

QCFType<CVMetalTextureCacheRef> AVFVideoSinkInterface::cvMetalTextureCache

Definition at line 77 of file avfvideosink_p.h.

◆ m_layer

CALayer* AVFVideoSinkInterface::m_layer = nullptr
protected

Definition at line 90 of file avfvideosink_p.h.

◆ m_outputSettings

NSDictionary* AVFVideoSinkInterface::m_outputSettings = nullptr
protected

Definition at line 91 of file avfvideosink_p.h.

◆ m_rhi

QRhi* AVFVideoSinkInterface::m_rhi = nullptr
protected

Definition at line 89 of file avfvideosink_p.h.

◆ m_sink

AVFVideoSink* AVFVideoSinkInterface::m_sink = nullptr
protected

The documentation for this class was generated from the following files: