Slow PynqBuffer to list conversion


I am using the DMA to stream some rgb images to an accelerator following:

    in_buffer[:] = np.frombuffer(, dtype=np.uint8)
    dma.recvchannel.wait() = out_buffer.tolist()

I receive a list in, which I have to convert to a PynqBuffer to send from PS to PL which I get back in another PynqBuffer but I need to convert that into a list back to send it somewhere else. That works fine, but the issue is that out_buffer.tolist() is slower than doing the img processing on software.

Is there any better way to convert from PynqBuffer back to a list, faster?

Thanks for the help.