Altera_Forum
Honored Contributor
14 years agoAlpha blending mixer's alpha blending port.
hi,
I'm using the alpha blending mixer inorder to mix two video streams, one is 800x600(background layer) while the other is 640x480(overlay). In addition I'w activated the alpha blending port inorder to "draw" shapes on the 640x480 layer. The mixing of the layer seem to be working and also I'm able to "draw" shapes in most parts of the 640x480 stream. The problem is that at certain columns (column 3 to 5 and columns 296 to 299) in the 640x480 it doesnt seem that the alpha value provided to the alpha channel are taking effect on the output screen. When providing alpha values in columns 6 and 300 the alpha values are "smeard" on to a couple of the following columns on the output screen. Another strange thing is that if I for instance start placing the alpha value in column 2 and stop in colum 7, then all the columns in between are getting alpha values(I'm only using 255 or 0 for the 8 bit alpha values). I'm using signaltap to see what transactions are taking place, and I'we noticed that the source "ready" signal of the 640x480 stream goes low at columns 6 and 300, so this might have something to do with the issue. Is it so that the alpha channel "shuts down" at around the time the source "ready" signal goes low ? If so, how can I correclty provide alpha values for the affected columns ? Would really appreciate if someone could give me some direction/guidance here