View Full Version : can i set the port buffers or port as read only?

11-11-2010, 04:42 AM
Hi All,

can i set the port or port buffers as read only?

I am directly writing my video decoder output data into port buffer and sending this port buffer to the IL Client or to the tunneled component as output buffer. But my algorithm may use that port buffer as a reference frame, i.e. algorithm may use the data in the port buffer even which(port buffer) is sent from the omx component to il client or to the tunneled component.

can anyone help on this?


11-22-2010, 03:47 PM
If a tunnel is set-up as read-only (see 3.3.11 ComponentTunnelRequest in IL 1.1.2), then individual buffers may be marked as read-only. This allows you to keep a reference to a buffer that is given to a tunnelled component.

11-22-2010, 03:57 PM
A correction - in IL 1.1.2, you can only mark a tunnel as read-only, not individual buffers. For communication with an IL client, you can't therefore (from my reading of the spec) achieve your use-case.