#include <amfilter.h>

Public Member Functions | |
| STDMETHODIMP | SetProperties (ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual) |
| CMemAllocator (TCHAR *, LPUNKNOWN, HRESULT *) | |
| ~CMemAllocator () | |
Static Public Member Functions | |
| static CUnknown * | CreateInstance (LPUNKNOWN, HRESULT *) |
Protected Member Functions | |
| void | Free (void) |
| void | ReallyFree (void) |
| HRESULT | Alloc (void) |
Protected Attributes | |
| LPBYTE | m_pBuffer |
Definition at line 1297 of file amfilter.h.
| CMemAllocator::~CMemAllocator | ( | ) |
Definition at line 4121 of file amfilter.cpp.
References CBaseAllocator::Decommit(), and ReallyFree().
| void CMemAllocator::Free | ( | void | ) | [protected, virtual] |
| void CMemAllocator::ReallyFree | ( | void | ) | [protected] |
Definition at line 4094 of file amfilter.cpp.
References ASSERT, EXECUTE_ASSERT, CBaseAllocator::CSampleList::GetCount(), CBaseAllocator::m_lAllocated, CBaseAllocator::m_lFree, m_pBuffer, NULL, and CBaseAllocator::CSampleList::RemoveHead().
Referenced by Alloc(), and ~CMemAllocator().
| HRESULT CMemAllocator::Alloc | ( | void | ) | [protected, virtual] |
Reimplemented from CBaseAllocator.
Definition at line 4013 of file amfilter.cpp.
References CBaseAllocator::CSampleList::Add(), CBaseAllocator::Alloc(), ASSERT, E_OUTOFMEMORY, FAILED, FALSE, HRESULT, LONG, CBaseAllocator::m_bChanged, CBaseAllocator::m_lAlignment, CBaseAllocator::m_lAllocated, CBaseAllocator::m_lCount, CBaseAllocator::m_lFree, CBaseAllocator::m_lPrefix, CBaseAllocator::m_lSize, m_pBuffer, NAME, NULL, ReallyFree(), S_FALSE, and S_OK.
| STDMETHODIMP CMemAllocator::SetProperties | ( | ALLOCATOR_PROPERTIES * | pRequest, | |
| ALLOCATOR_PROPERTIES * | pActual | |||
| ) |
Reimplemented from CBaseAllocator.
Definition at line 3953 of file amfilter.cpp.
References ASSERT, CheckPointer, DbgLog, CBaseAllocator::CSampleList::GetCount(), LOG_ERROR, LONG, CBaseAllocator::m_bChanged, CBaseAllocator::m_bCommitted, CBaseAllocator::m_lAlignment, CBaseAllocator::m_lAllocated, CBaseAllocator::m_lCount, CBaseAllocator::m_lFree, CBaseAllocator::m_lPrefix, CBaseAllocator::m_lSize, TRUE, and ValidateReadWritePtr.
LPBYTE CMemAllocator::m_pBuffer [protected] |
1.5.6