Anton Khirnov
ec021d4844
buffer: fix av_buffer_pool_init2() documentation
...
A non-existent av_buffer_pool_can_uninit() function is mentioned instead
of av_buffer_pool_uninit(). Also, this function is to be called by the
caller, not the pool itself.
8 years ago
Anton Khirnov
328e9a15c5
buffer: drop a reference to a non-existing function from the docs
...
This function only ever existed in the draft versions of the API.
9 years ago
Anton Khirnov
721a4efc05
buffer: add support for pools using caller data in allocation
...
This should allow using more complex allocators than simple malloc
wrappers.
9 years ago
Lukasz Marek
bba7b6fc41
Revert "lavu/buffer: add release function"
...
This reverts commit 3144440004
.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Lukasz Marek
3144440004
lavu/buffer: add release function
...
new function allows to unref buffer and obtain its data.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Derek Buitenhuis
af8a47905a
avutil: doxy: Small clarification for av_buffer_create()
...
Explicitly saying it can't hurt.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Michael Niedermayer
dc92464aee
avutil: add av_buffer_get_ref_count()
...
This function is quite usefull for debuging
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Xidorn Quan
c81d2fa96d
avutil/buffer: add get_opaque
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
1cec0624d0
AVBuffer: add a new API for buffer pools
12 years ago
Anton Khirnov
8e401dbe90
lavu: add a new API for reference-counted data buffers.
12 years ago