MythTV  master
Classes | Macros | Typedefs | Functions
mythrender_d3d9.cpp File Reference
#include <algorithm>
#include <QLibrary>
#include <QRect>
#include <QMap>
#include <QMutex>
#include "libmythbase/mythlogging.h"
#include "mythrender_d3d9.h"
Include dependency graph for mythrender_d3d9.cpp:

Go to the source code of this file.

Classes

struct  TEXTUREVERTEX
 
struct  VERTEX
 

Macros

#define _WIN32_WINNT   0x500
 
#define DXVA2_E_NEW_VIDEO_DEVICE   MAKE_HRESULT(1, 4, 4097)
 
#define mD3DFMT_YV12   (D3DFORMAT)MAKEFOURCC('Y','V','1','2')
 
#define mD3DFMT_IYUV   (D3DFORMAT)MAKEFOURCC('I','Y','U','V')
 
#define mD3DFMT_I420   (D3DFORMAT)MAKEFOURCC('I','4','2','0')
 
#define mD3DFMT_YV16   (D3DFORMAT)MAKEFOURCC('Y','V','1','6')
 
#define D3DFVF_TEXTUREVERTEX   (D3DFVF_XYZRHW|D3DFVF_DIFFUSE|D3DFVF_TEX1|D3DFVF_TEX2)
 
#define D3DFVF_VERTEX   (D3DFVF_XYZRHW|D3DFVF_DIFFUSE)
 
#define D3DLOC   QString("MythRenderD3D9: ")
 

Typedefs

using CreateDeviceManager9Ptr = HRESULT(WINAPI *)(UINT *pResetToken, IDirect3DDeviceManager9 **)
 

Functions

static const QString toString (D3DFORMAT fmt)
 

Macro Definition Documentation

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x500

Definition at line 1 of file mythrender_d3d9.cpp.

◆ DXVA2_E_NEW_VIDEO_DEVICE

#define DXVA2_E_NEW_VIDEO_DEVICE   MAKE_HRESULT(1, 4, 4097)

Definition at line 14 of file mythrender_d3d9.cpp.

◆ mD3DFMT_YV12

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

Definition at line 128 of file mythrender_d3d9.cpp.

◆ mD3DFMT_IYUV

#define mD3DFMT_IYUV   (D3DFORMAT)MAKEFOURCC('I','Y','U','V')

Definition at line 129 of file mythrender_d3d9.cpp.

◆ mD3DFMT_I420

#define mD3DFMT_I420   (D3DFORMAT)MAKEFOURCC('I','4','2','0')

Definition at line 130 of file mythrender_d3d9.cpp.

◆ mD3DFMT_YV16

#define mD3DFMT_YV16   (D3DFORMAT)MAKEFOURCC('Y','V','1','6')

Definition at line 131 of file mythrender_d3d9.cpp.

◆ D3DFVF_TEXTUREVERTEX

#define D3DFVF_TEXTUREVERTEX   (D3DFVF_XYZRHW|D3DFVF_DIFFUSE|D3DFVF_TEX1|D3DFVF_TEX2)

Definition at line 132 of file mythrender_d3d9.cpp.

◆ D3DFVF_VERTEX

#define D3DFVF_VERTEX   (D3DFVF_XYZRHW|D3DFVF_DIFFUSE)

Definition at line 133 of file mythrender_d3d9.cpp.

◆ D3DLOC

#define D3DLOC   QString("MythRenderD3D9: ")

Definition at line 134 of file mythrender_d3d9.cpp.

Typedef Documentation

◆ CreateDeviceManager9Ptr

using CreateDeviceManager9Ptr = HRESULT (WINAPI *)(UINT *pResetToken, IDirect3DDeviceManager9 **)

Definition at line 1163 of file mythrender_d3d9.cpp.

Function Documentation

◆ toString()

static const QString toString ( D3DFORMAT  fmt)
static

Definition at line 189 of file mythrender_d3d9.cpp.

Referenced by MythRenderD3D9::Create().