[Bug 733501] New: v4l2: Fully support v4l2_plane.data_offset

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 21 05:57:30 PDT 2014


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

           Summary: v4l2: Fully support v4l2_plane.data_offset
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: nicolas.dufresne at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


This parameter is not well documented in V4L2 hence was not fully implemented.
It's mostly implemented for DMABUF, but ignored for MMAP.

<hverkuil> 08:06:12> stormer: please don't ignore data_offset. You can test
with this driver:
http://git.linuxtv.org/cgit.cgi/hverkuil/media_tree.git/log/?h=vivid
<hverkuil> 08:06:23> modprobe vivid multiplanar=2
<hverkuil> 08:06:41> Select the NV16 pixformat and plane 0 will have a
data_offset of 128.
<hverkuil> 08:07:00> for both input (video0) and output (video1).
<hverkuil> 08:07:52> remember: bytesused *includes* data_offset, so the actual
size of the image is bytesused-data_offset.

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