コード例 #1
0
 extern static /* OSStatus */ CMBlockBufferError CMBlockBufferCreateContiguous(
     /* CFAllocatorRef */ IntPtr structureAllocator,
     /* CMBlockBufferRef */ IntPtr sourceBuffer,
     /* CFAllocatorRef */ IntPtr blockAllocator,
     /* CMBlockBufferCustomBlockSource* */ ref CMCustomBlockAllocator.CMBlockBufferCustomBlockSource customBlockSource,
     /* size_t */ nuint offsetToData,
     /* size_t */ nuint dataLength,
     CMBlockBufferFlags flags,
     /* CMBlockBufferRef* */ out IntPtr newBlockBuffer);
コード例 #2
0
 extern static /* OSStatus */ CMBlockBufferError CMBlockBufferAppendMemoryBlock(
     /* CMBlockBufferRef */ IntPtr buffer,
     /* void * */ IntPtr memoryBlock,
     /* size_t */ nuint blockLength,
     /* CFAllocatorRef */ IntPtr blockAllocator,
     /* CMBlockBufferCustomBlockSource */ ref CMCustomBlockAllocator.CMBlockBufferCustomBlockSource customBlockSource,
     /* size_t */ nuint offsetToData,
     /* size_t */ nuint dataLength,
     CMBlockBufferFlags flags);
コード例 #3
0
 extern static /* OSStatus */ CMBlockBufferError CMBlockBufferCreateWithMemoryBlock(
     /* CFAllocatorRef */ IntPtr structureAllocator,
     /* void * */ IntPtr memoryBlock,
     /* size_t */ nuint blockLength,
     /* CFAllocatorRef */ IntPtr blockAllocator,
     /* CMBlockBufferCustomBlockSource* */ ref CMCustomBlockAllocator.CMBlockBufferCustomBlockSource customBlockSource,
     /* size_t */ nuint offsetToData,
     /* size_t */ nuint dataLength,
     CMBlockBufferFlags flags,
     /* CMBlockBufferRef* */ out IntPtr newBlockBuffer);