Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

VIP Alpha Blending Mixer

I have successfully used the VIP alpha blending mixer as picture-in-picture (i.e. without alpha port enabled) with 4:2:2 YCbCr formatted videos. Now I'm trying to use the alpha port with the same video formats but it's not working. The mixer seems to be stalled. Does the alpha channel have any special requirement when the mixer is used in 4:2:2 mode?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No, there's no special requirement beyond what is already described in the manual. How are you generating your alpha channel data?

    From the ug_vip.pdf :

    --- Quote Start ---

    When you turn on Alpha blending in the Alpha Blending Mixer parameter editor, the Avalon-ST input ports for the alpha channels expect a video stream compliant with the Avalon-ST Video protocol. The first value in each packet, transmitted while the startofpacket signal is high, contains the packet type identifier 0. This condition holds true even when the width of the alpha channels data ports is less than 4 bits wide. The last alpha value for the bottom-right pixel is transmitted while the endofpacket signal is high.

    --- Quote End ---