| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected