[Bug 642967] New: [performance] Create variants of _ref/_unref for buffers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 22 07:29:06 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=642967
  GStreamer | gstreamer (core) | git

           Summary: [performance] Create variants of _ref/_unref for
                    buffers
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: bilboed at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


almost 60% of gst_mini_object_ref() is due to
g_type_check_instance_is_a(miniobjectype) due to always passing subclasses of
miniobjects.

In order to reduce that overhead, we should have non-inlined
gst_buffer_ref/_unref that duplicate the gst_mini_object_ref/unref methods but
replace the check for miniobject types by gstbuffer types.

-- 
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