ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

CKsAllocator Class Reference

Inherits IMemAllocatorCallbackTemp.

Public Types

typedef std::stack
< IMediaSample * > 
MediaSampleStack
typedef std::list< IMediaSample * > MediaSampleList

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 STDMETHODIMP_ (ULONG) AddRef()
 STDMETHODIMP_ (ULONG) Release()
HANDLE STDMETHODCALLTYPE KsGetAllocatorHandle ()
KSALLOCATORMODE STDMETHODCALLTYPE KsGetAllocatorMode ()
HRESULT STDMETHODCALLTYPE KsGetAllocatorStatus (PKSSTREAMALLOCATOR_STATUS AllocatorStatus)
VOID STDMETHODCALLTYPE KsSetAllocatorMode (KSALLOCATORMODE Mode)
PALLOCATOR_PROPERTIES_EX
STDMETHODCALLTYPE 
KsGetProperties ()
VOID STDMETHODCALLTYPE KsSetProperties (PALLOCATOR_PROPERTIES_EX Properties)
VOID STDMETHODCALLTYPE KsSetAllocatorHandle (HANDLE AllocatorHandle)
HANDLE STDMETHODCALLTYPE KsCreateAllocatorAndGetHandle (IKsPin *KsPin)
HRESULT STDMETHODCALLTYPE SetProperties (ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
HRESULT STDMETHODCALLTYPE GetProperties (ALLOCATOR_PROPERTIES *pProps)
HRESULT STDMETHODCALLTYPE Commit ()
HRESULT STDMETHODCALLTYPE Decommit ()
HRESULT STDMETHODCALLTYPE GetBuffer (IMediaSample **ppBuffer, REFERENCE_TIME *pStartTime, REFERENCE_TIME *pEndTime, DWORD dwFlags)
HRESULT STDMETHODCALLTYPE ReleaseBuffer (IMediaSample *pBuffer)
HRESULT STDMETHODCALLTYPE SetNotify (IMemAllocatorNotifyCallbackTemp *pNotify)
HRESULT STDMETHODCALLTYPE GetFreeCount (LONG *plBuffersFree)
 CKsAllocator ()
virtual ~CKsAllocator ()
VOID STDMETHODCALLTYPE FreeMediaSamples ()

Protected Attributes

LONG m_Ref
HANDLE m_hAllocator
KSALLOCATORMODE m_Mode
ALLOCATOR_PROPERTIES_EX m_Properties
IMemAllocatorNotifyCallbackTempm_Notify
ULONG m_Allocated
LONG m_cbBuffer
LONG m_cBuffers
LONG m_cbAlign
LONG m_cbPrefix
BOOL m_Commited
CRITICAL_SECTION m_CriticalSection
MediaSampleStack m_FreeList
MediaSampleList m_UsedList
LPVOID m_Buffer
BOOL m_FreeSamples

Detailed Description

Definition at line 14 of file allocator.cpp.


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

Generated on Sat May 26 2012 06:16:19 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.