For the piece I'm programming, I would like to take a 720x1 submatrix from my 720x480 video. jit.submatrix is fine, but I would also like to take diagonal lines. My current solution is to use jit.rota on the video, and then jit.submatrix to take a horizontal slice of the rotated matrix. Unfortunately, the effort to do that is overwhelming my whole patch (specifically, the USB bus is backlogging).
So, I'm looking for a cheaper solution. Downsampling works, but is not the most desirable. Other possibilities that I see are either moving off into OpenGL or pulling my diagonal lines pixel by pixel from the video.
I wonder if anyboy has any thoughts about those ideas, or better suggestions. I don't want to spend too much time barking up the wrong tree; the concert is fast approaching.