Just ran into a really weird performance issue in @opencv : I'm getting mmap-ed image buffers from my camera, and have been wrapping them directly in cv::Mat objects to save a memcpy per frame.
However, as soon as I call warpPerspective on the buffer, the CPU load on all cores jumps to 100% and the frame rate drops to 10-12 FPS. If I copy the buffers to normal unmapped memory with Mat.clone(), everything is chugging along happily at 30 FPS. What the hell is going on?







