MythTV
master
|
#include <mythmediacodecinterop.h>
Public Member Functions | |
virtual std::vector< MythVideoTextureOpenGL * > | Acquire (MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan) override |
void * | GetSurface (void) |
![]() | |
~MythOpenGLInterop () override | |
![]() | |
MythInteropGPU (MythRender *Context, InteropType Type, MythPlayerUI *Player=nullptr) | |
~MythInteropGPU () override | |
InteropType | GetType () |
MythPlayerUI * | GetPlayer () |
void | SetDefaultFree (FreeAVHWDeviceContext FreeContext) |
void | SetDefaultUserOpaque (void *UserOpaque) |
FreeAVHWDeviceContext | GetDefaultFree () |
void * | GetDefaultUserOpaque () |
![]() | |
ReferenceCounter (const QString &debugName, bool logDebug=true) | |
Creates reference counter with an initial value of 1. More... | |
virtual int | IncrRef (void) |
Increments reference count. More... | |
virtual int | DecrRef (void) |
Decrements reference count and deletes on 0. More... | |
Static Public Member Functions | |
static MythMediaCodecInterop * | CreateMediaCodec (MythPlayerUI *Player, MythRenderOpenGL *Context, QSize Size) |
![]() | |
static void | GetTypes (MythRender *Render, MythInteropGPU::InteropMap &Types) |
static std::vector< MythVideoTextureOpenGL * > | Retrieve (MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan) |
![]() | |
static InteropMap | GetTypes (MythRender *Render) |
static QString | TypeToString (InteropType Type) |
static QString | TypesToString (const InteropMap &Types) |
static MythInteropGPU * | CreateDummy () |
![]() | |
static void | PrintDebug (void) |
Print out any leaks if that level of debugging is enabled. More... | |
Protected Member Functions | |
MythMediaCodecInterop (MythPlayerUI *Player, MythRenderOpenGL *Context) | |
~MythMediaCodecInterop () override | |
bool | Initialise (QSize Size) |
![]() | |
MythOpenGLInterop (MythRenderOpenGL *Context, InteropType Type, MythPlayerUI *Player=nullptr) | |
virtual void | DeleteTextures () |
![]() | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Private Attributes | |
QWaitCondition | m_frameWait |
QMutex | m_frameWaitLock |
bool | m_colourSpaceInitialised |
QAndroidJniObject | m_surface |
QAndroidJniObject | m_surfaceTexture |
QAndroidJniObject | m_surfaceListener |
jfloatArray | m_textureTransform |
QMatrix4x4 | m_transform |
Definition at line 21 of file mythmediacodecinterop.h.
|
protected |
Definition at line 30 of file mythmediacodecinterop.cpp.
Referenced by CreateMediaCodec().
|
overrideprotected |
Definition at line 46 of file mythmediacodecinterop.cpp.
|
static |
Definition at line 14 of file mythmediacodecinterop.cpp.
Referenced by MythMediaCodecContext::InitialiseDecoder().
|
overridevirtual |
Reimplemented from MythOpenGLInterop.
Definition at line 117 of file mythmediacodecinterop.cpp.
void * MythMediaCodecInterop::GetSurface | ( | void | ) |
Definition at line 51 of file mythmediacodecinterop.cpp.
|
protected |
Definition at line 63 of file mythmediacodecinterop.cpp.
|
private |
Definition at line 36 of file mythmediacodecinterop.h.
Referenced by Acquire(), and Initialise().
|
private |
Definition at line 37 of file mythmediacodecinterop.h.
Referenced by Acquire().
|
private |
Definition at line 38 of file mythmediacodecinterop.h.
Referenced by Acquire().
|
private |
Definition at line 39 of file mythmediacodecinterop.h.
Referenced by GetSurface(), and Initialise().
|
private |
Definition at line 40 of file mythmediacodecinterop.h.
Referenced by Acquire(), and Initialise().
|
private |
Definition at line 41 of file mythmediacodecinterop.h.
Referenced by Initialise().
|
private |
Definition at line 42 of file mythmediacodecinterop.h.
Referenced by Acquire(), MythMediaCodecInterop(), and ~MythMediaCodecInterop().
|
private |
Definition at line 43 of file mythmediacodecinterop.h.
Referenced by Acquire().