I use my own decoder, but here you can find another one (December 2,
2008): 
http://groups.google.com/group/android-developers/browse_thread/thread/c85e829ab209ceea/

Again, all of this is very slow under the currently available APIs.

On May 27, 9:43 am, lori lori <loril...@gmail.com> wrote:
> So that means I cannot decode continuous frames of data to bitmap
> in PreviewCallback because data is encoded in raw YCbCr which cannot be
> decoded.The only way I can do this is using onPictureTaken method of
> PictureCallback where data is encoded in jpeg format which can be easily
> decoded.
>
> This is however a slow process and I really wish that preview frames could
> be decoded.
>
> Below link demonstrates how a user decodes the YUV byte[] buffer from the
> preview
> callback and converts it into an ARGB_8888 int[] 
> bufferhttp://groups.google.com/group/android-developers/msg/d3b29d3ddc8abf9b
>
> There is also an issue that discusses about applying setPreviewFormat() to
> set PixelFormat.JPEG athttp://code.google.com/p/android/issues/detail?id=823
>
> I would really appreciate if anyone could decode the YUV byte[] buffer from
> the preview
> callback and converts it into bitmaps.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to