1. 29 Aug, 2011 2 commits
    • Wim Taymans's avatar
      init: add _get_type() functions · f3b0d3cd
      Wim Taymans authored
      Remove gst_mini_object_register() and add a GST_DEFINE_MINI_OBJECT macro to
      define a _get_type() function for the boxed miniobject.
      Remove a bunch of custom _get_type() functions and replace them with the
      miniobject macro.
      Rename some _init method to _priv_*_initialize() like the rest of them.
      Inspired by patch from Johan Dahlin and see bug #657603
    • Wim Taymans's avatar
  2. 03 May, 2011 1 commit
  3. 19 Apr, 2011 1 commit
  4. 14 Apr, 2011 2 commits
  5. 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.
  6. 28 Mar, 2011 2 commits
  7. 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
  8. 23 Feb, 2011 4 commits
  9. 17 Dec, 2010 1 commit
  10. 07 Dec, 2010 1 commit
  11. 17 Sep, 2010 1 commit
  12. 08 Aug, 2010 1 commit
  13. 06 Aug, 2010 2 commits
  14. 08 Apr, 2010 1 commit
  15. 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.
  16. 07 Feb, 2010 1 commit
  17. 01 Feb, 2010 1 commit
  18. 31 Jan, 2010 1 commit
  19. 11 Aug, 2009 1 commit
  20. 02 Jul, 2009 1 commit
  21. 29 Jun, 2009 2 commits
  22. 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
      Remove redundant _do_data callback and method.
      Update unit-tests and add some more for the new methods.
  23. 12 May, 2009 3 commits
    • Wim Taymans's avatar
      bufferlist: make objects opaque · 2dcbe1a4
      Wim Taymans authored
    • Wim Taymans's avatar
      bufferlist: fix a comment · 19dc3393
      Wim Taymans authored
    • 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