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.cpp File Reference

(f0cb688d9ef1da00d95699efaf11aff384f77063)

#include "evrhelpers_p.h"
#include <cguid.h>
Include dependency graph for evrhelpers.cpp:

Go to the source code of this file.

Macros

#define D3DFMT_YV12   (D3DFORMAT)MAKEFOURCC ('Y', 'V', '1', '2')
#define D3DFMT_NV12   (D3DFORMAT)MAKEFOURCC ('N', 'V', '1', '2')

Functions

QT_BEGIN_NAMESPACE 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)
QVideoFrameFormat::PixelFormat qt_evr_pixelFormatFromD3DFormat (DWORD format)
D3DFORMAT qt_evr_D3DFormatFromPixelFormat (QVideoFrameFormat::PixelFormat format)

Macro Definition Documentation

◆ D3DFMT_NV12

#define D3DFMT_NV12   (D3DFORMAT)MAKEFOURCC ('N', 'V', '1', '2')

Definition at line 12 of file evrhelpers.cpp.

◆ D3DFMT_YV12

#define D3DFMT_YV12   (D3DFORMAT)MAKEFOURCC ('Y', 'V', '1', '2')

Definition at line 9 of file evrhelpers.cpp.

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()

QT_BEGIN_NAMESPACE HRESULT qt_evr_getFourCC ( IMFMediaType * type,
DWORD * fourCC )

Definition at line 17 of file evrhelpers.cpp.

◆ qt_evr_isSampleTimePassed()

bool qt_evr_isSampleTimePassed ( IMFClock * clock,
IMFSample * sample )

Definition at line 59 of file evrhelpers.cpp.

◆ qt_evr_pixelFormatFromD3DFormat()

QVideoFrameFormat::PixelFormat qt_evr_pixelFormatFromD3DFormat ( DWORD format)

Definition at line 86 of file evrhelpers.cpp.

◆ qt_evr_validateVideoArea()

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

Definition at line 47 of file evrhelpers.cpp.