[Bug 702638] v4l2: Optimize negotiation by removing the query filter

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 19 06:09:12 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702638
  GStreamer | gst-plugins-good | git

Sjoerd Simons <sjoerd> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Sjoerd Simons <sjoerd at luon.net> 2013-06-19 13:09:09 UTC ---
commit 8e43c0ec9ea627d3cea0cecf6d3e168bf4d5d09e
Author: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
Date:   Wed Jun 19 12:37:31 2013 +0200

    v4l2: Optimize negotiation by removing the query filter

    As cameras tend to have a quite specific set of capabilities (specific
    framerates for each resolution), getting the peer caps filtered by our
    probed caps can cause a big increase in the caps size which slows down
    things quire a bit.

    As for negotiation v4l2 iterates through the caps of the peer to find the
    first intersection with the probed caps, getting the fully expanded
    intersection of capabilities is not useful.

    Using the same testcase as for bug #702632, adding this patch on top of
    the patches suggested there speeds up getting the inital frame from
    around ~14-15 seconds to around ~3-4 seconds.

    https://bugzilla.gnome.org/show_bug.cgi?id=702638

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