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

Method free

src/vaapi_rgb_packet_processor.cpp:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 virtual void free(Buffer *b)
156 {
157 if (b == NULL)
158 return;
159 VaapiBuffer *vb = static_cast<VaapiBuffer *>(b);
160 if (vb->data) {
161 CALL_VA(vaUnmapBuffer(display, vb->id));
162 CALL_VA(vaDestroyBuffer(display, vb->id));
163 }
164 delete vb;
165 }
166};
167
168class VaapiRgbPacketProcessorImpl: public WithPerfLogging

Callers 1

~VaapiFrameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected