bufferlist: add bufferlist code
authorJonas Holmberg <jonas.holmberg at axis.com>
Tue, 12 May 2009 09:51:37 +0000 (11:51 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 May 2009 13:18:52 +0000 (15:18 +0200)
commit27fb4ce76c79496a561652267c88e4772f18e24b
tree42b96b1d7664567363d84a319bbcfc9d177d9800
parent6c1dce01d13da704b3661826e0ed716b9c416207
bufferlist: add bufferlist code

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
gst/gstbufferlist.c [new file with mode: 0644]
gst/gstbufferlist.h [new file with mode: 0644]