[Bug 693817] New: ffmpegcolorspace: add direct conversion from UYVY to NV12

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Feb 14 07:47:29 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=693817
  GStreamer | gst-plugins-base | 0.10.x

           Summary: ffmpegcolorspace: add direct conversion from UYVY to
                    NV12
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ospite at studenti.unina.it
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hi,

right now conversion from UYVY to NV12 passes through an intermediate
conversion; a direct conversion routine can perform better and can be more
easily optimized to save even more CPU and battery on embedded systems.

A scenario when a conversion from UYVY to NV12 is needed is not rare at all: a
lot of camera sensors provide YUV422 data using the UYVY pixel format, and many
encoders (e.g. h264) expect data in the NV12 pixel format.

I am attaching a uyvy422_to_nv12() routine, plus a NEON optimized version of
the code, both developed by Michael Trimarchi.

The project the code has been written for still uses 0.10 so the patches are
against this version, let us know if we should submit patches for videoscale in
1.x and then propose a backport of those.

Thanks,
   Antonio

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