buffer_add_video_region_of_interest_meta


Description:

[ CCode ( cname = "gst_buffer_add_video_region_of_interest_meta" ) ]
public unowned RegionOfInterestMeta? buffer_add_video_region_of_interest_meta (Buffer buffer, string roi_type, uint x, uint y, uint w, uint h)

Attaches RegionOfInterestMeta metadata to buffer with the given parameters.

Parameters:

buffer

a Buffer

roi_type

Type of the region of interest (e.g. "face")

x

X position

y

Y position

w

width

h

height

Returns:

the RegionOfInterestMeta on buffer.


Namespace: Gst.Video