42 Commits (3dc7a9f6239d909b3e66712b32380822466882af)

Author SHA1 Message Date
Andreas Rheinhardt d576b37fa7 avutil/buffer: Never poison returned buffers 2 years ago
Andreas Rheinhardt 4e0da7d311 avutil/buffer: Avoid allocation of AVBuffer when using buffer pool 3 years ago
James Almer ccfdef79b1 avutil/buffer: constify some function parameters 3 years ago
Andreas Rheinhardt ef6a9e5e31 avutil/buffer: Switch AVBuffer API to size_t 4 years ago
James Almer 14040a1d91 avutil/buffer: change public function and struct size parameter types to size_t 4 years ago
James Almer 45a2902976 avutil/buffer: free all pooled buffers immediately after uninitializing the pool 4 years ago
Anton Khirnov 68918d3b7f lavu/buffer: add a convenience function for replacing buffers 4 years ago
Nicolas George 2b71cd3e0b lavu/buffer: forward av_buffer_realloc() error code. 4 years ago
James Almer b6c8444e23 avutil/buffer: separate public and internal flags inside AVBuffers 5 years ago
James Almer ec39c2276a avutil/buffer: use the default allocator if none is provided to av_buffer_pool_init2() 5 years ago
Marton Balint 16685114d5 avutil/buffer: add av_buffer_pool_buffer_get_opaque 5 years ago
Zhao Zhili 71fd72070c avutil/buffer: use appropriate atomic operations 5 years ago
Clément Bœsch 67d8eabdbb lavu/buffer: drop USE_ATOMICS 8 years ago
Anton Khirnov 27079a426c buffer: convert to stdatomic 8 years ago
Anton Khirnov 24a362569b buffer: fix av_buffer_realloc() when the data is offset wrt buffer start 8 years ago
Anton Khirnov 721a4efc05 buffer: add support for pools using caller data in allocation 9 years ago
Michael Niedermayer 26d81b5703 avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in av_buffer_make_writable() 10 years ago
Michael Niedermayer 35fad1e9c9 avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in av_buffer_realloc() 10 years ago
Michael Niedermayer b4f5da2651 avutil/buffer: factor buffer_replace() out 10 years ago
Michael Niedermayer 890d8f44fd avutil/buffer: add #if USE_ATOMICS around atomics specific functions to ensure sync types arent mixed by mistake 10 years ago
Michael Niedermayer c299b6fd08 avutil/buffer: Move USE_ATOMICS to thread.h to avoid it becoming out of sync with it 10 years ago
wm4 fbd6c97f9c lavu: fix memory leaks by using a mutex instead of atomics 10 years ago
Lukasz Marek bba7b6fc41 Revert "lavu/buffer: add release function" 11 years ago
Lukasz Marek 3144440004 lavu/buffer: add release function 11 years ago
Stefano Sabatini 84be806982 lavu: define FF_MEMORY_POISON and use it 12 years ago
Michael Niedermayer dc92464aee avutil: add av_buffer_get_ref_count() 12 years ago
Xidorn Quan c81d2fa96d avutil/buffer: add get_opaque 12 years ago
Michael Niedermayer 8e944891ce avutil/buffer: remove redundant memory poisoning 12 years ago
Michael Niedermayer 058c002932 avutil/buffer: support memory poisoning 12 years ago
Michael Niedermayer f1c3d8b344 avutil/add_to_pool: remove unused assgnment 12 years ago
Michael Niedermayer cea3a63ba3 avutil/buffer: Fix race in pool. 12 years ago
Michael Niedermayer c603f22683 avutil/get_pool: remove dead operations whichs result is never used. 12 years ago
Michael Niedermayer e3be7b1159 avutil/get_pool: Remove redundant initial atomic operation 12 years ago
Clément Bœsch 80661e0f55 buffer: use the atomic get instead of the add and fetch variant. 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