Altera_Forum
Honored Contributor
11 years agoVIP Scaler II Megacore: Garbage at bottom of image
Hi,
I'm trying to upscale a 1024x768 image to 1280x1024 using the Altera VIP Scaler II IP Core. I have set up the Clocked Video Input IP core to receive the image signal, then the image is upscaled by the VIP Scaler II IP Core and finally converted back using the Clocked Video Output IP core. Using nearest neighbor algorithm this works great, the image is beeing displayed completely on the connected TFT display. But when I change to a better algorithm like bilinear or polyphase interpolation, approximately 5 lines at the bottom of the screen show garbage and the unterflow signal goes high. All other pixels are beeing displays correctly. I have tried all kinds of different settings in all 3 IP cores like changing FIFO depth to the maximum possible, but there is absolutely no change in the output image. It looks like the scaling algorithm is waiting for more data at the end of the image frame to finish the upscaling process and therefore the fifo in the Video Output IP core is running empty, repeating the last available pixel for the rest of the image. Sine I do not have any external memory connected, I can't add a frambuffer. But I don't think this is the actual problem, because changing the fifo settings does not change anything. Does anybody have other suggestions of what might be the problem and how to solve it? I have attached screenshots of the VIP Scaler II and Clocked Video Output IP core settings. Probably I did miss something simple.