| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch improves af_asyncts behavior on streams with bogus PTS, which
are either non-monotonic, or contain PTS jitter, and trigger the
non-monotonicity error. With this patch, af_asyncts is able to correct
these streams and avoid the error.
Firstly, it fixes resample compensation calculation by supplying proper
units to avresample_set_compensation (sample count per second instead
of sample count per some arbitrary frame size). Also, the calculation of
the compensation itself is fixed - delta is proportional to an adjustment
of the compensation, not the compensation itself. Ideally, the compensation
should converge to a value that keeps delta at zero.
To be able to deal with sources with PTS jitter even without resampling,
small PTS errors are adjusted, so the output frames do not overlap.
Finally, one more monotonicity check is added.
The FATE reference changes because now there is 8 less samples of
silence because of the pts jitter.
Signed-off-by: Jindřich Makovička <makovick@gmail.com>
|
|
|
|
| |
Vertical shift is log2_chroma_h, not log2_chroma_w.
|
|
|
|
|
|
| |
Number of planes is not always equal to the number of components even
for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components
in two planes.
|
|
|
|
|
| |
It is supposed to be height * linesize, not width * linesize.
Thanks to Hendrik Leppkes for pointing out the bug.
|
| |
|
| |
|
|
|
|
| |
They are auto-negotiated.
|
|
|
|
|
| |
Filter private data is memset to 0 so there is no point in explicitly
initing anything to 0.
|
| |
|
|
|
|
| |
This is more consistent with the naming in the rest of Libav.
|
| |
|
|
|
|
|
| |
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
CC:libav-stable@libav.org
|
|
|
|
| |
CC:libav-stable@libav.org
|
|
|
|
|
|
|
| |
Avoid buffer overflow in buffer_needs_copy()
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
| |
|
| |
|
|
|
|
|
| |
Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead.
|
|
|
|
|
|
| |
Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
|
|
|
| |
Some changes in the border pixels, visually indistinguishable.
|
|
|
|
| |
Do it all in config_props().
|
|
|
|
|
|
|
| |
clang says:
libavfilter/vf_yadif.c:192:28: warning: incompatible pointer types assigning to
'void (*)(uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int, int, int, int)'
from 'void (uint16_t *, uint16_t *, uint16_t *, uint16_t *, int, int, int, int, int)'
|
| |
|
| |
|
|
|
|
| |
CC:libav-stable@libav.org
|
|
|
|
| |
CC:libav-stable@libav.org
|
|
|
|
|
| |
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
| |
|
|
|
|
|
|
|
| |
Manually load registers to avoid using 8 registers on x86_32 with
compilers that do not align the stack (e.g. MSVC).
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
| |
%f denotes a double argument and 'l' does nothing in this case
according to the C spec.
|
| |
|
| |
|
|
|
|
| |
Building libavfilter without that functionality makes little sense.
|
|
|
|
| |
vf_scale should not be unconditionally compiled even if disabled.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Currently it will do padding, but it does not properly handle
start-of-stream trimming as documented.
|
|
|
|
|
| |
The max_comp option is supposed to limit maximum compensation, but
currently the clipped value is not actually used.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Based on the volume filter in FFmpeg written by Stefano Sabatini
<stefasab@gmail.com>.
|
| |
|
|
|
|
| |
This filter modifies the input frame.
|
| |
|
|
|
|
|
| |
Any alleged performance benefits gained from the split are purely
mythological and do not justify added code complexity.
|
|
|
|
|
|
|
| |
The following commit will make it useless.
The crop_scale_vflip FATE test changes because of off-by-one differences
in output when vflipped slices are passed to sws.
|