1. 29 Mar, 2012 1 commit
  2. 28 Mar, 2012 1 commit
  3. 22 Dec, 2011 1 commit
  4. 23 Nov, 2011 1 commit
    • Wim Taymans's avatar
      bufferlist: avoid reading past the array · 03cdd32b
      Wim Taymans authored
      When the foreach function told us to remove the buffer from the list, decrease
      the length of the array or else we might read past the last item in the array.
      03cdd32b
  5. 02 Nov, 2011 1 commit
    • Wim Taymans's avatar
      bufferlist: clean up API · 88e12228
      Wim Taymans authored
      gst_buffer_list_len() -> gst_buffer_list_length()
      gst_buffer_list_sized_new() -> gst_buffer_list_new_sized()
      88e12228
  6. 26 Sep, 2011 1 commit
  7. 29 Aug, 2011 3 commits
  8. 03 May, 2011 1 commit
  9. 19 Apr, 2011 1 commit
  10. 14 Apr, 2011 2 commits
  11. 31 Mar, 2011 1 commit
    • Wim Taymans's avatar
      bufferlist: simplify bufferlists · 468ec5bc
      Wim Taymans authored
      We now have multiple memory blocks as part of the buffers and we can therefore
      reduce the bufferlist to a simple array of buffers.
      468ec5bc
  12. 28 Mar, 2011 2 commits
  13. 11 Mar, 2011 1 commit
    • Jonas Holmberg's avatar
      bufferlist: Use a GQueue instead of a GList · c4c06a2b
      Jonas Holmberg authored
      Adding a buffer to the end of a GstBufferList is supposed to be a fast
      operation, but it was not since the iterator does not advance its
      nextpointer when adding buffers and GList does not have a tail pointer.
      Using a GQueue to store the buffers makes it easier to add buffers to
      the end of the list and this operation will now be much more efficient.
      
      Adding an entire GList of buffers using
      gst_buffer_list_iterator_add_list() will however have to iterate over
      the list being added to be able to update the tail pointer in the
      GQueue.
      c4c06a2b
  14. 23 Feb, 2011 4 commits
  15. 17 Dec, 2010 1 commit
  16. 07 Dec, 2010 1 commit
  17. 17 Sep, 2010 1 commit
  18. 08 Aug, 2010 1 commit
  19. 06 Aug, 2010 2 commits
  20. 08 Apr, 2010 1 commit
  21. 10 Mar, 2010 1 commit
    • Benjamin Otte's avatar
      Fixes for -Wwrite-strings · a9d1a493
      Benjamin Otte authored
      This changes some APIs in compatible ways:
      - Some functions now take "const char *" arguments, not "char *"
      - Some structs now have "conts char *" members, not "char *"
      The changes may cause warnings when compiling with the right warning
      flags. You've been warned.
      
      Also adds -Wwrite-strings as a warning flag in configure.ac.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=611692
      a9d1a493
  22. 07 Feb, 2010 1 commit
  23. 01 Feb, 2010 1 commit
  24. 31 Jan, 2010 1 commit
  25. 11 Aug, 2009 1 commit
  26. 02 Jul, 2009 1 commit
  27. 29 Jun, 2009 2 commits
  28. 19 Jun, 2009 1 commit
    • Wim Taymans's avatar
      bufferlist: Various cleanups · 6438f6f9
      Wim Taymans authored
      Add new method to iterate a bufferlist without having to allocate an iterator.
      Add convenience method for getting an item from the list based on the group and
      index.
      Remove redundant _do_data callback and method.
      Update unit-tests and add some more for the new methods.
      6438f6f9
  29. 12 May, 2009 3 commits
    • Wim Taymans's avatar
      bufferlist: make objects opaque · 2dcbe1a4
      Wim Taymans authored
      2dcbe1a4
    • Wim Taymans's avatar
      bufferlist: fix a comment · 19dc3393
      Wim Taymans authored
      19dc3393
    • Jonas Holmberg's avatar
      bufferlist: add bufferlist code · 27fb4ce7
      Jonas Holmberg authored
      Buffer lists are a means to manage disjoint buffers as one buffer. It's also
      possible to put many of those buffers into a list.
      
      The idea is that when support is added to various elements, we will be able to
      more efficiently slice and dice buffers, reduce the amount of memcpy and also
      reduce data passing overhead.
      
      The implementation is kept simple on purpose, reusing all of the memory
      management features we have for miniobjects and buffers.
      
      Access to the bufferlist object is done with an iterator, which allows for
      efficient iteration and modification of the list.
      
      See #572285
      27fb4ce7