> You can grab a 480x320 picture, but it still takes a while to come
> back after you call takePicture.

Thanks! Is this 480x320 for the physical G1, or for the emulator?

> The preview format is some YUV format.  I think it's like YUV420P.

It is yuv422sp, which is equivalent to Android's YCbCr_422_SP.

> I've been able to decode the luminance part (Y) (it's just in-order
> byte values), but I haven't tried to recover the color part.

I've now done both, being forced to because the still image capture
was a near guarantee for OutOfMemoryError crashes, but it requires a
bit of reverse engineering. The SDK 1.0 r1 emulator only displays the
Y part, but the preview data also contains the color information for
the moving colored rectangle.

On Nov 1, 12:35 am, jrpowers <[EMAIL PROTECTED]> wrote:
> You can grab a 480x320 picture, but it still takes a while to come
> back after you call takePicture.
>
> The preview format is some YUV format.  I think it's like YUV420P.
> I've been able to decode the luminance part (Y) (it's just in-order
> byte values), but I haven't tried to recover the color part.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to