This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

memory pool

i want to know if there are some APIs can help me alloc memory from a memory pool in the RDK 2.8.Thank you very much

for example  i have to usually malloc 4M for a frame data ,then decode finished release,if i use malloc func ,that may be lost some frames,so i want to use a memory pool

  • Can you explain some more. I didnt undertsand why  malloc is not suitable. There is a Vsys_allocBuf API to allocate physically contiguous memory. The memory is not cached so is not suitable for large CPU copies on A8.You can allocate memory from SharedRegion 1 if you require cached buffers.