The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Implementing BufferSharing

Am having some trouble setting up the buffer sharing with a video component (lets say A). There is another component (say B) that provides additional data to A ('other' port).

Now I have added the BS relationship between the input and output ports of A. BufferSharingIndication() within the component's processing function is able to receive the right configuration. Given that the component A has the ports sharing buffer and an 'other' port, BufferIndication() is also implemented along with PropogateSharedBuffer(). I can see that only the BufferIndication() gets invoked (for data on both input port as well as the 'other' port). When I comment out the BufferIndication() routine, PropogateSharedBuffer() is called for the input port. and in this case am no longer able to handle the data coming on the other port.

Intention of the component is to merely work on the video frame in place with the help of some data that arrives at the other port and pass the same buffer to output port.

How should I go about handling this scenario ?

p.s: If this has been answered before on this forum (although i have checked) please do point me to it.