FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6514 Discussions

Alpha VIP mixer overlay HEIGHT

Altera_Forum
Honored Contributor II
1,312 Views

hi, 

 

I'm using the alpha blending mixer (alpha channels are not used), with 640x480 as the background layer.  

 

In addition, 2 overlay channels are used, making it totally 3 layers being mixed. 

 

The 2 overlay channels are made to fit whitin the borders of the 640x480 background layer as they are scaled prior to being feed to the mixer. 

 

overlay 1 : CVI -> FRAMEBUFFER -> SCALER -> MIXER 

 

overlay 2 : TPG -> CLIPPER -> SCALER -> MIXER 

 

I'm able to clock the 640x480 mixer output to an output screen.  

 

The problem occurs when I try scaling the HEIGHT of the 2 overlay layers. It looks like I'm not able to scale the HEIGHT to more than approx 225 for the overlays when they are displayed on the output screen. What I need to do is to scale the overlay HEIGHT's to fit within the 480 height of the background layer. If anyone can give me some pointers it would be appreciated.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
598 Views

hi again, 

 

I solved the problem. 

 

In SOPC when activating run-time control of image size for the scaler, the input and output max size is determined from the parameters provided. In this case the "Output image height" parameter was set to 240, when changing this to 480 I was able to change the image HEIGHT to 480 at run-time.
0 Kudos
Reply