comparison dstep/corevideo/CVPixelBufferPool.d @ 16:19885b43130e

Huge update, the bridge actually works now
author Jacob Carlborg <doob@me.com>
date Sun, 03 Jan 2010 22:06:11 +0100
parents
children
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Sep 24, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.corevideo.CVPixelBufferPool;
8
9 import dstep.corefoundation.CFBase;
10 import dstep.corefoundation.CFDictionary;
11 import dstep.corevideo.CVBase;
12 import dstep.corevideo.CVPixelBuffer;
13 import dstep.corevideo.CVReturn;
14
15 struct __CVPixelBufferPool;
16
17 alias __CVPixelBufferPool* CVPixelBufferPoolRef;
18
19 extern (C)
20 {
21 extern
22 {
23 const CFStringRef kCVPixelBufferPoolMinimumBufferCountKey;
24 const CFStringRef kCVPixelBufferPoolMaximumBufferAgeKey;
25 }
26 }
27
28 extern (C)
29 {
30 uint CVPixelBufferPoolGetTypeID ();
31 CVPixelBufferPoolRef CVPixelBufferPoolRetain (CVPixelBufferPoolRef pixelBufferPool);
32 void CVPixelBufferPoolRelease (CVPixelBufferPoolRef pixelBufferPool);
33 int CVPixelBufferPoolCreate (CFAllocatorRef allocator, CFDictionaryRef poolAttributes, CFDictionaryRef pixelBufferAttributes, CVPixelBufferPoolRef* poolOut);
34 CFDictionaryRef CVPixelBufferPoolGetAttributes (CVPixelBufferPoolRef pool);
35 CFDictionaryRef CVPixelBufferPoolGetPixelBufferAttributes (CVPixelBufferPoolRef pool);
36 int CVPixelBufferPoolCreatePixelBuffer (CFAllocatorRef allocator, CVPixelBufferPoolRef pixelBufferPool, CVPixelBufferRef* pixelBufferOut);
37 }