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>.
Loading...
Searching...
No Matches
QGstreamerBufferProbe Class Reference

#include <qgstreamerbufferprobe_p.h>

+ Inheritance diagram for QGstreamerBufferProbe:
+ Collaboration diagram for QGstreamerBufferProbe:

Public Types

enum  Flags { ProbeCaps = 0x01 , ProbeBuffers = 0x02 , ProbeAll = ProbeCaps | ProbeBuffers }
 

Public Member Functions

 QGstreamerBufferProbe (Flags flags=ProbeAll)
 
virtual ~QGstreamerBufferProbe ()
 
void addProbeToPad (GstPad *pad, bool downstream=true)
 
void removeProbeFromPad (GstPad *pad)
 

Protected Member Functions

virtual void probeCaps (GstCaps *caps)
 
virtual bool probeBuffer (GstBuffer *buffer)
 

Detailed Description

Definition at line 26 of file qgstreamerbufferprobe_p.h.

Member Enumeration Documentation

◆ Flags

Enumerator
ProbeCaps 
ProbeBuffers 
ProbeAll 

Definition at line 29 of file qgstreamerbufferprobe_p.h.

Constructor & Destructor Documentation

◆ QGstreamerBufferProbe()

QT_BEGIN_NAMESPACE QGstreamerBufferProbe::QGstreamerBufferProbe ( Flags flags = ProbeAll)
explicit

Definition at line 10 of file qgstreamerbufferprobe.cpp.

◆ ~QGstreamerBufferProbe()

QGstreamerBufferProbe::~QGstreamerBufferProbe ( )
virtualdefault

Member Function Documentation

◆ addProbeToPad()

void QGstreamerBufferProbe::addProbeToPad ( GstPad * pad,
bool downstream = true )

Definition at line 17 of file qgstreamerbufferprobe.cpp.

References QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef, ProbeBuffers, ProbeCaps, and probeCaps().

Referenced by QGstreamerVideoOverlay::setVideoSink().

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

◆ probeBuffer()

bool QGstreamerBufferProbe::probeBuffer ( GstBuffer * buffer)
protectedvirtual

Reimplemented in QGstreamerImageCapture.

Definition at line 59 of file qgstreamerbufferprobe.cpp.

◆ probeCaps()

void QGstreamerBufferProbe::probeCaps ( GstCaps * caps)
protectedvirtual

Reimplemented in QGstreamerVideoOverlay.

Definition at line 55 of file qgstreamerbufferprobe.cpp.

Referenced by addProbeToPad().

+ Here is the caller graph for this function:

◆ removeProbeFromPad()

void QGstreamerBufferProbe::removeProbeFromPad ( GstPad * pad)

Definition at line 43 of file qgstreamerbufferprobe.cpp.

Referenced by QGstreamerVideoOverlay::~QGstreamerVideoOverlay().

+ Here is the caller graph for this function:

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