1 #ifndef MPLAYER_ALLOCATOR_H
2 #define MPLAYER_ALLOCATOR_H
4 #include "interfaces.h"
5 #include "cmediasample.h"
7 typedef struct avm_list_t avm_list_t
;
8 typedef struct MemAllocator MemAllocator
;
14 ALLOCATOR_PROPERTIES props
;
15 avm_list_t
* used_list
;
16 avm_list_t
* free_list
;
18 CMediaSample
* modified_sample
;
21 void ( *SetPointer
)(MemAllocator
* This
, char* pointer
);
22 void ( *ResetPointer
)(MemAllocator
* This
);
25 MemAllocator
* MemAllocatorCreate(void);
27 #endif /* MPLAYER_ALLOCATOR_H */