xine-lib 1.2.13-20230125hg15249
Data Structures | Functions | Variables
allocator.c File Reference
#include "allocator.h"
#include "com.h"
#include "../wine/winerror.h"
#include <stdio.h>
#include <stdlib.h>

Data Structures

struct  _avm_list_t
 

Functions

static int avm_list_size (avm_list_t *head)
 
static int avm_list_print (avm_list_t *head)
 
static avm_list_tavm_list_add_head (avm_list_t *head, void *member)
 
static avm_list_tavm_list_add_tail (avm_list_t *head, void *member)
 
static avm_list_tavm_list_del_head (avm_list_t *head)
 
static avm_list_tavm_list_find (avm_list_t *head, void *member)
 
static long MemAllocator_CreateAllocator (GUID *clsid, const GUID *iid, void **ppv)
 
static HRESULT STDCALL MemAllocator_SetProperties (IMemAllocator *This, ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
 
static HRESULT STDCALL MemAllocator_GetProperties (IMemAllocator *This, ALLOCATOR_PROPERTIES *pProps)
 
static HRESULT STDCALL MemAllocator_Commit (IMemAllocator *This)
 
static HRESULT STDCALL MemAllocator_Decommit (IMemAllocator *This)
 
static HRESULT STDCALL MemAllocator_GetBuffer (IMemAllocator *This, IMediaSample **ppBuffer, REFERENCE_TIME *pStartTime, REFERENCE_TIME *pEndTime, DWORD dwFlags)
 
static HRESULT STDCALL MemAllocator_ReleaseBuffer (IMemAllocator *This, IMediaSample *pBuffer)
 
static void MemAllocator_SetPointer (MemAllocator *This, char *pointer)
 
static void MemAllocator_ResetPointer (MemAllocator *This)
 
static void MemAllocator_Destroy (MemAllocator *This)
 
static long STDCALL MemAllocator_QueryInterface (IUnknown *This, const GUID *riid, void **ppvObject)
 
static long STDCALL MemAllocator_AddRef (IUnknown *This)
 
static long STDCALL MemAllocator_Release (IUnknown *This)
 
MemAllocatorMemAllocatorCreate ()
 

Variables

static int AllocatorKeeper = 0
 

Function Documentation

◆ avm_list_add_head()

static avm_list_t * avm_list_add_head ( avm_list_t * head,
void * member )
inlinestatic

◆ avm_list_add_tail()

static avm_list_t * avm_list_add_tail ( avm_list_t * head,
void * member )
inlinestatic

◆ avm_list_del_head()

static avm_list_t * avm_list_del_head ( avm_list_t * head)
inlinestatic

◆ avm_list_find()

static avm_list_t * avm_list_find ( avm_list_t * head,
void * member )
inlinestatic

◆ avm_list_print()

static int avm_list_print ( avm_list_t * head)
inlinestatic

◆ avm_list_size()

static int avm_list_size ( avm_list_t * head)
inlinestatic

◆ MemAllocator_AddRef()

static long STDCALL MemAllocator_AddRef ( IUnknown * This)
static

Referenced by MemAllocatorCreate().

◆ MemAllocator_Commit()

static HRESULT STDCALL MemAllocator_Commit ( IMemAllocator * This)
static

◆ MemAllocator_CreateAllocator()

static long MemAllocator_CreateAllocator ( GUID * clsid,
const GUID * iid,
void ** ppv )
static

◆ MemAllocator_Decommit()

static HRESULT STDCALL MemAllocator_Decommit ( IMemAllocator * This)
static

◆ MemAllocator_Destroy()

static void MemAllocator_Destroy ( MemAllocator * This)
static

◆ MemAllocator_GetBuffer()

static HRESULT STDCALL MemAllocator_GetBuffer ( IMemAllocator * This,
IMediaSample ** ppBuffer,
REFERENCE_TIME * pStartTime,
REFERENCE_TIME * pEndTime,
DWORD dwFlags )
static

◆ MemAllocator_GetProperties()

static HRESULT STDCALL MemAllocator_GetProperties ( IMemAllocator * This,
ALLOCATOR_PROPERTIES * pProps )
static

References Debug.

Referenced by MemAllocatorCreate().

◆ MemAllocator_QueryInterface()

static long STDCALL MemAllocator_QueryInterface ( IUnknown * This,
const GUID * riid,
void ** ppvObject )
static

Referenced by MemAllocatorCreate().

◆ MemAllocator_Release()

static long STDCALL MemAllocator_Release ( IUnknown * This)
static

Referenced by MemAllocatorCreate().

◆ MemAllocator_ReleaseBuffer()

static HRESULT STDCALL MemAllocator_ReleaseBuffer ( IMemAllocator * This,
IMediaSample * pBuffer )
static

◆ MemAllocator_ResetPointer()

static void MemAllocator_ResetPointer ( MemAllocator * This)
static

◆ MemAllocator_SetPointer()

static void MemAllocator_SetPointer ( MemAllocator * This,
char * pointer )
static

◆ MemAllocator_SetProperties()

static HRESULT STDCALL MemAllocator_SetProperties ( IMemAllocator * This,
ALLOCATOR_PROPERTIES * pRequest,
ALLOCATOR_PROPERTIES * pActual )
static

◆ MemAllocatorCreate()

MemAllocator * MemAllocatorCreate ( void )

Variable Documentation

◆ AllocatorKeeper

int AllocatorKeeper = 0
static