ffmpeg/libavutil
James Almer 45a2902976 avutil/buffer: free all pooled buffers immediately after uninitializing the pool
No buffer will be fetched from the pool after it's uninitialized, so there's
no benefit from waiting until every single buffer has been returned to it
before freeing them all.
This should free some memory in certain scenarios, which can be beneficial in
low memory systems.

Based on a patch by Jonas Karlman.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
2021-02-24 10:45:30 -03:00
..
aarch64 arm/aarch64: Use mach_absolute_time as timer on apple platforms 2021-02-21 22:41:34 +02:00
arm arm/aarch64: Use mach_absolute_time as timer on apple platforms 2021-02-21 22:41:34 +02:00
avr32
bfin
mips lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
ppc
sh4
tests lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
tomi
x86
.gitignore
Makefile libavutil: introduce AVFilmGrainParams side data 2020-11-25 23:06:33 +01:00
adler32.c
adler32.h
aes.c
aes.h
aes_ctr.c
aes_ctr.h
aes_internal.h All: update names in copyright headers 2021-01-20 01:02:56 -06:00
attributes.h
audio_fifo.c
audio_fifo.h
avassert.h
avsscanf.c avutil/avsscanf: fix possible overreads when dealing with %c or %s 2020-12-02 13:54:53 +01:00
avstring.c
avstring.h
avutil.h
avutilres.rc
base64.c
base64.h
blowfish.c
blowfish.h
bprint.c
bprint.h
bswap.h
buffer.c avutil/buffer: free all pooled buffers immediately after uninitializing the pool 2021-02-24 10:45:30 -03:00
buffer.h
buffer_internal.h
camellia.c
camellia.h
cast5.c
cast5.h
channel_layout.c
channel_layout.h
color_utils.c
color_utils.h
colorspace.h
common.h avutil/common: Move everything inside inclusion guards 2021-02-11 09:07:10 +01:00
cpu.c
cpu.h
cpu_internal.h
crc.c
crc.h
cuda_check.h
des.c
des.h
dict.c
dict.h
display.c
display.h
dovi_meta.c
dovi_meta.h
downmix_info.c
downmix_info.h
dynarray.h
encryption_info.c
encryption_info.h
error.c
error.h
eval.c libavutil/eval: Remove CONFIG_TRAPV special handling 2021-02-10 12:28:29 +01:00
eval.h
ffmath.h
fifo.c
fifo.h
file.c
file.h
file_open.c
film_grain_params.c libavutil: introduce AVFilmGrainParams side data 2020-11-25 23:06:33 +01:00
film_grain_params.h avutil/film_grain_params: fix doxy for ar_coeff_* fields 2020-12-03 13:25:21 -03:00
fixed_dsp.c
fixed_dsp.h
float_dsp.c
float_dsp.h
frame.c libavutil: introduce AVFilmGrainParams side data 2020-11-25 23:06:33 +01:00
frame.h libavutil/frame.h: correct typo for AVFilmGrainParams in comment 2021-01-27 13:13:47 +08:00
hash.c
hash.h
hdr_dynamic_metadata.c
hdr_dynamic_metadata.h
hmac.c
hmac.h
hwcontext.c
hwcontext.h
hwcontext_cuda.c
hwcontext_cuda.h
hwcontext_cuda_internal.h
hwcontext_d3d11va.c
hwcontext_d3d11va.h
hwcontext_drm.c hwcontext_drm: make dependency on Linux kernel headers optional 2020-12-30 23:14:46 +01:00
hwcontext_drm.h
hwcontext_dxva2.c
hwcontext_dxva2.h
hwcontext_internal.h
hwcontext_mediacodec.c
hwcontext_mediacodec.h
hwcontext_opencl.c
hwcontext_opencl.h
hwcontext_qsv.c
hwcontext_qsv.h
hwcontext_vaapi.c
hwcontext_vaapi.h
hwcontext_vdpau.c
hwcontext_vdpau.h
hwcontext_videotoolbox.c
hwcontext_videotoolbox.h
hwcontext_vulkan.c avutils/vulkan: hwmap, respect src frame resolution 2021-01-22 04:30:42 +01:00
hwcontext_vulkan.h
imgutils.c
imgutils.h
imgutils_internal.h
integer.c
integer.h
internal.h lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
intfloat.h
intmath.c
intmath.h
intreadwrite.h
lfg.c
lfg.h
libavutil.v
libm.h
lls.c
lls.h lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
log.c
log.h
log2_tab.c
lzo.c
lzo.h
macros.h
mastering_display_metadata.c
mastering_display_metadata.h
mathematics.c avutil/mathematics: Fix undefined negation in av_compare_ts() 2021-02-10 12:28:29 +01:00
mathematics.h
md5.c
md5.h
mem.c
mem.h lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
mem_internal.h lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
motion_vector.h
murmur3.c
murmur3.h
opt.c avutil/opt: add AV_OPT_FLAG_DEPRECATED option 2020-12-05 09:00:53 +08:00
opt.h
parseutils.c
parseutils.h
pca.c
pca.h
pixdesc.c
pixdesc.h
pixelutils.c
pixelutils.h
pixfmt.h
qsort.h
random_seed.c
random_seed.h
rational.c
rational.h
rc4.c
rc4.h
replaygain.h
reverse.c
reverse.h
ripemd.c
ripemd.h
samplefmt.c
samplefmt.h
sha.c
sha.h
sha512.c
sha512.h
slicethread.c
slicethread.h
softfloat.h
softfloat_ieee754.h
softfloat_tables.h
spherical.c Mark some pointers as const 2021-01-01 15:25:48 +01:00
spherical.h
stereo3d.c
stereo3d.h
tablegen.h
tea.c
tea.h
thread.h
threadmessage.c
threadmessage.h
time.c lavu: use address-of operator checking clock_gettime 2020-12-28 01:12:26 -03:00
time.h
time_internal.h
timecode.c Revert "avutil/timecode: fix sscanf format string with garbage at the end" 2021-01-23 19:54:14 +01:00
timecode.h avutil/timecode: add av_timecode_init_from_components 2020-12-03 18:32:54 +01:00
timer.h
timestamp.h
tree.c
tree.h
twofish.c
twofish.h
tx.c avutil/tx: Fix declaration after statement 2021-02-22 10:03:32 +01:00
tx.h lavu/tx: support in-place FFT transforms 2021-02-21 17:05:16 +01:00
tx_double.c
tx_float.c
tx_int32.c
tx_priv.h lavu/tx: support in-place FFT transforms 2021-02-21 17:05:16 +01:00
tx_template.c lavu/tx: support in-place FFT transforms 2021-02-21 17:05:16 +01:00
utils.c
version.h lavu/tx: support in-place FFT transforms 2021-02-21 17:05:16 +01:00
video_enc_params.c avutil/video_enc_params: Check for truncation before creating buffer 2021-02-19 07:45:39 +01:00
video_enc_params.h mpegvideo: use the AVVideoEncParams API for exporting QP tables 2021-01-01 14:23:19 +01:00
wchar_filename.h
xga_font_data.c
xga_font_data.h
xtea.c
xtea.h