Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lavc/container_fifo: move to lavu and make public | Anton Khirnov | 2024-12-15 | 1 | -89/+0 |
| | | | | | | | | | | | | | | This can be useful in other places, e.g. it can replace objpool in fftools. The API is modified in the following nontrivial ways: * opaque pointers can be passed through to all user callbacks * read and write were previously separate callbacks in order to accomodate the caller wishing to write a new reference to the FIFO and keep the original one; the two callbacks are now merged into one, and a flags argument is added that allows to request such behaviour on a per-call basis * new peek and drain functions | ||||
* | avcodec/container_fifo: add missing stddef.h include | James Almer | 2024-08-21 | 1 | -0/+2 |
| | | | | | | Fixes make checkheaders Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | lavc: add private container FIFO API | Anton Khirnov | 2024-08-19 | 1 | -0/+87 |
It provides a FIFO for "container" objects like AVFrame/AVPacket and features an integrated FFRefStructPool-based pool to avoid allocating an freeing them repeatedly. |