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

memallocator.c File Reference
#include <assert.h>
#include <limits.h>
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "vfwmsgs.h"
#include "quartz_private.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  BaseMemAllocator
struct  StdMemAllocator

Defines

#define AM_SAMPLE2_PROP_SIZE_WRITABLE   FIELD_OFFSET(AM_SAMPLE2_PROPERTIES, pbBuffer)
#define INVALID_MEDIA_TIME   (((ULONGLONG)0x7fffffff << 32) | 0xffffffff)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (quartz)
static HRESULT BaseMemAllocator_Init (HRESULT(*fnAlloc)(IMemAllocator *), HRESULT(*fnFree)(IMemAllocator *), HRESULT(*fnVerify)(IMemAllocator *, ALLOCATOR_PROPERTIES *), HRESULT(*fnBufferPrepare)(IMemAllocator *, StdMediaSample2 *, DWORD), HRESULT(*fnBufferReleased)(IMemAllocator *, StdMediaSample2 *), void(*fnDestroyed)(IMemAllocator *), CRITICAL_SECTION *pCritSect, BaseMemAllocator *pMemAlloc)
static HRESULT WINAPI BaseMemAllocator_QueryInterface (IMemAllocator *iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI BaseMemAllocator_AddRef (IMemAllocator *iface)
static ULONG WINAPI BaseMemAllocator_Release (IMemAllocator *iface)
static HRESULT WINAPI BaseMemAllocator_SetProperties (IMemAllocator *iface, ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
static HRESULT WINAPI BaseMemAllocator_GetProperties (IMemAllocator *iface, ALLOCATOR_PROPERTIES *pProps)
static HRESULT WINAPI BaseMemAllocator_Commit (IMemAllocator *iface)
static HRESULT WINAPI BaseMemAllocator_Decommit (IMemAllocator *iface)
static HRESULT WINAPI BaseMemAllocator_GetBuffer (IMemAllocator *iface, IMediaSample **pSample, REFERENCE_TIME *pStartTime, REFERENCE_TIME *pEndTime, DWORD dwFlags)
static HRESULT WINAPI BaseMemAllocator_ReleaseBuffer (IMemAllocator *iface, IMediaSample *pSample)
static HRESULT StdMediaSample2_Construct (BYTE *pbBuffer, LONG cbBuffer, IMemAllocator *pParent, StdMediaSample2 **ppSample)
static void StdMediaSample2_Delete (StdMediaSample2 *This)
static HRESULT WINAPI StdMediaSample2_QueryInterface (IMediaSample2 *iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI StdMediaSample2_AddRef (IMediaSample2 *iface)
static ULONG WINAPI StdMediaSample2_Release (IMediaSample2 *iface)
static HRESULT WINAPI StdMediaSample2_GetPointer (IMediaSample2 *iface, BYTE **ppBuffer)
static LONG WINAPI StdMediaSample2_GetSize (IMediaSample2 *iface)
static HRESULT WINAPI StdMediaSample2_GetTime (IMediaSample2 *iface, REFERENCE_TIME *pStart, REFERENCE_TIME *pEnd)
static HRESULT WINAPI StdMediaSample2_SetTime (IMediaSample2 *iface, REFERENCE_TIME *pStart, REFERENCE_TIME *pEnd)
static HRESULT WINAPI StdMediaSample2_IsSyncPoint (IMediaSample2 *iface)
static HRESULT WINAPI StdMediaSample2_SetSyncPoint (IMediaSample2 *iface, BOOL bIsSyncPoint)
static HRESULT WINAPI StdMediaSample2_IsPreroll (IMediaSample2 *iface)
static HRESULT WINAPI StdMediaSample2_SetPreroll (IMediaSample2 *iface, BOOL bIsPreroll)
static LONG WINAPI StdMediaSample2_GetActualDataLength (IMediaSample2 *iface)
static HRESULT WINAPI StdMediaSample2_SetActualDataLength (IMediaSample2 *iface, LONG len)
static HRESULT WINAPI StdMediaSample2_GetMediaType (IMediaSample2 *iface, AM_MEDIA_TYPE **ppMediaType)
static HRESULT WINAPI StdMediaSample2_SetMediaType (IMediaSample2 *iface, AM_MEDIA_TYPE *pMediaType)
static HRESULT WINAPI StdMediaSample2_IsDiscontinuity (IMediaSample2 *iface)
static HRESULT WINAPI StdMediaSample2_SetDiscontinuity (IMediaSample2 *iface, BOOL bIsDiscontinuity)
static HRESULT WINAPI StdMediaSample2_GetMediaTime (IMediaSample2 *iface, LONGLONG *pStart, LONGLONG *pEnd)
static HRESULT WINAPI StdMediaSample2_SetMediaTime (IMediaSample2 *iface, LONGLONG *pStart, LONGLONG *pEnd)
static HRESULT WINAPI StdMediaSample2_GetProperties (IMediaSample2 *iface, DWORD cbProperties, BYTE *pbProperties)
static HRESULT WINAPI StdMediaSample2_SetProperties (IMediaSample2 *iface, DWORD cbProperties, const BYTE *pbProperties)
static HRESULT StdMemAllocator_Alloc (IMemAllocator *iface)
static HRESULT StdMemAllocator_Free (IMemAllocator *iface)
static void StdMemAllocator_Destroy (IMemAllocator *iface)
HRESULT StdMemAllocator_create (LPUNKNOWN lpUnkOuter, LPVOID *ppv)

Variables

static const IMemAllocatorVtbl BaseMemAllocator_VTable
static const IMediaSample2Vtbl StdMediaSample2_VTable

Generated on Sun May 27 2012 05:03:22 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.