1. 14 Apr, 2011 2 commits
  2. 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
  3. 28 Mar, 2011 2 commits
  4. 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
  5. 23 Feb, 2011 4 commits
  6. 17 Dec, 2010 1 commit
  7. 07 Dec, 2010 1 commit
  8. 17 Sep, 2010 1 commit
  9. 08 Aug, 2010 1 commit
  10. 06 Aug, 2010 2 commits
  11. 08 Apr, 2010 1 commit
  12. 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
  13. 07 Feb, 2010 1 commit
  14. 01 Feb, 2010 1 commit
  15. 31 Jan, 2010 1 commit
  16. 11 Aug, 2009 1 commit
  17. 02 Jul, 2009 1 commit
  18. 29 Jun, 2009 2 commits
  19. 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
  20. 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