#include <mythrender_d3d9.h>
Public Member Functions | |
| D3D9Image (MythRenderD3D9 *render, QSize size, bool video=false) | |
| ~D3D9Image () | |
| bool | IsValid (void) const |
| QSize | GetSize (void) const |
| int | GetDataSize (void) const |
| bool | SetAsRenderTarget (void) |
| bool | UpdateImage (IDirect3DSurface9 *surface) |
| bool | UpdateImage (const MythImage *img) |
| bool | UpdateVertices (const QRect &dvr, const QRect &vr, int alpha=255, bool video=false) |
| bool | Draw (void) |
| uint8_t * | GetBuffer (bool &hardware_conv, uint &pitch) |
| void | ReleaseBuffer (void) |
| QRect | GetRect (void) |
Private Attributes | |
| QSize | m_size |
| bool | m_valid |
| MythRenderD3D9 * | m_render |
| IDirect3DVertexBuffer9 * | m_vertexbuffer |
| IDirect3DTexture9 * | m_texture |
| IDirect3DSurface9 * | m_surface |
Definition at line 23 of file mythrender_d3d9.h.
| D3D9Image::D3D9Image | ( | MythRenderD3D9 * | render, | |
| QSize | size, | |||
| bool | video = false | |||
| ) |
Definition at line 65 of file mythrender_d3d9.cpp.
| D3D9Image::~D3D9Image | ( | ) |
Definition at line 78 of file mythrender_d3d9.cpp.
| bool D3D9Image::IsValid | ( | void | ) | const [inline] |
Definition at line 29 of file mythrender_d3d9.h.
Referenced by MythD3D9Painter::GetImageFromCache(), VideoOutputD3D::SetupContext(), and VideoOutputD3D::ShowPIP().
| QSize D3D9Image::GetSize | ( | void | ) | const [inline] |
Definition at line 30 of file mythrender_d3d9.h.
Referenced by VideoOutputD3D::ShowPIP().
| int D3D9Image::GetDataSize | ( | void | ) | const [inline] |
Definition at line 31 of file mythrender_d3d9.h.
Referenced by MythD3D9Painter::DeleteBitmaps(), and MythD3D9Painter::GetImageFromCache().
| bool D3D9Image::SetAsRenderTarget | ( | void | ) |
Definition at line 91 of file mythrender_d3d9.cpp.
Referenced by MythD3D9Painter::Begin().
| bool D3D9Image::UpdateImage | ( | IDirect3DSurface9 * | surface | ) |
Definition at line 98 of file mythrender_d3d9.cpp.
Referenced by MythRenderD3D9::CopyFrame(), and MythD3D9Painter::GetImageFromCache().
Definition at line 105 of file mythrender_d3d9.cpp.
| bool D3D9Image::UpdateVertices | ( | const QRect & | dvr, | |
| const QRect & | vr, | |||
| int | alpha = 255, |
|||
| bool | video = false | |||
| ) |
Definition at line 116 of file mythrender_d3d9.cpp.
Referenced by MythD3D9Painter::DrawImage(), VideoOutputD3D::PrepareFrame(), and VideoOutputD3D::ShowPIP().
| bool D3D9Image::Draw | ( | void | ) |
Definition at line 125 of file mythrender_d3d9.cpp.
Referenced by MythD3D9Painter::DrawImage(), and VideoOutputD3D::PrepareFrame().
Definition at line 132 of file mythrender_d3d9.cpp.
Referenced by VideoOutputD3D::UpdateFrame().
| void D3D9Image::ReleaseBuffer | ( | void | ) |
Definition at line 141 of file mythrender_d3d9.cpp.
Referenced by VideoOutputD3D::UpdateFrame().
| QRect D3D9Image::GetRect | ( | void | ) |
Definition at line 149 of file mythrender_d3d9.cpp.
QSize D3D9Image::m_size [private] |
Definition at line 43 of file mythrender_d3d9.h.
Referenced by D3D9Image().
bool D3D9Image::m_valid [private] |
Definition at line 44 of file mythrender_d3d9.h.
Referenced by D3D9Image(), Draw(), GetBuffer(), GetRect(), ReleaseBuffer(), SetAsRenderTarget(), UpdateImage(), and UpdateVertices().
MythRenderD3D9* D3D9Image::m_render [private] |
Definition at line 45 of file mythrender_d3d9.h.
Referenced by D3D9Image(), Draw(), GetBuffer(), GetRect(), ReleaseBuffer(), SetAsRenderTarget(), UpdateImage(), UpdateVertices(), and ~D3D9Image().
IDirect3DVertexBuffer9* D3D9Image::m_vertexbuffer [private] |
Definition at line 46 of file mythrender_d3d9.h.
Referenced by D3D9Image(), Draw(), GetRect(), UpdateVertices(), and ~D3D9Image().
IDirect3DTexture9* D3D9Image::m_texture [private] |
Definition at line 47 of file mythrender_d3d9.h.
Referenced by D3D9Image(), ReleaseBuffer(), SetAsRenderTarget(), UpdateImage(), and ~D3D9Image().
IDirect3DSurface9* D3D9Image::m_surface [private] |
Definition at line 48 of file mythrender_d3d9.h.
Referenced by D3D9Image(), GetBuffer(), ReleaseBuffer(), UpdateImage(), and ~D3D9Image().
1.6.3