allocator.h
来自「mplayer播放器的源码」· C头文件 代码 · 共 28 行
H
28 行
#ifndef DS_ALLOCATOR_H#define DS_ALLOCATOR_H#include "interfaces.h"#include "cmediasample.h"typedef struct _avm_list_t avm_list_t;typedef struct _MemAllocator MemAllocator;struct _MemAllocator{ IMemAllocator_vt* vt; DECLARE_IUNKNOWN(); ALLOCATOR_PROPERTIES props; avm_list_t* used_list; avm_list_t* free_list; char* new_pointer; CMediaSample* modified_sample; GUID interfaces[2]; void ( *SetPointer )(MemAllocator* This, char* pointer); void ( *ResetPointer )(MemAllocator* This);};MemAllocator* MemAllocatorCreate(void);#endif /* DS_ALLOCATOR_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?