Lines Matching full:current_frame
98 CVImageBufferRef current_frame;
245 if (current_frame != nil) {
246 CVBufferRelease(current_frame);
247 current_frame = nil;
283 if (current_frame != nil) {
286 _QTtoFOURCC(CVPixelBufferGetPixelFormatType(current_frame));
287 const int frame_width = CVPixelBufferGetWidth(current_frame);
288 const int frame_height = CVPixelBufferGetHeight(current_frame);
290 CVPixelBufferGetBytesPerRow(current_frame) * frame_height;
293 CVPixelBufferLockBaseAddress(current_frame, 0);
294 const void* pixels = CVPixelBufferGetBaseAddress(current_frame);
305 CVPixelBufferUnlockBaseAddress(current_frame, 0);
327 to_release = current_frame;
328 current_frame = videoFrame;