Altera_Forum
Honored Contributor
12 years agoVideo 90/180/270 degree rotate function
Would any one of you experts be able to help with how to design a video rotate function ? It would only need to do the 90 / 180 / -90 degree rotations.
I have VIP video path working for HDMI input output using external HDMI chips and feeding RGB to/from FPGA processing system. I also have DDR2 in the system. I use qsys and VIP blocks for this. Everything works just fine but now I would want to add a rotate function and I am running into trouble. So basically I would imagine the full frame would first be stored into the DDR2 and then the reading routine would need to be changed. However, there is no access to modify any VIP blocks.. The VIP framebuffer just writes and reads automatically frame by frame... Also, I'm not sure if I'm missing some crucial information such as the DDR cannot be used because each pixel in the 90/-90 rotate would be fetched from different rows and I believe row access is slow on the memory. 480p resolution would be enough for this.. no 1080p is needed. Appreciate any help!