Max,
I also was trying to crop my preview to show it in a smaller space.
But it would cram the whole image into the smaller view I created. I
studied some of the android source code, tried and failed at many
remedies, and finally settled on a tacky compromise:
1) I created a SurfaceView that
check out the Camera SDK docs. camera previews are in raw YUV/YCbCr
format. BitmapFactory won't decode that format.
in the days before 1.5 brought back video recording, various intrepid
'droiders including me were doing video capture by saving preview
frames, and the adventures did not always
The data[] in onPreviewFrame() is still headerless in Android 1.5
(Cupcake) despite a long standing request to fix this: issue 832
http://code.google.com/p/android/issues/detail?id=823
On May 20, 9:04 pm, Max Salley msalley@gmail.com wrote:
I'm using the
Thanks for the advice, I had feared something like that. From what
I've read it seems that operating on the previews using the callback
is much too expensive to be feasible anyway
On May 20, 3:12 pm, Jason Proctor ja...@particularplace.com wrote:
check out the Camera SDK docs. camera previews
I think I might go the offscreen buffer route and render when I can,
as FPS doesn't matter to me in the slightest. I'm looking at creating
a virtual canvas to draw to, but I'm not sure what to do with the
YCbCr array that can get it into a usable form. What would you
suggest I do with the
I'm trying to show a cropped version of the preview, but show it at
native resolution rather than showing the entire thing scaled down. I
discuss what I'm doing more here (http://groups.google.com/group/
android-developers/t/f95804f843d3711b).
On May 20, 3:50 pm, Jason Proctor
6 matches
Mail list logo