[gstreamer-bugs] [Bug 555196] New: Move floating point endian conversion macros into core

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Oct 6 02:46:59 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=555196

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: Move floating point endian conversion macros into core
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


It would probably be a good idea to move the endian conversion macros from
floatcast.h into some place in core. They should of course be guarded by

#ifndef GFLOAT_SWAP_LE_BE

#endif

kind of stuff as it might happen that they end up in GLib at some point.

gst/gstutils.h might be the appropiate place for them.

Afterwards we should also add GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) macros.


The rationale for this is that it might be also useful at several places in
core, for example in the GstByteReader I'm going to commit before next release
;)


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=555196.




More information about the Gstreamer-bugs mailing list