ReactOS 0.4.16-dev-340-g0540c21
|
Public Types | |
typedef std::stack< IMediaSample * > | MediaSampleStack |
typedef std::list< IMediaSample * > | MediaSampleList |
Public Types inherited from IUnknown | |
typedef IUnknown * | LPUNKNOWN |
Protected Attributes | |
LONG | m_Ref |
HANDLE | m_hAllocator |
KSALLOCATORMODE | m_Mode |
ALLOCATOR_PROPERTIES_EX | m_Properties |
IMemAllocatorNotifyCallbackTemp * | m_Notify |
ULONG | m_Allocated |
LONG | m_cbBuffer |
LONG | m_cBuffers |
LONG | m_cbAlign |
LONG | m_cbPrefix |
BOOL | m_Committed |
CRITICAL_SECTION | m_CriticalSection |
MediaSampleStack | m_FreeList |
MediaSampleList | m_UsedList |
LPVOID | m_Buffer |
BOOL | m_FreeSamples |
Definition at line 14 of file allocator.cpp.
typedef std::list<IMediaSample *> CKsAllocator::MediaSampleList |
Definition at line 19 of file allocator.cpp.
typedef std::stack<IMediaSample *> CKsAllocator::MediaSampleStack |
Definition at line 18 of file allocator.cpp.
CKsAllocator::CKsAllocator | ( | ) |
Definition at line 112 of file allocator.cpp.
|
inlinevirtual |
Definition at line 65 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::Commit | ( | void | ) |
Implements IMemAllocator.
Definition at line 212 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::Decommit | ( | void | ) |
Implements IMemAllocator.
Definition at line 305 of file allocator.cpp.
VOID STDMETHODCALLTYPE CKsAllocator::FreeMediaSamples | ( | ) |
Definition at line 578 of file allocator.cpp.
Referenced by Decommit(), and ReleaseBuffer().
HRESULT STDMETHODCALLTYPE CKsAllocator::GetBuffer | ( | IMediaSample ** | ppBuffer, |
REFERENCE_TIME * | pStartTime, | ||
REFERENCE_TIME * | pEndTime, | ||
DWORD | dwFlags | ||
) |
Implements IMemAllocator.
Definition at line 343 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::GetFreeCount | ( | LONG * | plBuffersFree | ) |
Implements IMemAllocatorCallbackTemp.
Definition at line 461 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::GetProperties | ( | ALLOCATOR_PROPERTIES * | pProps | ) |
Implements IMemAllocator.
Definition at line 196 of file allocator.cpp.
HANDLE STDMETHODCALLTYPE CKsAllocator::KsCreateAllocatorAndGetHandle | ( | IKsPin * | KsPin | ) |
Definition at line 529 of file allocator.cpp.
HANDLE STDMETHODCALLTYPE CKsAllocator::KsGetAllocatorHandle | ( | ) |
Definition at line 473 of file allocator.cpp.
KSALLOCATORMODE STDMETHODCALLTYPE CKsAllocator::KsGetAllocatorMode | ( | ) |
Definition at line 480 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::KsGetAllocatorStatus | ( | PKSSTREAMALLOCATOR_STATUS | AllocatorStatus | ) |
Definition at line 487 of file allocator.cpp.
PALLOCATOR_PROPERTIES_EX STDMETHODCALLTYPE CKsAllocator::KsGetProperties | ( | ) |
Definition at line 505 of file allocator.cpp.
VOID STDMETHODCALLTYPE CKsAllocator::KsSetAllocatorHandle | ( | HANDLE | AllocatorHandle | ) |
Definition at line 520 of file allocator.cpp.
VOID STDMETHODCALLTYPE CKsAllocator::KsSetAllocatorMode | ( | KSALLOCATORMODE | Mode | ) |
Definition at line 494 of file allocator.cpp.
VOID STDMETHODCALLTYPE CKsAllocator::KsSetProperties | ( | PALLOCATOR_PROPERTIES_EX | Properties | ) |
Definition at line 512 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::QueryInterface | ( | REFIID | InterfaceId, |
PVOID * | Interface | ||
) |
Definition at line 89 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::ReleaseBuffer | ( | IMediaSample * | pBuffer | ) |
Implements IMemAllocator.
Definition at line 398 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::SetNotify | ( | IMemAllocatorNotifyCallbackTemp * | pNotify | ) |
Implements IMemAllocatorCallbackTemp.
Definition at line 438 of file allocator.cpp.
HRESULT STDMETHODCALLTYPE CKsAllocator::SetProperties | ( | ALLOCATOR_PROPERTIES * | pRequest, |
ALLOCATOR_PROPERTIES * | pActual | ||
) |
Implements IMemAllocator.
Definition at line 136 of file allocator.cpp.
|
inline |
Definition at line 23 of file allocator.cpp.
|
inline |
Definition at line 28 of file allocator.cpp.
|
protected |
Definition at line 73 of file allocator.cpp.
Referenced by Commit(), Decommit(), FreeMediaSamples(), GetFreeCount(), ReleaseBuffer(), and SetProperties().
|
protected |
Definition at line 82 of file allocator.cpp.
Referenced by Commit(), and FreeMediaSamples().
|
protected |
Definition at line 76 of file allocator.cpp.
Referenced by Commit(), GetProperties(), and SetProperties().
|
protected |
Definition at line 74 of file allocator.cpp.
Referenced by Commit(), GetProperties(), and SetProperties().
|
protected |
Definition at line 77 of file allocator.cpp.
Referenced by Commit(), GetProperties(), and SetProperties().
|
protected |
Definition at line 75 of file allocator.cpp.
Referenced by Commit(), GetProperties(), and SetProperties().
|
protected |
Definition at line 78 of file allocator.cpp.
Referenced by Commit(), Decommit(), GetBuffer(), and SetProperties().
|
protected |
Definition at line 79 of file allocator.cpp.
Referenced by CKsAllocator(), Commit(), Decommit(), GetBuffer(), ReleaseBuffer(), SetNotify(), and SetProperties().
|
protected |
Definition at line 80 of file allocator.cpp.
Referenced by Commit(), Decommit(), FreeMediaSamples(), GetBuffer(), GetFreeCount(), ReleaseBuffer(), and SetProperties().
|
protected |
Definition at line 83 of file allocator.cpp.
Referenced by Decommit(), FreeMediaSamples(), and ReleaseBuffer().
|
protected |
Definition at line 69 of file allocator.cpp.
Referenced by KsCreateAllocatorAndGetHandle(), KsGetAllocatorHandle(), and KsSetAllocatorHandle().
|
protected |
Definition at line 70 of file allocator.cpp.
Referenced by Commit(), Decommit(), KsGetAllocatorMode(), KsSetAllocatorMode(), and SetProperties().
|
protected |
Definition at line 72 of file allocator.cpp.
Referenced by ReleaseBuffer(), and SetNotify().
|
protected |
Definition at line 71 of file allocator.cpp.
Referenced by KsCreateAllocatorAndGetHandle(), KsGetProperties(), and KsSetProperties().
|
protected |
Definition at line 68 of file allocator.cpp.
Referenced by STDMETHODIMP_().
|
protected |
Definition at line 81 of file allocator.cpp.
Referenced by GetBuffer().