Top | ![]() |
![]() |
![]() |
![]() |
struct GstGLVideoMixer { GstGLMixer mixer; GstGLVideoMixerBackground background; GstGLShader *shader; GstGLShader *checker; GLuint vao; GLuint vbo_indices; GLuint checker_vbo; GstGLMemory *out_tex; gboolean output_geo_change; };
The different backgrounds compositor can blend over.
checker pattern background |
||
solid color black background |
||
solid color white background |
||
background is left transparent and layers are composited using "A OVER B" composition rules. This is only applicable to AYUV and ARGB (and variants) as it preserves the alpha channel and allows for further mixing. |