GstGLVideoMixerPad
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstPad ╰──GstAggregatorPad ╰──GstVideoAggregatorPad ╰──GstGLBaseMixerPad ╰──GstGLMixerPad ╰──GstGLVideoMixerPad
The opaque GstGLVideoMixerPad structure.
Properties
blend-constant-color-alpha
“blend-constant-color-alpha” gdouble
Blend Constant Color Alpha
Flags : Read / Write
Default value : 0
blend-constant-color-blue
“blend-constant-color-blue” gdouble
Blend Constant Color Green
Flags : Read / Write
Default value : 0
blend-constant-color-green
“blend-constant-color-green” gdouble
Blend Constant Color Green
Flags : Read / Write
Default value : 0
blend-constant-color-red
“blend-constant-color-red” gdouble
Blend Constant Color Red
Flags : Read / Write
Default value : 0
blend-equation-alpha
“blend-equation-alpha” GstGLVideoMixerBlendEquation *
Blend Equation for Alpha
Flags : Read / Write
Default value : add (0)
blend-equation-rgb
“blend-equation-rgb” GstGLVideoMixerBlendEquation *
Blend Equation for RGB
Flags : Read / Write
Default value : add (0)
blend-function-dst-alpha
“blend-function-dst-alpha” GstGLVideoMixerBlendFunction *
Blend Function for Destination Alpha
Flags : Read / Write
Default value : one-minus-src-alpha (7)
blend-function-dst-rgb
“blend-function-dst-rgb” GstGLVideoMixerBlendFunction *
Blend Function for Destination RGB
Flags : Read / Write
Default value : one-minus-src-alpha (7)
blend-function-src-alpha
“blend-function-src-alpha” GstGLVideoMixerBlendFunction *
Blend Function for Source Alpha
Flags : Read / Write
Default value : one (1)
blend-function-src-rgb
“blend-function-src-rgb” GstGLVideoMixerBlendFunction *
Blend Function for Source RGB
Flags : Read / Write
Default value : src-alpha (6)
crop-bottom
“crop-bottom” gint
Defines how many pixels of the input in input size should be cropped on the bottom side.
Flags : Read / Write
Default value : 0
Since : 1.22
crop-left
“crop-left” gint
Defines how many pixels of the input in input size should be cropped on the left side.
Flags : Read / Write
Default value : 0
Since : 1.22
crop-right
“crop-right” gint
Defines how many pixels of the input in input size should be cropped on the right side.
Flags : Read / Write
Default value : 0
Since : 1.22
crop-top
“crop-top” gint
Defines how many pixels of the input in input size should be cropped on the top side.
Flags : Read / Write
Default value : 0
Since : 1.22
sizing-policy
“sizing-policy” GstGLVideoMixerSizingPolicy *
Specifies sizing policy to use. Depending on selected sizing policy, scaled image might not fully cover the configured target rectangle area (e.g., "keep-aspect-ratio"). In that case, any uncovered area will be filled with background unless the uncovered area is drawn by other image.
Flags : Read / Write
Default value : none (0)
Since : 1.24
xalign
“xalign” gdouble
Defines the alignment of the input within the available horizontal space, relative to width and height. Values range from 0.0 (left) to 1.0 (right).
The image is aligned in the available space as if the pivot point is
matching the alignment. For example, setting the xalign
property to 0.0
will align the left edge of the image with the left edge of the bounding
box; 0.5 aligns the horizontal center of the image with the horizontal
center of the bounding box; 1.0 aligns the right edge of the image with the
right edge of the bounding box; and so it goes.
This property is only effective when sizing-policy is set to 'keep-aspect-ratio'.
Flags : Read / Write
Default value : 0.5
Since : 1.24
yalign
“yalign” gdouble
Defines the alignment of the input within the available vertical space, relative to width and height. Values range from 0.0 (top) to 1.0 (bottom).
The image is aligned in the available space as if the pivot point is
matching the alignment. For example, setting the yalign
property to 0.0
will align the top edge of the image with the top edge of the bounding box;
0.5 aligns the vertical center of the image with the vertical center of the
bounding box; 1.0 aligns the bottom edge of the image with the bottom edge
of the bounding box; and so it goes.
This property is only effective when sizing-policy is set to 'keep-aspect-ratio'.
Flags : Read / Write
Default value : 0.5
Since : 1.24
Named constants
GstGLVideoMixerSizingPolicy
Members
none
(0) – None: Image is scaled to fill configured destination rectangle without padding or keeping the aspect ratio
keep-aspect-ratio
(1) – Keep Aspect Ratio: Image is scaled to fit destination rectangle specified by GstGLVideoMixerPad:{xpos, ypos, width, height} with preserved aspect ratio. The empty space of the resulting image will be distributed in the destination rectangle according to the GstGLVideoMixerPad:{xalign, yalign} values
Since : 1.24
The results of the search are