With XDM1.0, the decoder does not have separate reference and display buffers. The reference buffers of the decoder are used for display as well. This helps in reducing the overall DDR utilization and DDR b/w.
However, this new arrangement changes the overall buffer management of the application. Now the application needs to manage the display and reference buffers using the new XDM 1.0 APIs. This application report provides information on how to manage the decoder buffer with respect to H.264 from the application writer's perspective. The first section of the document gives an overview of the change, the second section describes how the buffers are initialized, ownership of the buffers and how the application gets the ownership of the buffers, which is passed to codec. The third section describes the sample buffer manager. Finally, the sample test application is described. This document is not only applicable to DM365 platform, but also similar other platforms and codecs.