Re: [android-developers] onPreviewFrame() not being called the same number of times as the frame rate

2013-09-19 Thread TimeManx
I certainly am using setPreviewDisplay(). But I also need the frames to do some image processing. On Thursday, 19 September 2013 05:29:30 UTC+5:30, Baodong Chen wrote: Though not sure why this happened,this is not a good way to show preview! why not use setPreviewDisplay method? 2013/09/18

[android-developers] onPreviewFrame() not being called the same number of times as the frame rate

2013-09-18 Thread TimeManx
I've created a subclass of SurfaceView which also implements Camera.PreviewCallback SurfaceHolder.Callback. The time difference between onPreviewFrame() calls is about 0.25 seconds which is 4/sec but the actual preview frame rate is definitely more than 25. I can't figure out why this is

Re: [android-developers] onPreviewFrame() not being called the same number of times as the frame rate

2013-09-18 Thread Baodong Chen
Though not sure why this happened,this is not a good way to show preview! why not use setPreviewDisplay method? 2013/09/18 18:41 TimeManx shubhade...@gmail.com: I've created a subclass of SurfaceView which also implements Camera.PreviewCallback SurfaceHolder.Callback. The time difference