The video decoder should not need to know that it's peer is the video sink node, it should be able to allocate its buffers and the video sink node should be able to use them. This is handled in the parameters negotiation that takes place before the nodes are initialized.
You probably will have to modify or subclass the standard PV nodes to make this work. One of the things I want to work on in the future is improving the hardware abstraction in this area so this can be done without having to modify components in the framework. Some of this work will fall out of adapting the code to work on new devices. On Dec 17, 6:08 am, 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 -~----------~----~----~----~------~----~------~--~---
