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

Method VTFrame

src/vt_rgb_packet_processor.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36{
37 public:
38 VTFrame(size_t width, size_t height, size_t bytes_per_pixel, CVPixelBufferRef pixelBuffer) :
39 Frame(width,
40 height,
41 bytes_per_pixel,
42 reinterpret_cast<unsigned char *>(CVPixelBufferGetBaseAddress(lockPixelBuffer(pixelBuffer)))),
43 pixelBuffer(pixelBuffer) {
44 }
45
46 ~VTFrame() {
47 CVPixelBufferUnlockBaseAddress(pixelBuffer, 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected