videoBlendScaleLinearRGBA

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 gstvideo.video_info.VideoInfo

the #GstVideoInfo describing the video data in src_buffer

srcBuffer gst.buffer.Buffer

the source buffer containing video pixels to scale

destHeight int

the height in pixels to scale the video data in src_buffer to

destWidth int

the width in pixels to scale the video data in src_buffer to

dest gstvideo.video_info.VideoInfo

pointer to a #GstVideoInfo structure that will be filled in with the details for dest_buffer

destBuffer gst.buffer.Buffer

a pointer to a #GstBuffer variable, which will be set to a newly-allocated buffer containing the scaled pixels.