hi

I found a strange problem when processing the
preview images grabbed from my Epic 4G phone
camera (android 2.2.1).

The image data were captured in a callback set up
by setPreviewCallbackWithBuffer(). The pixelformat
of the image were set to RGB565. For each callback,
I simply dump the raw data via FileOutputStream and
then add the buffer back.

The 1st to 6th image frames are shown in the following
link (plotted with matlab, I did not bother to decode it).

http://nmr.mgh.harvard.edu/~fangq/temp/camera_preview_image_wrapping.png

From this plot, you can see the image wraps around the
y-axis: for each frame, the y boundary moves about 4
pixels. My preview size was set to 480x320; the orientation
was portrait.

has anyone reported this issue before? anything that I
should do to correct this?

thanks

Qianqian

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