1. 13 Mar, 2015 1 commit
  2. 25 Feb, 2015 1 commit
    • Aurélien Zanelli's avatar
      v4l2bufferpool: fix import_userptr() in single-planar API when n_planes > 1 · 600027a1
      Aurélien Zanelli authored
      In the V4L2 single-planar API, when format is semi-planar/planar,
      drivers expect the planes to be contiguous in memory.
      So this commit change the way we handle semi-planar/planar format
      (n_planes > 1) when we use the single-planar API (group->n_mem == 1).
      
      To check that planes are contiguous and have expected size, ie: no
      padding. We test the fact that plane 'i' start address + plane 'i'
      expected size equals to plane 'i + 1' start address. If not, we return
      in error.
      
      Math are done in bufferpool rather than in allocator because the
      former is aware of video info.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=738013
      600027a1
  3. 24 Nov, 2014 1 commit
  4. 21 Nov, 2014 1 commit
  5. 09 Sep, 2014 2 commits
  6. 26 May, 2014 1 commit
  7. 25 May, 2014 1 commit
  8. 24 May, 2014 1 commit
  9. 15 May, 2014 1 commit
  10. 08 May, 2014 12 commits
  11. 15 Mar, 2014 1 commit
    • Nicolas Dufresne's avatar
      v4l2: Use a copy of videodev2.h header · 418a4940
      Nicolas Dufresne authored
      With years the amount of ifdef have grown up and we are not even sure if the
      old code path compiles. Each time we need to update the v4l2 framework to add
      the new feature, we break compilation on older kernel. With exception of two
      controls in the video orientation control, this patch get rid of all ifdef by
      including the latest version of videodev2.h inside GStreamer.
      
      Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723446
      418a4940
  12. 25 Feb, 2014 2 commits
  13. 10 Jan, 2014 9 commits
  14. 04 Dec, 2013 1 commit
    • Julien Isorce's avatar
      v4l2: add support for multi-planar V4L2 API · 61ae84b5
      Julien Isorce authored
      This api is in linux kernel since version 2.6.39,
      and present in all version 3.
      
      The commit that adds the API in master branch of the
      linux kernel source is:
      https://github.com/torvalds/linux/commit/f8f3914cf922f5f9e1d60e9e10f6fb92742907ad
      
      v4l2 doc: "Some devices require data for each input
      or output video frame to be placed in discontiguous
      memory buffers"
      
      There are newer structures 'struct v4l2_pix_format_mplane'
      and 'struct v4l2_plane'.
      So the pixel format is not setup with the same API when using
      multi-planar.
      
      Also for gst-v4l2, one of the difference is that in GstV4l2Meta
      there are now one mem pointer for each maped plane.
      
      When not using multi-planar, this commit takes care of keeping
      the same code path than previously. So that the 2 cases are
      in two different blocks triggered from V4L2_TYPE_IS_MULTIPLANAR.
      
      Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=712754
      61ae84b5
  15. 25 Nov, 2013 1 commit
  16. 19 Aug, 2013 1 commit
  17. 04 Jun, 2013 1 commit
  18. 29 May, 2013 1 commit
  19. 20 May, 2013 1 commit