It has color conversion built into the MDP pipeline. If you specify
the special YUV420 semi-planar format and the hardware blitter is
enable, you get color conversion in SurfaceFlinger.

On Jan 26, 11:56 pm, mailandr...@gmail.com wrote:
> MSM 7K target has color conversion support rt? If we want to use h/w
> support, How can we enable this feature? Do we have to set parameter
> for color conversion before blitting.
>
> On Jan 27, 8:54 am, Dave Sparks <davidspa...@android.com> wrote:
>
> > The video sink was just re-factored, but I don't think that code has
> > been pushed out to kernel.org yet.
>
> > The new code has a generic video sink that does the color conversion
> > in software before pushing it to SurfaceFlinger for rendering.
>
> > On Jan 26, 4:54 pm, mailandr...@gmail.com wrote:
>
> > > hi dave,
>
> > > with the latest cupcake code,camerapreviewo/p is coming gray
> > > (without colors). In cameraservices startPreview(), we pass YUV data
> > > to surfaceflinger.  According to my understanding, surfaceflinger will
> > > not do color conversion. It can handle only RGB data and luminance(y
> > > plane). So when we pass to suurfaceflinger we need to pass RGB data.
> > > Is my understanding correct? Where do we need to do color conversion?
> > > Please give me some hint.
>
> > > thanks & regards- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to