Re: Displaying RBG data from a framework

2009-02-02 Thread Mathias Agopian
On Mon, Feb 2, 2009 at 3:54 AM, iblues wrote: > > > > On Feb 2, 11:32 am, Mathias Agopian wrote: >> On Sun, Feb 1, 2009 at 9:30 PM, iblues wrote: >> >> > Mathias, >> >> > How does Android plan to support rendering of raw data (YUV or RGB) >> > onto the Surface at the library layers in future?

Re: Displaying RBG data from a framework

2009-02-02 Thread iblues
On Feb 2, 11:32 am, Mathias Agopian wrote: > On Sun, Feb 1, 2009 at 9:30 PM, iblues wrote: > > > Mathias, > > > How does Android plan to support rendering of raw data (YUV or RGB) > > onto the Surface at the library layers in future?  For my requirement, > > I defined my middleware class as a

Re: Displaying RBG data from a framework

2009-02-01 Thread Mathias Agopian
On Sun, Feb 1, 2009 at 9:30 PM, iblues wrote: > > Mathias, > > How does Android plan to support rendering of raw data (YUV or RGB) > onto the Surface at the library layers in future? For my requirement, > I defined my middleware class as a friend class of Surface in > Surface.h file. After this,

Re: Displaying RBG data from a framework

2009-02-01 Thread iblues
Mathias, How does Android plan to support rendering of raw data (YUV or RGB) onto the Surface at the library layers in future? For my requirement, I defined my middleware class as a friend class of Surface in Surface.h file. After this, I was able to access the ISurface object. Do you mean that

Re: Displaying RBG data from a framework

2009-01-31 Thread Mathias Agopian
On Sat, Jan 31, 2009 at 7:50 AM, iblues wrote: > > Hi Srini, > > I forgot to add that other than Media player and Camera, no other > classes can access ISurface from Surface object in the framework code. > Please refer my preview thread > http://groups.google.com/group/android-framework/browse_th

Re: Displaying RBG data from a framework

2009-01-31 Thread iblues
Hi Srini, I forgot to add that other than Media player and Camera, no other classes can access ISurface from Surface object in the framework code. Please refer my preview thread http://groups.google.com/group/android-framework/browse_thread/thread/d3f242356375effa Hope it helps you out. Regards

Re: Displaying RBG data from a framework

2009-01-31 Thread iblues
Hi Srini, To answer to your question on how to access the Surface object, follow the Camera or Media player codes . The following are the things to be done based on what I saw from the android codes : 1. Creating a Surface View and getting the SurfaceHolder from the application layer. 2. Using J

Re: Displaying RBG data from a framework

2009-01-29 Thread Dave Sparks
e bufffer into surface view ? > > > Could you please tell me the procedure to pass the frame buffer to surface > > view ? > > > Thanks & Regards, > > P.Sriniamul > > > --- On *Wed, 28/1/09, Dianne Hackborn * wrote: > > > From: Dianne Hackborn &

Re: Displaying RBG data from a framework

2009-01-28 Thread Dianne Hackborn
d, 28/1/09, Dianne Hackborn * wrote: > > From: Dianne Hackborn > Subject: Re: Displaying RBG data from a framework > To: android-framework@googlegroups.com > Date: Wednesday, 28 January, 2009, 10:06 PM > > What are you trying to do? Why don't you just use the normal model, w

Re: Displaying RBG data from a framework

2009-01-28 Thread srini amul
Wed, 28/1/09, Dianne Hackborn wrote: From: Dianne Hackborn Subject: Re: Displaying RBG data from a framework To: android-framework@googlegroups.com Date: Wednesday, 28 January, 2009, 10:06 PM What are you trying to do?  Why don't you just use the normal model, where you use SurfaceView to

Re: Displaying RBG data from a framework

2009-01-28 Thread Dave Sparks
Agreed. This approach is working at a very low-level and is likely to break in the future as we move to new hardware abstractions. On Jan 28, 8:36 am, Dianne Hackborn wrote: > What are you trying to do?  Why don't you just use the normal model, where > you use SurfaceView to create a surface an

Re: Displaying RBG data from a framework

2009-01-28 Thread Dianne Hackborn
What are you trying to do? Why don't you just use the normal model, where you use SurfaceView to create a surface and write your data into its frame buffer? On Wed, Jan 28, 2009 at 8:03 AM, srini amul wrote: > Hi, My requirement needs me to draw the RGB data from the framework > layer. > > Is