summaryrefslogtreecommitdiff
path: root/libavfilter/vf_framerate.c
Commit message (Collapse)AuthorAge
* avfilter,swresample,swscale: use fabs, fabsf instead of FFABSGanesh Ajjanagadde2015-10-22
| | | | | | | | | | | | | | | | | | | | | | | | It is well known that fabs and fabsf are at least as fast and sometimes faster than the FFABS macro, at least on the gcc+glibc combination. For instance, see the reference: http://patchwork.sourceware.org/patch/6735/. This was a patch to glibc in order to remove their usages of a macro. The reason essentially boils down to fabs using the __builtin_fabs of the compiler, while FFABS needs to infer to not use a branch and to simply change the sign bit. Usually the inference works, but sometimes it does not. This may be easily checked by looking at the asm. This also has the added benefit of reducing macro usage, which has problems with side-effects. Note that avcodec is not handled here, as it is huge and most things there are integer arithmetic anyway. Tested with FATE. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.Nicolas George2015-09-20
| | | | It has no longer any effect.
* avfilter/vf_framerate: fix frame leak at uninitPaul B Mahol2015-09-12
| | | | | Reported-by: Andres Noetzli Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_framerate: unbreak flushingPaul B Mahol2015-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_framerate: calculate delta from scaled pts instead of unscaledPaul B Mahol2015-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_framerate: highbit depth supportPaul B Mahol2015-09-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add framerate video filterPaul B Mahol2015-08-27
Signed-off-by: Paul B Mahol <onemda@gmail.com>