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
evrhelpers_p.h File Reference

(0675a8bd88958b06d3c6bb150389d9bc55c1c83d)

#include <qvideoframe.h>
#include <d3d9.h>
#include <dxva2api.h>
#include <evr9.h>
#include <evr.h>
#include <mfidl.h>
#include <mfapi.h>
#include <mferror.h>
#include <QtCore/private/quniquehandle_types_p.h>
Include dependency graph for evrhelpers_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using EventHandle = QUniqueWin32NullHandle
using ThreadHandle = QUniqueWin32NullHandle

Functions

template<class T>
static QT_BEGIN_NAMESPACE void qt_evr_safe_release (T **unk)
HRESULT qt_evr_getFourCC (IMFMediaType *type, DWORD *fourCC)
bool qt_evr_areMediaTypesEqual (IMFMediaType *type1, IMFMediaType *type2)
HRESULT qt_evr_validateVideoArea (const MFVideoArea &area, UINT32 width, UINT32 height)
bool qt_evr_isSampleTimePassed (IMFClock *clock, IMFSample *sample)
float qt_evr_MFOffsetToFloat (const MFOffset &offset)
MFOffset qt_evr_makeMFOffset (float v)
MFVideoArea qt_evr_makeMFArea (float x, float y, DWORD width, DWORD height)
HRESULT qt_evr_getFrameRate (IMFMediaType *pType, MFRatio *pRatio)
QVideoFrameFormat::PixelFormat qt_evr_pixelFormatFromD3DFormat (DWORD format)
D3DFORMAT qt_evr_D3DFormatFromPixelFormat (QVideoFrameFormat::PixelFormat format)

Typedef Documentation

◆ EventHandle

using EventHandle = QUniqueWin32NullHandle

Definition at line 80 of file evrhelpers_p.h.

◆ ThreadHandle

using ThreadHandle = QUniqueWin32NullHandle

Definition at line 81 of file evrhelpers_p.h.

Function Documentation

◆ qt_evr_areMediaTypesEqual()

bool qt_evr_areMediaTypesEqual ( IMFMediaType * type1,
IMFMediaType * type2 )

Definition at line 34 of file evrhelpers.cpp.

◆ qt_evr_D3DFormatFromPixelFormat()

D3DFORMAT qt_evr_D3DFormatFromPixelFormat ( QVideoFrameFormat::PixelFormat format)

Definition at line 113 of file evrhelpers.cpp.

◆ qt_evr_getFourCC()

HRESULT qt_evr_getFourCC ( IMFMediaType * type,
DWORD * fourCC )

Definition at line 17 of file evrhelpers.cpp.

◆ qt_evr_getFrameRate()

HRESULT qt_evr_getFrameRate ( IMFMediaType * pType,
MFRatio * pRatio )
inline

Definition at line 70 of file evrhelpers_p.h.

◆ qt_evr_isSampleTimePassed()

bool qt_evr_isSampleTimePassed ( IMFClock * clock,
IMFSample * sample )

Definition at line 59 of file evrhelpers.cpp.

◆ qt_evr_makeMFArea()

MFVideoArea qt_evr_makeMFArea ( float x,
float y,
DWORD width,
DWORD height )
inline

Definition at line 60 of file evrhelpers_p.h.

◆ qt_evr_makeMFOffset()

MFOffset qt_evr_makeMFOffset ( float v)
inline

Definition at line 52 of file evrhelpers_p.h.

◆ qt_evr_MFOffsetToFloat()

float qt_evr_MFOffsetToFloat ( const MFOffset & offset)
inline

Definition at line 47 of file evrhelpers_p.h.

◆ qt_evr_pixelFormatFromD3DFormat()

QVideoFrameFormat::PixelFormat qt_evr_pixelFormatFromD3DFormat ( DWORD format)

Definition at line 86 of file evrhelpers.cpp.

◆ qt_evr_safe_release()

template<class T>
QT_BEGIN_NAMESPACE void qt_evr_safe_release ( T ** unk)
inlinestatic

Definition at line 31 of file evrhelpers_p.h.

◆ qt_evr_validateVideoArea()

HRESULT qt_evr_validateVideoArea ( const MFVideoArea & area,
UINT32 width,
UINT32 height )

Definition at line 47 of file evrhelpers.cpp.