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

Method allocate

src/vaapi_rgb_packet_processor.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 virtual Buffer *allocate(size_t size)
67 {
68 VaapiImage *vi = new VaapiImage();
69 vi->allocator = this;
70 CALL_VA(vaCreateImage(display, &format, width, height, &vi->image));
71 return vi;
72 }
73
74 virtual void free(Buffer *b)
75 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected