[Bug 704070] video: Add Region Of Interest (roi) meta

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 14 22:51:11 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=704070
  GStreamer | gst-plugins-base | 1.x

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |702722

--- Comment #3 from Sebastian Dröge <slomo at circular-chaos.org> 2013-07-15 05:51:03 UTC ---
Putting comments from Wim from the other bug here:

Let's add a unique ID to the ROI and a parent ID:

struct ROI {
  GstMeta meta

  gint id;
  gint parent_id;
  GQuark roi_type;
  guint x, y, width, height;
}

this way we can:

 - add more meta later to describe the ROI bounding rectangle with ID in more
   detail
 - Make a big ROI with sub ROI having the parent_id of the big ROI to make
   subregions.

For arbitrary shapes, I would now advertise the ROI as a bounding rectangle
containing the object(s) of interest, for the shape of the actual object(s) we
would need another meta to describe them.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list