I want to draw a moving bitmap on camera preview. To do that I changed Overlay filter. However, the time difference between each onFrameAvailable call is around 150-200 milliseconds. So that when I try to draw the animation on SurfaceTexture, FPS is super low.
To move a bitmap one pixel at a time on 720 dp screen, it takes around 2 minutes.
Is there a way to improve this time lag.
(I am using 1280x720 size, if I reduce it performance improves but image quality is not satisfactory)
I want to draw a moving bitmap on camera preview. To do that I changed Overlay filter. However, the time difference between each onFrameAvailable call is around 150-200 milliseconds. So that when I try to draw the animation on SurfaceTexture, FPS is super low. To move a bitmap one pixel at a time on 720 dp screen, it takes around 2 minutes.
Is there a way to improve this time lag.
(I am using 1280x720 size, if I reduce it performance improves but image quality is not satisfactory)