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

Go to the source code of this file.

Classes

class  MythD3DVertexBuffer
 
class  MythD3DSurface
 
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

typedef HRESULT(WINAPI * CreateDeviceManager9Ptr) (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 155 of file mythrender_d3d9.cpp.

◆ mD3DFMT_IYUV

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

Definition at line 156 of file mythrender_d3d9.cpp.

◆ mD3DFMT_I420

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

Definition at line 157 of file mythrender_d3d9.cpp.

◆ mD3DFMT_YV16

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

Definition at line 158 of file mythrender_d3d9.cpp.

◆ D3DFVF_TEXTUREVERTEX

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

Definition at line 159 of file mythrender_d3d9.cpp.

◆ D3DFVF_VERTEX

#define D3DFVF_VERTEX   (D3DFVF_XYZRHW|D3DFVF_DIFFUSE)

Definition at line 160 of file mythrender_d3d9.cpp.

◆ D3DLOC

#define D3DLOC   QString("MythRenderD3D9: ")

Definition at line 161 of file mythrender_d3d9.cpp.

Typedef Documentation

◆ CreateDeviceManager9Ptr

typedef HRESULT(WINAPI * CreateDeviceManager9Ptr) (UINT *pResetToken, IDirect3DDeviceManager9 **)

Definition at line 1189 of file mythrender_d3d9.cpp.

Function Documentation

◆ toString()

static const QString toString ( D3DFORMAT  fmt)
static

Definition at line 216 of file mythrender_d3d9.cpp.

Referenced by MythRenderD3D9::Create().