MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / allocate

Method allocate

src/opencl_depth_packet_processor.cpp:125–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 virtual Buffer *allocate(size_t size)
126 {
127 OpenCLBuffer *b = new OpenCLBuffer();
128 if(!allocate_opencl(b, size))
129 b->data = NULL;
130 return b;
131 }
132
133 virtual void free(Buffer *b)
134 {

Callers 2

newIrFrameMethod · 0.45
newDepthFrameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected