I am working on an app that allows stepping through video frames (bitmaps). It also has the capability to play back the frames, one after another, as though you are actually viewing a video composed of the frames.
I have one ImageView that is showing one bitmap at a time. The problem I am having is that drawing the image to the ImageView (we're talking just a call to super.onDraw()) is taking roughly 30ms. Since the frames need to be playing back at their original framerate, this is a problem. There are other operations going on as well that are also slowing the process down, but the drawing certainly isn't helping.
I was looking into OpenGL ES, but it seems that not all devices support non-power-of-two images, so that won't work. The dimensions of the images are half of the device's recorded video resolution since I am sampling them at half-size, and that's pretty much guaranteed to never be a power-of-two image.
Is there some way I can speed things up so that the drawing is faster?