In Cupcake branch:
The constructor of AndroidSurfaceOutput add a paramether PVPlayer. It
mean AndroidSurfaceOutput need know who is using this output.
path : external/opencore/android/android_surface_output.cpp
in about 1041
===============================================
// update app
mPvPlayer->sendEvent(MEDIA_SET_VIDEO_SIZE, displayWidth,
displayHeight);
===============================================
The displayWidth and displayHeight is the display size set by
AndroidSurfaceOutput::setParametersSync.
It mean when the displaysize is set , The AndroidSurfaceOutput need
notify the PVPlayer.
I have 3 question about it :
1. AndroidSurfaceOutput is designed a passive output , so it looks
strange .
2. In original design PVPlay will decode using the video size ,
AndroidSurfaceOutput work as output device , it may resize it to
display size.
So when PVPlay need know the display size ?
Do it only used by mediaplayer App ?
3. If the Surface is using hardware overlay , Does it has something
different for it ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---