blend_scale_linear_RGBA


Description:


public void blend_scale_linear_RGBA (Info src, Buffer src_buffer, int dest_height, int dest_width, out unowned Info dest, out Buffer 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 Scaler to scale video buffers instead.

Parameters:

src

the Info 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

dest

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

dest_buffer

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


Namespace: Gst.Video