Mercurial > mplayer.hg
annotate loader/dshow/allocator.h @ 29488:6f7e97c44353
Set demuxer->filepos in mf demuxer, since the stream_tell fallback is not
usable. Fixes progress display in mencoder.
author | reimar |
---|---|
date | Mon, 17 Aug 2009 06:14:12 +0000 |
parents | a8ea87c71d18 |
children |
rev | line source |
---|---|
26045 | 1 #ifndef MPLAYER_ALLOCATOR_H |
2 #define MPLAYER_ALLOCATOR_H | |
168 | 3 |
4 #include "interfaces.h" | |
5 #include "cmediasample.h" | |
1545 | 6 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
8292
diff
changeset
|
7 typedef struct avm_list_t avm_list_t; |
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
8292
diff
changeset
|
8 typedef struct MemAllocator MemAllocator; |
713 | 9 |
25794
2c8cdb9123b8
Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents:
8292
diff
changeset
|
10 struct MemAllocator |
168 | 11 { |
3056 | 12 IMemAllocator_vt* vt; |
3130 | 13 DECLARE_IUNKNOWN(); |
168 | 14 ALLOCATOR_PROPERTIES props; |
3056 | 15 avm_list_t* used_list; |
16 avm_list_t* free_list; | |
713 | 17 char* new_pointer; |
18 CMediaSample* modified_sample; | |
3056 | 19 GUID interfaces[2]; |
1545 | 20 |
3056 | 21 void ( *SetPointer )(MemAllocator* This, char* pointer); |
22 void ( *ResetPointer )(MemAllocator* This); | |
168 | 23 }; |
24 | |
8292 | 25 MemAllocator* MemAllocatorCreate(void); |
3056 | 26 |
26045 | 27 #endif /* MPLAYER_ALLOCATOR_H */ |