comparison dstep/quartzcore/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.quartzcore.CVPixelBufferPool;
8
9 import dstep.corefoundation.CFBase;
10 import dstep.corefoundation.CFDictionary;
11 import dstep.corevideo.CVPixelBuffer;
12 import dstep.corevideo.CVPixelBufferPool;
13 import dstep.objc.bridge.Bridge;
14 import dstep.objc.objc;
15
16 alias __CVPixelBufferPool* CVPixelBufferPoolRef;
17
18 extern (C)
19 {
20 extern
21 {
22 const CFStringRef kCVPixelBufferPoolMinimumBufferCountKey;
23 const CFStringRef kCVPixelBufferPoolMaximumBufferAgeKey;
24 }
25 }
26
27 extern (C)
28 {
29 uint CVPixelBufferPoolGetTypeID ();
30 CVPixelBufferPoolRef CVPixelBufferPoolRetain (CVPixelBufferPoolRef pixelBufferPool);
31 void CVPixelBufferPoolRelease (CVPixelBufferPoolRef pixelBufferPool);
32 int CVPixelBufferPoolCreate (CFAllocatorRef allocator, CFDictionaryRef poolAttributes, CFDictionaryRef pixelBufferAttributes, CVPixelBufferPoolRef* poolOut);
33 CFDictionaryRef CVPixelBufferPoolGetAttributes (CVPixelBufferPoolRef pool);
34 CFDictionaryRef CVPixelBufferPoolGetPixelBufferAttributes (CVPixelBufferPoolRef pool);
35 int CVPixelBufferPoolCreatePixelBuffer (CFAllocatorRef allocator, CVPixelBufferPoolRef pixelBufferPool, CVPixelBufferRef* pixelBufferOut);
36 }