The Display system related to SurfaceFlinger in Android

 

A) Input to SurfaceFlinger

1 one inputs to surfaceFlinger   

 

 Android player Apps 

   JNI media class

   PV player driver

   PV video decoder OMX----->video MIO adaptor------>SurfaceFlinger

 

   OMX video decorder

   DSP codecs

 

 

2 one input to surfaceFlinger

 

  Camera Apps

  Camera Service

  Camera Hal  ----------->SurfaceFlinger

  Camera Driver

 

3 one input to surfaceFlinger

 

   General Android apps (view)

  Surface Compose client----->SurfaceFlinger

 

 

B Output from SurfaceFlinger

1 One output from SurfaceFlinger

 

  SurfaceFlinger

  OverLay

  OverLay Driver

 

2 One output From SurfaceFlinger

 

  SurfaceFlinger

   OpenGLIES

  FrameBuffer

 

C OverLay + FrameBuffer (Alpha Color Value) ---->LCD display

 

 

D By the way, when use 3D java apps, it would not use SurfaceFlinger,

 

  3D java apps

   OpenGLIES java Binder

   JVM

   OpenGLIES

   LCD display

 

 

So you can image how is the display system for the SurfaceFlinger in Android

 

   FrameBuffer

你可能感兴趣的:(The Display system related to SurfaceFlinger in Android)