get_pixels_unscaled_argb


Description:

public unowned Buffer get_pixels_unscaled_argb (OverlayFormatFlags flags)

Retrieves the pixel data as it is.

This is useful if the caller can do the scaling itself when handling the overlaying. The rectangle will need to be scaled to the render dimensions, which can be retrieved using get_render_rectangle.

Parameters:

this

a OverlayRectangle

flags

flags. If a global_alpha value != 1 is set for the rectangle, the caller should set the GLOBAL_ALPHA flag if he wants to apply global-alpha himself. If the flag is not set global_alpha is applied internally before returning the pixel-data.

Returns:

a Buffer holding the ARGB pixel data with Meta set. This function does not return a reference, the caller should obtain a reference of her own with gst_buffer_ref if needed.