Yes, PVPlayer still uses an ISurface. But instead of pushing instead of pushing frames into SurfaceFlinger, it just does a page flip on the IOverlay interface it gets from SurfaceFlinger.
On Dec 17, 7:25 pm, hanchao3c <[email protected]> wrote: > Hi Sparks! > I will look at the cupcake code for it. > I this using hardware overlay is good solution. > > But do you mean PVPlayer neen't chang by using hardware overlay? > > Just using ISurface at its interface ? > > On Dec 18, 10:37 am, Dave Sparks <[email protected]> wrote: > > > 1. If the MIO is active, then it controls its own sink using the > > timestamps on the frames. If the MIO is passive, the frames should be > > displayed as they arrive. > > > 2. I think you are talking about the case where the video is displayed > > by hardware overlay and not using the 2D engine (SurfaceFlinger). In > > this case, you need to use the new overlay abstraction as described in > > the other thread. PVPlayer does not get involved at all, it only needs > > to know the size of the video, not the window display size. Position, > > scaling, and rotation is handled either the SurfaceFlinger or by the > > overlay hardware. > > > 3. Color key is also in the hardware overlay abstraction. > > > On Dec 17, 6:06 pm, hanchao3c <[email protected]> wrote: > > > > Hi Dave Sparks ! > > > Thank you very much. > > > I thought this solution is well, but then I found it is not perfect > > > I think the "control interface problem" are: > > > 1. By using it , Video will be render to output device directly. Who > > > can do the AV sync? > > > 2. If high level software want to change the video size or > > > orientation, How to control PVPlayer ? > > > 3. If we want to change to Color-key to control to layers. (Case: When > > > playing a video , other application is launched) > > > > On Dec 17, 10:08 pm, jasperr <[email protected]> wrote: > > > > > I found it's the video decoder node that allocates buffers for its > > > > video decoder OMX component now. > > > > (in function "provideBuffersforcomponent") > > > > > If I want the video dec omx component to use buffers allocated by the > > > > video surface output. It seems I have to modify this code. > > > > > Is there a easy way for the video decoder node to find its peer, the > > > > video sink node? > > > > So the video sink node can let the surface ouput to allocate buffers. > > > > > Thanks > > > > Amanda --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
