1. 18 Jan, 2012 1 commit
  2. 16 Jan, 2012 1 commit
  3. 09 Jan, 2012 1 commit
  4. 06 Jan, 2012 4 commits
  5. 05 Jan, 2012 3 commits
  6. 03 Jan, 2012 1 commit
  7. 11 Nov, 2011 1 commit
  8. 10 Nov, 2011 2 commits
  9. 28 Sep, 2011 1 commit
  10. 26 Sep, 2011 1 commit
  11. 29 Aug, 2011 1 commit
    • 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
      f3b0d3cd
  12. 10 Aug, 2011 1 commit
  13. 04 Aug, 2011 1 commit
  14. 11 Jul, 2011 2 commits
    • Wim Taymans's avatar
      buffer: fix negative offsets some more · 8461249f
      Wim Taymans authored
      Allow for negative offsets when doing memory copy and share.
      Add fast path in the _get_sizes() function.
      Fix resize for negative offset and expanding the buffer.
      Add some unit tests.
      8461249f
    • Wim Taymans's avatar
      buffer: add api to get the current memory offset · abf62936
      Wim Taymans authored
      Also return the offset in a GstMemory block with the get_sizes() method. This
      allows us to figure out how much prefix there is unused.
      Change the resize function so that a negative offset can be given. This would
      make it possible to resize the buffer so that the prefix becomes available.
      Add gst_buffer_get_sizes() to return the offset and maxsize as well as the size.
      Also change the buffer resize method so that we can specify a negative offset
      to remove prefix bytes.
      abf62936
  15. 22 Jun, 2011 1 commit
  16. 10 Jun, 2011 3 commits
  17. 08 Jun, 2011 2 commits
    • Wim Taymans's avatar
      memory: Require implementation to implement _share · b84fff07
      Wim Taymans authored
      Require the memory implementations to implement a share operation. This allows
      us to remove the fallback share implementation which uses a different allocator
      implementation and complicates things too much.
      Update design doc a bit.
      b84fff07
    • Wim Taymans's avatar
      memory: cleanups and improve docs · f6dc8eba
      Wim Taymans authored
      Make the fallback copy use the same memory allocator as the original object.
      Improve some docs.
      Require an alloc function when registering an allocator.
      Remove gst_memory_allocator_get_default() and merge the feature in
      gst_memory_allocator_find()
      Fix locks on the hashtable.
      Remove defined but not-implemented gst_memory_span() method.
      f6dc8eba
  18. 07 Jun, 2011 2 commits
    • Wim Taymans's avatar
      memory: pass user_data to the alloc function · cfd3faef
      Wim Taymans authored
      Pass the user data that was passed to _register to the alloc function of an
      allocator.
      cfd3faef
    • Wim Taymans's avatar
      memory: use allocators to allocate memory · acb3ee9b
      Wim Taymans authored
      Rename the GstMemoryImpl to GstMemoryAllocator because that's really what it is.
      Add an alloc vmethod to the allocator members.
      Improve registration of allocators.
      Add methods to get and set the default allocator
      Always use an allocator to allocate memory, use the default allocator when NULL
      is passed.
      Add user_data to the allocator Info so that we can pass extra info to the
      allocator new method.
      acb3ee9b
  19. 02 Jun, 2011 2 commits
  20. 06 Apr, 2011 1 commit
  21. 30 Mar, 2011 2 commits
  22. 29 Mar, 2011 2 commits
  23. 28 Mar, 2011 4 commits