Altera_Forum
Honored Contributor
16 years agoVideo IP Scaler control
Hello,
I'm having trouble using the Scaler in the Video IP suite. I have instantiated the scaler using the megawizard and my control logic is custom. I have instantiated a fixed scaler in my system and it works just fine (no input or output sizes needed on the ST or MM interfaces). When trying to set the input and output image sizes the scaler accepts the first few pixels and then deasserts din_ready never to assert it again. I am configuring the scaler in the following way. Reset Scaler. Avalon MM interface : Set go bit to zero. Wait for status bit to be zero. Set the go bit to one. Avalon ST interface : Send control packet (startofpacket & Data = 0xF) Send Width and Height nibbles. Send control packet (endofpacket & Data = 0x0(progressive)) Send control packet(startofpacket & Data = 0x0(Video data)) start sendig data. the scaler takes 3 pixels and then deasserts din_ready and the video flow stops. How do the width and height nibbles fit into a parallell data stream of 8 bits per pixel and 3 color planes in parallel. the documentation is a little unclear and I have tried some different nibble groupings. Any help or pointers would be greatly appreciated ! Thanks :D