videoBlendScaleLinearRGBA
fn
void 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
src | the #GstVideoInfo describing the video data in src_buffer |
srcBuffer | the source buffer containing video pixels to scale |
destHeight | the height in pixels to scale the video data in src_buffer to |
destWidth | the width in pixels to scale the video data in src_buffer to |
dest | pointer to a #GstVideoInfo structure that will be filled in with the details for dest_buffer |
destBuffer | a pointer to a #GstBuffer variable, which will be set to a newly-allocated buffer containing the scaled pixels. |