On Mon Dec 19 06:50:53 2011, Streets Of Boston wrote:
See my answer in 'android-developers' group.
Please, don't cross-post.


A) I'd already answered essentially the same thing, but doesn't hurt to say it again in a different way.
B) You mean the message that you cross-posted?

Date: Mon, 19 Dec 2011 06:49:21 -0800 (PST)
From: Streets Of Boston <[email protected]>
Reply-To: [email protected]
To: [email protected]
Cc: [email protected], [email protected]
Message-ID: <23786539.1588.1324306161440.JavaMail.geo-discussion-forums@vbxw7> In-Reply-To: <CALwa49tNdJaeu0-ef4PvfMSdwfHX6gkoud8DLj4r7A+WNVw9=w...@mail.gmail.com> References: <CALwa49tNdJaeu0-ef4PvfMSdwfHX6gkoud8DLj4r7A+WNVw9=w...@mail.gmail.com> Subject: Re: SENDING YUV-TO-JPEG CONVERTED BUFFER AS A BITMAP from JNI to
Android code...plzzz help...Not a Noob , Am i??

Problems in 'fill_plasma':

1. The raw data of the *pxl*-array can not contain JPEG encoded data. Instead it must be encoded as RGB_565, each 2 bytes having 5 bits of red, 6
  bits of green and 5 bits of blue.
2. You can not assign the bitmap's raw-data array address (*pxl*) to your compressed buffer-address. Instead, you'll have to copy each individual pixel from '*buf*' into '*pxl*'. Use a for-loop and copy each
  byte from the *buf*-array into *pxl*-array.
;-)

sdw

--
You received this message because you are subscribed to the Google Groups "Android 
Discuss" 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-discuss?hl=en.

Reply via email to