buffer_add_video_region_of_interest_meta_id


Description:

[ CCode ( cname = "gst_buffer_add_video_region_of_interest_meta_id" ) ]
public unowned RegionOfInterestMeta? buffer_add_video_region_of_interest_meta_id (Buffer buffer, Quark 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