diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-12-30 19:56:11 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-07 00:30:22 +0100 |
commit | 7329b22c058cf271e9ea3aa6e8ab2bb1c462d99f (patch) | |
tree | c896d62d2557f4166dbdf84b57730fe5de2ebe48 /libavutil/murmur3.c | |
parent | 5939c8d3616a559fb5994e570c96e1a0ecad528b (diff) | |
download | ffmpeg-7329b22c058cf271e9ea3aa6e8ab2bb1c462d99f.tar.gz |
lavu/fifo: Add new AVFifo API based upon the notion of element size
Many AVFifoBuffer users operate on fixed-size elements (e.g. pointers),
but the current FIFO API deals exclusively in bytes, requiring extra
complexity in all these callers.
Add a new AVFifo API creating a FIFO with an element size
that may be larger than a byte. All operations on such a FIFO then
operate on complete elements.
This API does not reuse AVFifoBuffer and its API at all, but instead uses
an opaque struct called AVFifo. The AVFifoBuffer API will be deprecated
in a future commit once all of its users have been switched to the new
API.
Not reusing AVFifoBuffer also allowed to use the full range of size_t
from the beginning.
Diffstat (limited to 'libavutil/murmur3.c')
0 files changed, 0 insertions, 0 deletions