while working at RPi/omx support in VLC a question raised, which I could not really find an answer to yet. We are using AllocateBuffer/UseBuffer combination to allow direct rendering between decoder and video output module without using an omx tunnel. Now what I am questioning myself is, how the omx module deals with the decoded picture buffer/reference frame list? For a real direct rendering approach I would expect that the buffers allocated with AllocateBuffer are used for the dpb, but from the behaviour it seems more as if the decoder module would keep internal copies of the reference frames, so that on the application side the dpb has not to be cared of.
Maybe someone with a little deeper knowledge could give some details?