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 18:41 "TimeManx" <[email protected] <javascript:>>:
>
>> 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 happening
>> The following are my classes
>> https://dpaste.de/FP9QU/
>> https://dpaste.de/as87Q/
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to