No.  And there is no guarantee about what the format will be, in fact it may
not be anything you coud possibly interpret (such as non-planar).

On Tue, Sep 27, 2011 at 2:51 AM, Girish <[email protected]> wrote:

> Dear all,
>
> Is it possible to tap the composed data which is given to framebuffer
> at android framework level ? In which format it will be RGB565 ?
>
> I tried doing the same at
>
> FramebufferNativeWindow.cpp -> int
> FramebufferNativeWindow::queueBuffer(ANativeWindow*
> window,android_native_buffer_t* buffer)
> {
> int res = fb->post(fb, handle);
> fwrite(handle, sizeof(char),fb->width*fb->height*3/2 ,fpRGB);
> }
>
> But this doesnt work.
>
> Regards
> Girish
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to