My Project
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CMemAllocator Class Reference
Inheritance diagram for CMemAllocator:
CBaseAllocator CUnknown CCritSec CBaseObject

Public Member Functions

STDMETHODIMP SetProperties (ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
 
 CMemAllocator (TCHAR *, LPUNKNOWN, HRESULT *)
 
- Public Member Functions inherited from CBaseAllocator
 CBaseAllocator (TCHAR *, LPUNKNOWN, HRESULT *, BOOL bEvent=TRUE, BOOL fEnableReleaseCallback=FALSE)
 
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 
STDMETHODIMP SetProperties (ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
 
STDMETHODIMP GetProperties (ALLOCATOR_PROPERTIES *pProps)
 
STDMETHODIMP Commit ()
 
STDMETHODIMP Decommit ()
 
STDMETHODIMP GetBuffer (IMediaSample **ppBuffer, REFERENCE_TIME *pStartTime, REFERENCE_TIME *pEndTime, DWORD dwFlags)
 
STDMETHODIMP ReleaseBuffer (IMediaSample *pBuffer)
 
STDMETHODIMP SetNotify (IMemAllocatorNotifyCallbackTemp *pNotify)
 
STDMETHODIMP GetFreeCount (LONG *plBuffersFree)
 
void NotifySample ()
 
void SetWaiting ()
 
- Public Member Functions inherited from CUnknown
 CUnknown (const TCHAR *pName, LPUNKNOWN pUnk)
 
 CUnknown (TCHAR *pName, LPUNKNOWN pUnk, HRESULT *phr)
 
LPUNKNOWN GetOwner () const
 
STDMETHODIMP NonDelegatingQueryInterface (REFIID, void **)
 
 STDMETHODIMP_ (ULONG) NonDelegatingAddRef()
 
 STDMETHODIMP_ (ULONG) NonDelegatingRelease()
 
- Public Member Functions inherited from CBaseObject
 CBaseObject (const TCHAR *pName)
 
- Public Member Functions inherited from CCritSec
void Lock ()
 
void Unlock ()
 

Static Public Member Functions

static CUnknownCreateInstance (LPUNKNOWN, HRESULT *)
 
- Static Public Member Functions inherited from CBaseObject
static LONG ObjectsActive ()
 

Protected Member Functions

void Free (void)
 
void ReallyFree (void)
 
HRESULT Alloc (void)
 

Protected Attributes

LPBYTE m_pBuffer
 
- Protected Attributes inherited from CBaseAllocator
CSampleList m_lFree
 
HANDLE m_hSem
 
long m_lWaiting
 
long m_lCount
 
long m_lAllocated
 
long m_lSize
 
long m_lAlignment
 
long m_lPrefix
 
BOOL m_bChanged
 
BOOL m_bCommitted
 
BOOL m_bDecommitInProgress
 
IMemAllocatorNotifyCallbackTemp * m_pNotify
 
BOOL m_fEnableReleaseCallback
 
- Protected Attributes inherited from CUnknown
volatile LONG m_cRef
 

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