[gstreamer-bugs] [Bug 619828] New: [API] adapter: add masked_scan_uint32_peek

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 27 06:50:08 PDT 2010


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

           Summary: [API] adapter: add masked_scan_uint32_peek
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mnauw at users.sourceforge.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=162100)
 View: https://bugzilla.gnome.org/attachment.cgi?id=162100
 Review: https://bugzilla.gnome.org/review?bug=619828&attachment=162100

Add masked_scan_uint32_peek

That is, extend masked_scan_uint32 to not only returned the offset where a
match was found (if any), but also the uint32 that matched at that location, as
it is available for free anyway.

It is fairly typical to scan for some marker/pattern and then need some other
byte(s) that are pretty much nearby, which can then be obtained immediately
this way, without having to go through _copy.

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