#include <mythpainter_vdpau.h>
Public Member Functions | |
| MythVDPAUPainter (MythRenderVDPAU *render=NULL) | |
| ~MythVDPAUPainter () | |
| void | SetTarget (uint target) |
| void | SetSwapControl (bool swap) |
| virtual QString | GetName (void) |
| virtual bool | SupportsAnimation (void) |
| virtual bool | SupportsAlpha (void) |
| virtual bool | SupportsClipping (void) |
| virtual void | FreeResources (void) |
| virtual void | Begin (QPaintDevice *parent) |
| virtual void | End () |
| virtual void | DrawImage (const QRect &dest, MythImage *im, const QRect &src, int alpha) |
Protected Member Functions | |
| virtual MythImage * | GetFormatImagePriv (void) |
| virtual void | DeleteFormatImagePriv (MythImage *im) |
| bool | InitVDPAU (QPaintDevice *parent) |
| void | Teardown (void) |
| void | ClearCache (void) |
| void | DeleteBitmaps (void) |
| uint | GetTextureFromCache (MythImage *im) |
Protected Attributes | |
| MythRenderVDPAU * | m_render |
| bool | m_created_render |
| uint | m_target |
| bool | m_swap_control |
| QMap< MythImage *, uint32_t > | m_ImageBitmapMap |
| std::list< MythImage * > | m_ImageExpireList |
| std::list< uint32_t > | m_bitmapDeleteList |
| QMutex | m_bitmapDeleteLock |
Definition at line 13 of file mythpainter_vdpau.h.
| MythVDPAUPainter::MythVDPAUPainter | ( | MythRenderVDPAU * | render = NULL |
) |
Definition at line 21 of file mythpainter_vdpau.cpp.
| MythVDPAUPainter::~MythVDPAUPainter | ( | ) |
Definition at line 29 of file mythpainter_vdpau.cpp.
| void MythVDPAUPainter::SetTarget | ( | uint | target | ) | [inline] |
Definition at line 19 of file mythpainter_vdpau.h.
| void MythVDPAUPainter::SetSwapControl | ( | bool | swap | ) | [inline] |
Definition at line 20 of file mythpainter_vdpau.h.
Referenced by VideoOutputVDPAU::InitRender().
| virtual QString MythVDPAUPainter::GetName | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Definition at line 22 of file mythpainter_vdpau.h.
| virtual bool MythVDPAUPainter::SupportsAnimation | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Definition at line 23 of file mythpainter_vdpau.h.
| virtual bool MythVDPAUPainter::SupportsAlpha | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Definition at line 24 of file mythpainter_vdpau.h.
| virtual bool MythVDPAUPainter::SupportsClipping | ( | void | ) | [inline, virtual] |
Implements MythPainter.
Definition at line 25 of file mythpainter_vdpau.h.
| void MythVDPAUPainter::FreeResources | ( | void | ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 73 of file mythpainter_vdpau.cpp.
Referenced by Teardown().
| void MythVDPAUPainter::Begin | ( | QPaintDevice * | parent | ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 79 of file mythpainter_vdpau.cpp.
| void MythVDPAUPainter::End | ( | void | ) | [virtual] |
Reimplemented from MythPainter.
Definition at line 102 of file mythpainter_vdpau.cpp.
| void MythVDPAUPainter::DrawImage | ( | const QRect & | dest, | |
| MythImage * | im, | |||
| const QRect & | src, | |||
| int | alpha | |||
| ) | [virtual] |
Implements MythPainter.
Definition at line 136 of file mythpainter_vdpau.cpp.
| virtual MythImage* MythVDPAUPainter::GetFormatImagePriv | ( | void | ) | [inline, protected, virtual] |
Implements MythPainter.
Definition at line 34 of file mythpainter_vdpau.h.
| void MythVDPAUPainter::DeleteFormatImagePriv | ( | MythImage * | im | ) | [protected, virtual] |
Implements MythPainter.
Definition at line 145 of file mythpainter_vdpau.cpp.
Referenced by GetTextureFromCache().
| bool MythVDPAUPainter::InitVDPAU | ( | QPaintDevice * | parent | ) | [protected] |
Definition at line 34 of file mythpainter_vdpau.cpp.
Referenced by Begin().
| void MythVDPAUPainter::Teardown | ( | void | ) | [protected] |
Definition at line 55 of file mythpainter_vdpau.cpp.
Referenced by InitVDPAU(), and ~MythVDPAUPainter().
| void MythVDPAUPainter::ClearCache | ( | void | ) | [protected] |
Definition at line 109 of file mythpainter_vdpau.cpp.
Referenced by Begin(), and FreeResources().
| void MythVDPAUPainter::DeleteBitmaps | ( | void | ) | [protected] |
Definition at line 124 of file mythpainter_vdpau.cpp.
Referenced by Begin(), FreeResources(), and GetTextureFromCache().
Definition at line 156 of file mythpainter_vdpau.cpp.
Referenced by DrawImage().
MythRenderVDPAU* MythVDPAUPainter::m_render [protected] |
Definition at line 43 of file mythpainter_vdpau.h.
Referenced by Begin(), DeleteBitmaps(), DrawImage(), End(), GetTextureFromCache(), InitVDPAU(), MythVDPAUPainter(), and Teardown().
bool MythVDPAUPainter::m_created_render [protected] |
Definition at line 44 of file mythpainter_vdpau.h.
Referenced by InitVDPAU(), MythVDPAUPainter(), and Teardown().
uint MythVDPAUPainter::m_target [protected] |
Definition at line 45 of file mythpainter_vdpau.h.
Referenced by Begin(), and DrawImage().
bool MythVDPAUPainter::m_swap_control [protected] |
Definition at line 46 of file mythpainter_vdpau.h.
QMap<MythImage *, uint32_t> MythVDPAUPainter::m_ImageBitmapMap [protected] |
Definition at line 48 of file mythpainter_vdpau.h.
Referenced by ClearCache(), DeleteFormatImagePriv(), GetTextureFromCache(), and Teardown().
std::list<MythImage *> MythVDPAUPainter::m_ImageExpireList [protected] |
Definition at line 49 of file mythpainter_vdpau.h.
Referenced by ClearCache(), DeleteFormatImagePriv(), GetTextureFromCache(), and Teardown().
std::list<uint32_t> MythVDPAUPainter::m_bitmapDeleteList [protected] |
Definition at line 50 of file mythpainter_vdpau.h.
Referenced by ClearCache(), DeleteBitmaps(), DeleteFormatImagePriv(), and Teardown().
QMutex MythVDPAUPainter::m_bitmapDeleteLock [protected] |
Definition at line 51 of file mythpainter_vdpau.h.
Referenced by ClearCache(), DeleteBitmaps(), and DeleteFormatImagePriv().
1.6.3