Function

GstVideo-1.0GstVideovideo_blend_scale_linear_RGBA

  • 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

    • src: VideoInfo

      the GstVideo.VideoInfo describing the video data in src_buffer

    • src_buffer: Gst.Buffer

      the source buffer containing video pixels to scale

    • dest_height: number

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

    • dest_width: number

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

    Returns [VideoInfo, Gst.Buffer]