Glad it was useful. In the mean-time I managed to fully decode the
live camera preview. Funny is that whereas the SDK 1.0 r1 emulator
only shows a grayscale view, the data array in onPreviewFrame() is
actually a *color* view that looks identical to what I remember seeing
in the older SDK M5 RC15
I'm not even sure whether Android's yuv422sp preview format represents
any decent standard format, because with a previous SDK M5 RC15 we got
a color preview on the emulator screen, whereas nowadays with SDK 1.0
r1 it shows as greyscale only. Moreover, although the preview array
for me shows a
Actually, what I wrote before was when setting PixelFormat.JPEG, for
which I noticed that setPreviewSize() took no effect whatsoever and
always resulted in a default size of 176 x 144. I now found that if I
select PixelFormat.YCbCr_422_SP, which may correspond to yuv422sp from
its naming
Its encoding semantics do not seem specified anywhere. Also see
reported issue 823,
http://code.google.com/p/android/issues/detail?id=823
which I hope will be resolved soon.
Regards
On Oct 22, 2:21 am, Jason Proctor [EMAIL PROTECTED] wrote:
it's declared to be YUV422SP. so this is planar
I noticed that data.length in the callback gave twice the number of
pixels, implying a 16 bits per pixel encoding as was discussed at
http://groups.google.com/group/android-developers/browse_thread/thread/434c60a275f3cc6f
Does ffmpeg not have some properties dialog or something such that
more
5 matches
Mail list logo