We need to agree on some semantics here:

Video display size: The video height and width as reported by the
video stream
Video frame size: The video frame height and width for the decoder
(may be larger than the display size)
Window size: The height and width of the display surface on which the
video is to be rendered

OpenCore has no notion of window size or orientation. This is all
managed by the Java window manager.

SurfaceFlinger handles the high-level compositing including
determining scaling and rotation.

Questions about SurfaceFlinger are best asked in the android-porting
list which is monitored (occasionally) by one of our graphics
engineers.

As I recall, logging is pretty sparce in SurfaceFlinger. You can turn
on LOGV logs by using the debug build. Alternatively, you can '#define
LOG_NDEBUG 0' in the modules that you want to enable logging.

On Dec 14 2008, 6:59 pm, jasperr <[email protected]> wrote:
> I'm a newbie to Android and want to explore the video display flow
> under Android.
>
> I browsed the video surface output in opencore, and found that it can
> not get the full video display info such as coordinate and
> orientation. So it just allocate buffers from pmem heap according to
> the original video size and post the buffer out of opencore ( to a
> layer buffer module).
>
> So my question is:
> (1) Where the video display size and orientation?
>
> (2) which module does the scaling and rotation? by hardware or
> software?
>
> (3) Can anybody give a further explanation how the surface flinger and
> layer buffer work?
>
> (4) is there any way to let famework base libs (surface flinger and
> layer buffer) output some log info like opencore?
>      It's will be very helpful for me to trace the code.
>
> Many thanks
> Jasperr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to