I am using the memory copy algorithm from Codec Engine's GenAlg wizard as the basis for my own graphical effects algorithm to run on the DSP side of the DM8168. My first hurdle is to allocate (from the ARM application) input and output buffers each of size 1920x1080x3= ~6MB to act as framebuffers.
Unfortunately in the default memory map for the DM8168 only 20MB is allocated to CMEM, and hence after loading my cmemk module and then running my application, it fails at the call to "Memory_alloc".
When loading my cmemk module, I could tell it to allocate memory from one of the Shared Memory regions (as reserved for OpenMAX applications as I understand it) but then how would I tell my OpenMAX encoding application (that runs in parallel with my DSP application) about this used memory so that OpenMAX didn't use the memory allocated by Codec Engine?
Thanks,
Ralph
P.S.
I know some people are using the VLPB OpenMAX component to manage DSP processing (and thus it doesn't need to manage memory use on the DSP for Codec Engine as Codec Engine isn't in use) but this doesn't seem to be too well supported at the moment so I'm avoiding it.