His name is Doug, not Donug. Get a clue.
--
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
Sorry for that typo.
Actually it was a bug in my h264 video decoding native code ,which caused
the problems
And i am still a new be in C.
As I now understand decodeByteArray() can decode compressed image data of
format PNG and JPG
and my image data is of type ARGB.
Any way my problems solved.
The API is declared in bitmap.h. You will have to learn how to use it
on your own. Just make sure you have a Bitmap object and can set its
pixels directly using the config it was created with. Your pixels
array must exactly match what the config demands.
Doug
On Sep 19, 10:32 pm, Siji T G
.Donug,
My issue is already solved.
Thanks any way.
--
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
Thanks Donug,
I think , this will help. Let me try...
Regards
Siji
--
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
Donug, You mean to use bitmap.h ??
Could you please provide me some sample code in C for setting pixels of
bitmap.
I have data in
jbyteArray out_buf.
How to set out_buf as pixels of bitmap??
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups
Create the Bitmap in native code and return it to the java layer. The
NDK supports this starting beginning with Android 2.2.
Doug
On Sep 16, 12:02 am, Siji T G s...@techgentsia.com wrote:
Thanks for the reply Zsolt.
My data stream comes from h264 video decoder , which is native.
Format of
Hi,
Try this to convert byte array to bitmap
Bitmap bMap = BitmapFactory.decodeByteArray(data, 0,
data.length);//(Byte[] data)
On Sat, Sep 17, 2011 at 11:56 AM, Doug beafd...@gmail.com wrote:
Create the Bitmap in native code and return it to the java layer. The
NDK supports this
Where is it documented as to the format of your data stream? From
what I can gather from the docs is that if the data cannot be decoded,
you get NULL back.
On Sep 16, 2:02 pm, Siji T G s...@techgentsia.com wrote:
Hello Oscar,
Thanks for the reply.
But I already tried this approach.
Thanks for the reply Zsolt.
My data stream comes from h264 video decoder , which is native.
Format of this data stream is ARGB.
Please note that I could display this image correctly using
Bitmap. createBitmap()
and
setPixels () .
Regards
Siji
--
You received this message because you are
10 matches
Mail list logo