Hello @Bio_TICFSL ,
Thank you for suggesting the imx-test application. I was able to use the pxp_v4l2_test application from imx-test package for setting global alpha.
I am writing a RGB pattern onto fb0, which will be the GUI. Then I am using the pxp_v4l2_test application to play a YUV video with global alpha value of 100. Here is the command I am using for pxp_v4l2_test application:
pxp_v4l2_test -sx 800 -sy 480 -res 352:240 -a 100 /tmp/fb-352x240.yuv BLANK
With this I can see the RGB and the YUV video simultaneously as seen in the attached image. But both are translucent, so we see blended image of both. I am trying to make both buffers opaque so that I can properly display the YUV video over the RGB image. I have tried the ALPHA_OVERRIDE bit in AS_CTRL register, but they did not affect the outcome.
Could you suggest some way to achieve opaque video over the image?