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

#include <inteld3dallocator.h>

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

Public Member Functions

 D3DFrameAllocator ()
 
virtual ~D3DFrameAllocator ()
 
virtual mfxStatus Init (mfxAllocatorParams *pParams)
 
virtual mfxStatus Close ()
 
virtual IDirect3DDeviceManager9 * GetDeviceManager ()
 

Protected Types

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

Protected Member Functions

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

Protected Attributes

CComPtr< IDirect3DDeviceManager9 > m_manager
 
CComPtr< IDirectXVideoDecoderService > m_decoderService
 
CComPtr< IDirectXVideoProcessorService > m_processorService
 
HANDLE m_hDecoder
 
HANDLE m_hProcessor
 
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
protectedinherited

Constructor & Destructor Documentation

◆ D3DFrameAllocator()

ttv::broadcast::D3DFrameAllocator::D3DFrameAllocator ( )

◆ ~D3DFrameAllocator()

virtual ttv::broadcast::D3DFrameAllocator::~D3DFrameAllocator ( )
virtual

Member Function Documentation

◆ AllocFrames()

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

◆ AllocImpl()

virtual mfxStatus ttv::broadcast::D3DFrameAllocator::AllocImpl ( mfxFrameAllocRequest *  request,
mfxFrameAllocResponse *  response 
)
protectedvirtual

◆ CheckRequestType()

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

◆ Close()

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

◆ FreeFrames()

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

◆ GetDeviceManager()

virtual IDirect3DDeviceManager9* ttv::broadcast::D3DFrameAllocator::GetDeviceManager ( )
inlinevirtual

◆ GetFrameHDL()

virtual mfxStatus ttv::broadcast::D3DFrameAllocator::GetFrameHDL ( mfxMemId  mid,
mfxHDL *  handle 
)
protectedvirtual

◆ Init()

virtual mfxStatus ttv::broadcast::D3DFrameAllocator::Init ( mfxAllocatorParams pParams)
virtual

◆ IsSame()

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

◆ LockFrame()

virtual mfxStatus ttv::broadcast::D3DFrameAllocator::LockFrame ( mfxMemId  mid,
mfxFrameData *  ptr 
)
protectedvirtual

◆ ReleaseResponse()

virtual mfxStatus ttv::broadcast::D3DFrameAllocator::ReleaseResponse ( mfxFrameAllocResponse *  response)
protectedvirtual

◆ UnlockFrame()

virtual mfxStatus ttv::broadcast::D3DFrameAllocator::UnlockFrame ( mfxMemId  mid,
mfxFrameData *  ptr 
)
protectedvirtual

Member Data Documentation

◆ m_decoderService

CComPtr<IDirectXVideoDecoderService> ttv::broadcast::D3DFrameAllocator::m_decoderService
protected

◆ m_externalDecoderResponse

UniqueResponse ttv::broadcast::BaseFrameAllocator::m_externalDecoderResponse
protectedinherited

◆ m_hDecoder

HANDLE ttv::broadcast::D3DFrameAllocator::m_hDecoder
protected

◆ m_hProcessor

HANDLE ttv::broadcast::D3DFrameAllocator::m_hProcessor
protected

◆ m_manager

CComPtr<IDirect3DDeviceManager9> ttv::broadcast::D3DFrameAllocator::m_manager
protected

◆ m_processorService

CComPtr<IDirectXVideoProcessorService> ttv::broadcast::D3DFrameAllocator::m_processorService
protected

◆ m_responses

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

◆ 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
staticprotectedinherited

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