videoBlendScaleLinearRGBA

fnvoid videoBlendScaleLinearRGBA(gstvideo.video_info.VideoInfo src, gst.buffer.Buffer srcBuffer, int destHeight, int destWidth, out gstvideo.video_info.VideoInfo dest, out gst.buffer.Buffer destBuffer)

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

srcthe #GstVideoInfo describing the video data in src_buffer
srcBufferthe source buffer containing video pixels to scale
destHeightthe height in pixels to scale the video data in src_buffer to
destWidththe width in pixels to scale the video data in src_buffer to
destpointer to a #GstVideoInfo structure that will be filled in with the details for dest_buffer
destBuffera pointer to a #GstBuffer variable, which will be set to a newly-allocated buffer containing the scaled pixels.