Functions
gst_video_blend
gboolean
gst_video_blend (GstVideoFrame * dest,
GstVideoFrame * src,
gint x,
gint y,
gfloat global_alpha)
Lets you blend the src image into the dest image
Parameters:
x
–
The x offset in pixel where the src image should be blended
y
–
the y offset in pixel where the src image should be blended
global_alpha
–
the global_alpha each per-pixel alpha value is multiplied
with
Returns
–
No description available
GstVideo.prototype.video_blend
function GstVideo.prototype.video_blend(dest: GstVideo.VideoFrame, src: GstVideo.VideoFrame, x: Number, y: Number, global_alpha: Number): {
}
Lets you blend the src image into the dest image
Parameters:
The x offset in pixel where the src image should be blended
the y offset in pixel where the src image should be blended
the global_alpha each per-pixel alpha value is multiplied
with
GstVideo.video_blend
def GstVideo.video_blend (dest, src, x, y, global_alpha):
Lets you blend the src image into the dest image
Parameters:
The x offset in pixel where the src image should be blended
the y offset in pixel where the src image should be blended
the global_alpha each per-pixel alpha value is multiplied
with
gst_video_blend_scale_linear_RGBA
gst_video_blend_scale_linear_RGBA (GstVideoInfo * src,
GstBuffer * src_buffer,
gint dest_height,
gint dest_width,
GstVideoInfo * dest,
GstBuffer ** dest_buffer)
Scales a buffer containing RGBA (or AYUV) video. This is an internal
helper function which is used to scale subtitle overlays, and may be
deprecated in the near future. Use GstVideoScaler to scale video buffers
instead.
Parameters:
src
–
the GstVideoInfo describing the video data in src_buffer
src_buffer
–
the source buffer containing video pixels to scale
dest_height
–
the height in pixels to scale the video data in src_buffer to
dest_width
–
the width in pixels to scale the video data in src_buffer to
pointer to a GstVideoInfo structure that will be filled in
with the details for dest_buffer
a pointer to a GstBuffer variable, which will be
set to a newly-allocated buffer containing the scaled pixels.
GstVideo.prototype.video_blend_scale_linear_RGBA
function GstVideo.prototype.video_blend_scale_linear_RGBA(src: GstVideo.VideoInfo, src_buffer: Gst.Buffer, dest_height: Number, dest_width: Number): {
}
Scales a buffer containing RGBA (or AYUV) video. This is an internal
helper function which is used to scale subtitle overlays, and may be
deprecated in the near future. Use GstVideo.VideoScaler to scale video buffers
instead.
Parameters:
the source buffer containing video pixels to scale
the height in pixels to scale the video data in src_buffer to
the width in pixels to scale the video data in src_buffer to
GstVideo.video_blend_scale_linear_RGBA
def GstVideo.video_blend_scale_linear_RGBA (src, src_buffer, dest_height, dest_width):
Scales a buffer containing RGBA (or AYUV) video. This is an internal
helper function which is used to scale subtitle overlays, and may be
deprecated in the near future. Use GstVideo.VideoScaler to scale video buffers
instead.
Parameters:
the source buffer containing video pixels to scale
the height in pixels to scale the video data in src_buffer to
the width in pixels to scale the video data in src_buffer to
The results of the search are