summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* avfilter/avf_showspectrum: improve dBFS scale legendPaul B Mahol2021-08-07
| | | | | Make it more intuitive looking and correct for non-log scaling. Add option to set upper limit of input audio value in dBFS.
* avfilter/vsrc_testsrc: add a return at the end of non-void functionsJames Almer2021-08-06
| | | | | | Fixes compilation with GCC 11 when configured with --disable-optimizations Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_showinfo: add support for H.274 Film Grain Characteristics frame ↵James Almer2021-08-06
| | | | | | side data Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/internal: Don't include libavcodec/(avcodec|internal).hAndreas Rheinhardt2021-08-05
| | | | | | | | | The reasons for including them don't exist any longer: ff_tlog() has been moved to libavutil/internal.h and FF_QSCALE_TYPE_* has been moved to qp_table.h. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/avf_showspectrum: add option to control dynamic range for colorsPaul B Mahol2021-08-05
|
* avfilter/internal: Move ff_norm_qscale() to qp_table.hAndreas Rheinhardt2021-08-05
| | | | | | | It is the natural header for it. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/avfilter: Remove unused partial_bufAndreas Rheinhardt2021-08-05
| | | | | | | | It is unused since 02aa0701ae0dc2def8db640c9e3c06dc1b5de70c. The corresponding size field is write-only since then. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavfi/vf_scale: use default swscale flags for scalerLinjie Fu2021-08-05
| | | | | | | | | | | | | | | | | | Currently the default swscale flags for simple filter graph is bicubic, however for complex filter graph it uses bilinear as decleared in scale filter. $ffmpeg -v verbose -i input.mp4 -vf format=yuv420p,scale=800x600 -an -f null - [Parsed_scale_1 @ 0x7f86d2c160c0] w:1920 h:1080 fmt:yuv420p sar:0/1 -> w:800 h:600 fmt:yuv420p sar:0/1 flags:0x4 $ffmpeg -v verbose -i input.mp4 -filter_complex format=yuv420p,scale=800x600 -an -f null - [Parsed_scale_1 @ 0x7f8779e046c0] w:1920 h:1080 fmt:yuv420p sar:0/1 -> w:800 h:600 fmt:yuv420p sar:0/1 flags:0x2 Use default swscale flags (bicubic currently) for scale filter. - Remove flags="bilinear" from vf_scale - Update the FATE refs Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
* avfilter/f_graphmonitor: use sample_count_in/outPaul B Mahol2021-08-05
|
* avfilter/avfilter: add sample_count_in and sample_count_outPaul B Mahol2021-08-05
|
* avfilter/avf_showspectrum: add lreplace sliding modePaul B Mahol2021-08-04
|
* avfilter/avf_showspectrum: proper rational multiplicationPaul B Mahol2021-08-04
|
* avfilter/avf_showspectrum: fix last frame/eof timestampPaul B Mahol2021-08-04
|
* libavfilter: Fix implicit declarations of av_cpu_max_alignMartin Storsjö2021-08-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/vf_vpp_qsv: Don't overrun stack arrayAndreas Rheinhardt2021-08-04
| | | | | | | | | | | | | 8b83dad82512a6948b63408f964463b063ad24c9 added another potentially used video enhancement filter without increasing a define for the number of such options which is used as the size of stack array. This can lead to a buffer overrun if all filters are used simultaneously. So increase said number. Fixes Coverity ticket #1489775. Reviewed-by: Linjie Fu <linjie.justin.fu@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/af_afftfilt: make sure that tx buffers size are always alignedPaul B Mahol2021-08-04
|
* avfilter/avf_showspectrum: use proper function return value instead of ↵Paul B Mahol2021-08-04
| | | | hardcoded number
* avfilter/vaf_spectrumsynth: switch to TX FFT from avutilPaul B Mahol2021-08-04
|
* avfilter/af_afftfilt: switch to TX FFT from avutilPaul B Mahol2021-08-04
|
* avfilter/internal: Don't include framepool.h, thread.hAndreas Rheinhardt2021-08-04
| | | | | | | | They are not used by the header at all and only used by very few files; so include the headers in their users instead of in internal.h. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/avfilter: use av_frame_copy() to copy frame dataJames Almer2021-08-03
| | | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_vpp_qsv: add scale mode optionFei Wang2021-08-03
| | | | | | | | | | | The option allow user to set diffenent scaling mode from auto/low-power/high-quality. More details: https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxExtVPPScaling Signed-off-by: Fei Wang <fei.w.wang@intel.com> Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
* avfilter/avf_showfreqs: switch to TX FFT from avutilPaul B Mahol2021-07-30
|
* avfilter/avf_showcqt: switch to TX FFT from avutilPaul B Mahol2021-07-27
|
* avfilter/af_afftdn: switch to TX FFT from avutilPaul B Mahol2021-07-27
|
* avfilter/avf_concat: fix EOF timestampPaul B Mahol2021-07-27
|
* avfilter/vf_pseudocolor: add three more presetsPaul B Mahol2021-07-26
|
* avfilter/af_silenceremove: make window also depends on input sample formatPaul B Mahol2021-07-25
|
* avfilter/af_silenceremove: add support for more sample formatsPaul B Mahol2021-07-25
|
* avfilter/f_ebur128: fix video output regressionPaul B Mahol2021-07-25
|
* avfilter/f_ebur128: add all sample rates supportPaul B Mahol2021-07-25
| | | | | | | | | | | | | | | | | | | | | | | | The magic constants come from the unofficial "ITU-R BS.1770-1 filter specifications"¹ by Raiden (libebur128) which relies on "Parameter Quantization in Direct-Form Recursive Audio Filters"² by Brian Neunaber. The constants seem to include a quantization bias, for example: - Vb is supposed to be exactly √Vh in a high shelf filter - the Pre-filter Gain should likely be 4dB - Pre Q and RLB Q are respectively very close to √½ and ½ Those are not adjusted to prevent the values from drifting away from the official specifications. An alternative to this approach would be to requantize on the fly as proposed by pbelkner³, where the 48kHz code path would use the exact specifications constants while derivating constants for other frequencies. [1]: https://www.scribd.com/document/49991813/ITU-R-BS-1770-1-filters [2]: https://www.scribd.com/document/6531763/Direct-Form-Filter-Parameter-Quantization [3]: https://hydrogenaud.io/index.php?topic=86116.msg740092#msg740092
* avfilter/af_afwtdn: add forgotten break statementPaul B Mahol2021-07-25
|
* avfilter/vf_threshold: add support for commandsPaul B Mahol2021-07-25
|
* avfilter/af_anlmdn: add longer names of filter optionsPaul B Mahol2021-07-25
|
* lavfi/signature: fix always true expressionValerii Zapodovnikov2021-07-25
| | | | | | Otherwise since "==" has higher precedence, mode is never checked. Reviewed-by: Jai Luthra <me@jailuthra.in>
* avfilter/vf_pseudocolor: add solar presetPaul B Mahol2021-07-24
| | | | Useful to emphasize bandings in video.
* avfilter/vf_fillborders: add another modePaul B Mahol2021-07-24
|
* avfilter/avf_showspectrum: fix not rendering all channels with ↵Paul B Mahol2021-07-24
| | | | fscale=log:mode=separate
* avfilter/avf_showspectrum: fix hz scale with legend enabledPaul B Mahol2021-07-24
|
* avfilter/avf_showspectrum: switch to TX FFT from avutilPaul B Mahol2021-07-24
|
* avfilter/af_headphone: switch to TX FFT from avutilPaul B Mahol2021-07-24
|
* avfilter/af_sofalizer: switch to TX FFT from avutilPaul B Mahol2021-07-24
|
* avfilter: add afwtdn filterPaul B Mahol2021-07-24
|
* avfilter/vf_shufflepixels: Check ff_get_video_buffer()Andreas Rheinhardt2021-07-23
| | | | | | | | There would be a segfault in case of (likely memory allocation) failure. Fixes Coverity issue #1322338. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Remove/replace some unnecessary avcodec.h inclusionsAndreas Rheinhardt2021-07-22
| | | | | | | Also remove other unnecessary headers and include headers directly while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Remove unnecessary avassert.h inclusionsAndreas Rheinhardt2021-07-22
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Remove unnecessary mem.h inclusionsAndreas Rheinhardt2021-07-22
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Remove obsolete version.h inclusionsAndreas Rheinhardt2021-07-22
| | | | | | | These have mostly been added because of FF_API_*; yet when these were removed, removing the header has been forgotten. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/internal, swresample/audioconvert: Remove cpu.h inclusionsAndreas Rheinhardt2021-07-22
| | | | | | | | | | These inclusions are not necessary, as cpu.h is already included wherever it is needed (via direct inclusion or via the arch-specific headers). Also remove other unnecessary cpu.h inclusions from ordinary non-headers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/avcodec: Don't include cpu.hAndreas Rheinhardt2021-07-22
| | | | | | | It is not used here at all; instead, add it where it is used without including it or any of the arch-specific CPU headers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>