Pyrdown algorithm doesn´t complete the second interation DMA

Hi, I am using pynqZ1 to create image pyramids using the function xf::pyrdown. My algorithm is working and the output is fine, it changes the image from 1024x1024 pixels to 512x512. But if I want to convert the 512x512 image again to 256x256 the output is this:

The bottom part of the output image is not right, and the DMA get stuck in dma.recvchannel.wait()

Any idea why is this happening? thanks

Maybe you want to double check if the image you transfer and receive has the correct size. Usually the HLS IP is only capable of working on a fixed size; if you want to change the input/output size, you probably need to reimplement it with a different set of parameter.