Add more buffer pools
Add buffer pools for miscellaneous smaller buffers that are repeatedly being freed and reallocated. Also improve dav1d_ref_create() by consolidating two separate memory allocations into a single one.
Showing
- src/cdf.c 4 additions, 7 deletionssrc/cdf.c
- src/cdf.h 2 additions, 1 deletionsrc/cdf.h
- src/data.c 1 addition, 0 deletionssrc/data.c
- src/decode.c 8 additions, 7 deletionssrc/decode.c
- src/internal.h 7 additions, 4 deletionssrc/internal.h
- src/lib.c 38 additions, 11 deletionssrc/lib.c
- src/mem.c 74 additions, 0 deletionssrc/mem.c
- src/mem.h 19 additions, 3 deletionssrc/mem.h
- src/meson.build 1 addition, 0 deletionssrc/meson.build
- src/obu.c 4 additions, 2 deletionssrc/obu.c
- src/picture.c 7 additions, 31 deletionssrc/picture.c
- src/recon_tmpl.c 0 additions, 1 deletionsrc/recon_tmpl.c
- src/ref.c 34 additions, 10 deletionssrc/ref.c
- src/ref.h 5 additions, 0 deletionssrc/ref.h
Loading
Please register or sign in to comment