[gstreamer-bugs] [Bug 620412] New: Incomplete support for 15 and 16 bit RGB and BGR formats

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 2 16:01:33 PDT 2010


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

           Summary: Incomplete support for 15 and 16 bit RGB and BGR
                    formats
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: martin.bisson at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=162586)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=162586)
A patch implementing the requested feature

Even though the caps GST_VIDEO_CAPS_RGB_16 and GST_VIDEO_CAPS_RGB_15 are
defined in gst-libs/gst/video/video.h, there is incomplete support for these
formats.

For instance, calling gst_video_format_parse_caps with one of these caps will
fail.

I suggest adding better support for these formats.  I include a patch that
implements this support.

It basically imply:
- adding 4 new video formats to the GstVideoFormat enum, which are
GST_VIDEO_FORMAT_{RGB,BGR}{15,16}
- adding 2 new caps, which are GST_VIDEO_CAPS_BGR_{15,16}
- adding the supporting code in gst-libs/gst/video/video.c in the different
gst_video_format_* functions

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