1. 08 May, 2014 7 commits
  2. 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
  3. 25 Feb, 2014 2 commits
  4. 10 Jan, 2014 9 commits
  5. 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:
      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
      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
  6. 25 Nov, 2013 1 commit
  7. 19 Aug, 2013 1 commit
  8. 04 Jun, 2013 1 commit
  9. 29 May, 2013 1 commit
  10. 20 May, 2013 1 commit
  11. 19 Feb, 2013 1 commit
  12. 17 Dec, 2012 1 commit
  13. 04 Nov, 2012 1 commit
  14. 13 Sep, 2012 1 commit
  15. 21 Dec, 2011 1 commit
  16. 04 Nov, 2011 1 commit
  17. 04 Aug, 2011 1 commit
    • Wim Taymans's avatar
      v4l2: activate the pool in fallback · add1cbdb
      Wim Taymans authored
      When nobody is using our pool, activate it ourselves.
      Avoid leaking the buffer array.
      Set default pool configuration with caps.
      Don't keep current_caps, core does that for us now.
  18. 27 Jul, 2011 1 commit
    • Wim Taymans's avatar
      v4l2: remove unused variables · 63fc64dd
      Wim Taymans authored
      Use the more specialized type for the bufferpool.
      Use the size from the driver as the size of the image to read.
      Don't configure the pool when created. This will be done in the setup_allocation
      method later or by upstream for sinks.
      Remove unused properties and variables. Bufferpool sizes are now configured in
      the bufferpool by the elements in the pipeline. We might want to influence the
      pool size later somehow.
  19. 26 Jul, 2011 1 commit
    • Wim Taymans's avatar
      v4l2: rename a variable · 8c424142
      Wim Taymans authored
      Rename the size variable to sizeimage and fill it with the size that has been
      given to use by the v4l2 driver instead of making something up..
  20. 19 Jul, 2011 1 commit
    • Wim Taymans's avatar
      v4l2: Fix sink bufferpool handling · 87d9a57a
      Wim Taymans authored
      Remove old method, use neww _process method for the sink.
      Inform the parent bufferpool class about the settings too. This is needed to let
      it know about the max-buffers.
      Allocate the negotiated max-buffers and initially mmap min-buffers. The idea is
      that the bufferpool will allocate more when needed.
      Improve debugging.
      Only poll in capture mode, it does not seem to work in playback mode on this
  21. 18 Jul, 2011 2 commits
    • Wim Taymans's avatar
      v4l2: More work on bufferpools · 55eb26f1
      Wim Taymans authored
      Add different transport methods to the bufferpool (MMAP and READ/WRITE)
      Do more parsing of the bufferpool config.
      Start and stop streaming based on the bufferpool state.
      Make separate methods for getting a buffer from the pool and filling it with
      data. This allows us to fill buffers from other pools too. Either use copy or
      read to fill up the target buffers.
      Add property to force a transfer mode in v4l2src.
      Increase default number of buffers to 4.
      Negotiate bufferpool and its properties in v4l2src.
    • Wim Taymans's avatar
      v4l2: add IO method enum · 39716c02
      Wim Taymans authored
  22. 15 Jul, 2011 1 commit
    • Wim Taymans's avatar
      v4l2: convert to GstBufferPool · 21f532ae
      Wim Taymans authored
      Extend from GstBufferPool.
      Handle the lifetime of the pool buffers correctly with the start/stop vmethods.
      Map acquire and release directly to QBUF and DQBUF. We still expose an explicit
      qbuf for the v4l2sink for now.
  23. 14 Jul, 2011 1 commit
  24. 13 Jul, 2011 1 commit
    • Wim Taymans's avatar
      v4l2: move capture code to device object · 7c5f5b1b
      Wim Taymans authored
      Move the details of how to capture to the device object. Remove the
      v4l2src_calls.[ch] files because they are empty now.
      Provide two simple methods to get and return a buffer to the device.
      Also do a slow copy when the buffer is not from our pool.