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
Scheduler Class Reference

#include <evrcustompresenter_p.h>

Collaboration diagram for Scheduler:

Public Types

enum  ScheduleEvent { Terminate = WM_USER , Schedule = WM_USER + 1 , Flush = WM_USER + 2 }

Public Member Functions

 Scheduler (EVRCustomPresenter *presenter)
 ~Scheduler ()
void setFrameRate (const MFRatio &fps)
void setClockRate (float rate)
HRESULT startScheduler (ComPtr< IMFClock > clock)
HRESULT stopScheduler ()
HRESULT scheduleSample (const ComPtr< IMFSample > &sample, bool presentNow)
HRESULT processSamplesInQueue (LONG *nextSleep)
HRESULT flush ()
bool areSamplesScheduled ()

Static Public Member Functions

static DWORD WINAPI schedulerThreadProc (LPVOID parameter)

Detailed Description

Definition at line 96 of file evrcustompresenter_p.h.

Member Enumeration Documentation

◆ ScheduleEvent

Enumerator
Terminate 
Schedule 
Flush 

Definition at line 100 of file evrcustompresenter_p.h.

Constructor & Destructor Documentation

◆ Scheduler()

Scheduler::Scheduler ( EVRCustomPresenter * presenter)

Definition at line 76 of file evrcustompresenter.cpp.

References Scheduler().

Referenced by Scheduler().

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

◆ ~Scheduler()

Scheduler::~Scheduler ( )

Definition at line 84 of file evrcustompresenter.cpp.

Member Function Documentation

◆ areSamplesScheduled()

bool Scheduler::areSamplesScheduled ( )

Definition at line 199 of file evrcustompresenter.cpp.

◆ flush()

HRESULT Scheduler::flush ( )

Definition at line 183 of file evrcustompresenter.cpp.

Referenced by testing.tools.encode_pdf_filter._SinkPdfStream::close().

Here is the caller graph for this function:

◆ processSamplesInQueue()

HRESULT Scheduler::processSamplesInQueue ( LONG * nextSleep)

Definition at line 237 of file evrcustompresenter.cpp.

◆ schedulerThreadProc()

DWORD WINAPI Scheduler::schedulerThreadProc ( LPVOID parameter)
static

Definition at line 328 of file evrcustompresenter.cpp.

◆ scheduleSample()

HRESULT Scheduler::scheduleSample ( const ComPtr< IMFSample > & sample,
bool presentNow )

Definition at line 205 of file evrcustompresenter.cpp.

◆ setClockRate()

void Scheduler::setClockRate ( float rate)
inline

Definition at line 111 of file evrcustompresenter_p.h.

◆ setFrameRate()

void Scheduler::setFrameRate ( const MFRatio & fps)

Definition at line 89 of file evrcustompresenter.cpp.

◆ startScheduler()

HRESULT Scheduler::startScheduler ( ComPtr< IMFClock > clock)

Definition at line 100 of file evrcustompresenter.cpp.

◆ stopScheduler()

HRESULT Scheduler::stopScheduler ( )

Definition at line 157 of file evrcustompresenter.cpp.


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