aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/framesync.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "all: Don't set AVClass.item_name to its default value"Anton Khirnov2024-01-201-0/+1
| | | | | | | Some callers assume that item_name is always set, so this may be considered an API break. This reverts commit 0c6203c97a99f69dbaa6e4011d48c331e1111f5e.
* all: Don't set AVClass.item_name to its default valueAndreas Rheinhardt2023-12-221-1/+0
| | | | | | | | Unnecessary since acf63d5350adeae551d412db699f8ca03f7e76b9; also avoids relocations. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/framesync: add a new option to set how to sync streams based on ↵James Almer2022-08-101-0/+23
| | | | | | | | | | | | | | | | secondary input timestamps Include two values for it, a default one that sets/keeps the current behavior, where the frame event generated by the primary input will have a timestamp equal or higher than frames in secondary input, plus a new one where the secondary input frame will be that with the absolute closest timestamp to that of the frame event one. Addresses ticket #9689, where the new optional behavior produces better frame syncronization. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/framesync: Remove redundant setting of AVClassAndreas Rheinhardt2021-09-231-6/+3
| | | | | | | | | Every filter exposing the framesync options via its child_next callback already calls framesync_preinit() in its preinit callback. So the filter is already preinited whenever its child_next is called. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/framesync: Separate framesync AVClass and auxiliary functionsAndreas Rheinhardt2021-09-231-12/+23
| | | | | | Will be useful for deduplication. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil: remove deprecated AVClass.child_class_nextJames Almer2021-04-271-4/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* framesync: switch to child_class_iterate()Anton Khirnov2020-06-101-0/+3
|
* lavfi/framesync: Add namespace prefix to framesync_get_classMark Thompson2018-06-241-3/+3
|
* lavfi/framesync: document frame ownership for dualinput.Nicolas George2018-01-031-0/+3
|
* lavfi: rename framesync2 to framesync.Nicolas George2017-09-121-0/+321
|
* lavfi: remove framesync.Nicolas George2017-09-121-297/+0
|
* avfilter/framesync: allocate FFFrameSyncIn internallyPaul B Mahol2015-08-261-3/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: add an API to synchronize multiple video inputs.Nicolas George2013-09-231-0/+296
Compared to dualinput, this API can handle more than two inputs and can generate frames synchronized to any or all input streams.