Forum Discussion
Altera_Forum
Honored Contributor
14 years agoVIP suite - how can I make my Y channel into 3xY in parallel in SOPC ?
hi, In my design I want to mix two streams with the alpha blending mixer. One stream, the background layer is 800x600 represented in RGB, three color planes in parallel. The oth...
Altera_Forum
Honored Contributor
14 years agoHi,
The easy hack would be to install a custom block on the sequential stream to triplicate each luma sample inside image packets. ...,Y_10, Y_11, Y_12,... -> ...,Y_10, Y_10, Y_10, Y_11, Y_11, Y_11, Y_12, Y_12, Y_12,... You can then use the color plane sequencer to do the transformation: Ya, Yb, Yc in sequence -> Ya:Yb:Yc in parallel The reason I am suggesting to do it this way is to save you the trouble of switching the format of the control packet from sequence to parallel and to let the color plane sequencer handle that for you. The main issue with this suggestion is that it is only applicable if the input pixel rate is less than a third of the clock rate. If not, your custom block will have to apply too much back-pressure and will overflow the input. If this is the case then writing your own custom color plane sequencer may be the easiest route.