Twitch SDK (Internal)
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
ttv::broadcast::BaseFrameAllocator Class Referenceabstract

#include <intelbaseallocator.h>

Inheritance diagram for ttv::broadcast::BaseFrameAllocator:
ttv::broadcast::MFXFrameAllocator ttv::broadcast::D3DFrameAllocator ttv::broadcast::SysMemFrameAllocator

Classes

class  safe_array
 
struct  UniqueResponse
 

Public Member Functions

 BaseFrameAllocator ()
 
virtual ~BaseFrameAllocator ()
 
virtual mfxStatus Init (mfxAllocatorParams *pParams)=0
 
virtual mfxStatus Close ()
 

Protected Types

typedef std::list< mfxFrameAllocResponse >::iterator Iter
 

Protected Member Functions

virtual mfxStatus AllocFrames (mfxFrameAllocRequest *request, mfxFrameAllocResponse *response)
 
virtual mfxStatus FreeFrames (mfxFrameAllocResponse *response)
 
virtual bool IsSame (const mfxFrameAllocResponse &l, const mfxFrameAllocResponse &r)
 
virtual mfxStatus CheckRequestType (mfxFrameAllocRequest *request)
 
virtual mfxStatus LockFrame (mfxMemId mid, mfxFrameData *ptr)=0
 
virtual mfxStatus UnlockFrame (mfxMemId mid, mfxFrameData *ptr)=0
 
virtual mfxStatus GetFrameHDL (mfxMemId mid, mfxHDL *handle)=0
 
virtual mfxStatus ReleaseResponse (mfxFrameAllocResponse *response)=0
 
virtual mfxStatus AllocImpl (mfxFrameAllocRequest *request, mfxFrameAllocResponse *response)=0
 

Protected Attributes

std::list< mfxFrameAllocResponse > m_responses
 
UniqueResponse m_externalDecoderResponse
 

Static Protected Attributes

static const mfxU32 MEMTYPE_FROM_MASK = MFX_MEMTYPE_FROM_ENCODE | MFX_MEMTYPE_FROM_DECODE | MFX_MEMTYPE_FROM_VPPIN | MFX_MEMTYPE_FROM_VPPOUT
 

Member Typedef Documentation

◆ Iter

typedef std::list<mfxFrameAllocResponse>::iterator ttv::broadcast::BaseFrameAllocator::Iter
protected

Constructor & Destructor Documentation

◆ BaseFrameAllocator()

ttv::broadcast::BaseFrameAllocator::BaseFrameAllocator ( )

◆ ~BaseFrameAllocator()

virtual ttv::broadcast::BaseFrameAllocator::~BaseFrameAllocator ( )
virtual

Member Function Documentation

◆ AllocFrames()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::AllocFrames ( mfxFrameAllocRequest *  request,
mfxFrameAllocResponse *  response 
)
protectedvirtual

◆ AllocImpl()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::AllocImpl ( mfxFrameAllocRequest *  request,
mfxFrameAllocResponse *  response 
)
protectedpure virtual

◆ CheckRequestType()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::CheckRequestType ( mfxFrameAllocRequest *  request)
protectedvirtual

◆ Close()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::Close ( )
virtual

◆ FreeFrames()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::FreeFrames ( mfxFrameAllocResponse *  response)
protectedvirtual

◆ GetFrameHDL()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::GetFrameHDL ( mfxMemId  mid,
mfxHDL *  handle 
)
protectedpure virtual

◆ Init()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::Init ( mfxAllocatorParams pParams)
pure virtual

◆ IsSame()

virtual bool ttv::broadcast::BaseFrameAllocator::IsSame ( const mfxFrameAllocResponse &  l,
const mfxFrameAllocResponse &  r 
)
protectedvirtual

◆ LockFrame()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::LockFrame ( mfxMemId  mid,
mfxFrameData *  ptr 
)
protectedpure virtual

◆ ReleaseResponse()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::ReleaseResponse ( mfxFrameAllocResponse *  response)
protectedpure virtual

◆ UnlockFrame()

virtual mfxStatus ttv::broadcast::BaseFrameAllocator::UnlockFrame ( mfxMemId  mid,
mfxFrameData *  ptr 
)
protectedpure virtual

Member Data Documentation

◆ m_externalDecoderResponse

UniqueResponse ttv::broadcast::BaseFrameAllocator::m_externalDecoderResponse
protected

◆ m_responses

std::list<mfxFrameAllocResponse> ttv::broadcast::BaseFrameAllocator::m_responses
protected

◆ MEMTYPE_FROM_MASK

const mfxU32 ttv::broadcast::BaseFrameAllocator::MEMTYPE_FROM_MASK = MFX_MEMTYPE_FROM_ENCODE | MFX_MEMTYPE_FROM_DECODE | MFX_MEMTYPE_FROM_VPPIN | MFX_MEMTYPE_FROM_VPPOUT
staticprotected

The documentation for this class was generated from the following file: