summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* avfilter/formats: allow unknown channel layouts by defaultMarton Balint2016-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the default in the libav fork is to only allow known layouts, making unknown layouts allowed by default here can be a security risk for filters directly merged from libav. However, usually it is simple to detect such cases, use of av_get_channel_layout_nb_channels is a good indicator, so I suggest we change this regardless. See http://ffmpeg.org/pipermail/ffmpeg-devel/2016-November/203204.html. This patch indirectly adds unknown channel layout support for filters where query_formats is not specified: abench afifo ainterleave anullsink apad aperms arealtime aselect asendcmd asetnsamples asetpts asettb ashowinfo azmq It introduces a query_formats callback for the asyncts filter, which only supports known channel layouts since it is using libavresample. And it removes .query_formats callback from filters where it was only there to support unknown layouts, as this is now the default: aloop ametadata anull asidedata asplit atrim Acked-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_deband: fix silly mistakesPaul B Mahol2016-12-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_hwupload_cuda: Add min/max limits for the 'device' optionSrinath K R2016-12-08
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avfilter/vf_premultiply: remove redundant semicolonsMichael Niedermayer2016-12-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add premultiply filterPaul B Mahol2016-12-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: Fix aix compilation.Carl Eugen Hoyos2016-12-01
| | | | | | Rename hz in af_apulsator.c and avf_showspectrum.c as hertz. The aix header sys/m_param.h defines hz as __hz.
* avfilter/vf_hwupload_cuda: fix potential leakTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: check ff_set_common_formats return valueTimo Rothenpieler2016-11-30
|
* avfilter/vf_scale_npp: move aspect ratio correction after av_frame_copy_propsMiroslav Slugeň2016-11-30
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avfilter/vf_masked*: add gray10 and gray12 supportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_bitplanenoise: add gray10 and gray12 suppportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_extractplanes: add extract support for 10bit and 12bit formatsPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_waveform: add gray10 and gray12 supportPaul B Mahol2016-11-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_colorspace: Forbid odd dimensionsVittorio Giovara2016-11-28
| | | | | | This prevents writing past bounds. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavfi/f_ebur128: relicense to LGPLClément Bœsch2016-11-27
| | | | | | | | | | | | | | All copyright holders have agreed to the relicensing. Approved-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Approved-by: David Sedacca <sedacca@comcast.net> Approved-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Approved-by: Jean First <jeanfirst@gmail.com> Approved-by: Kyle Swanson <k@ylo.ph> Approved-by: Michael Niedermayer <michael@niedermayer.cc> Approved-by: Nicolas George <george@nsup.org> Approved-by: Paul B Mahol <onemda@gmail.com> Approved-by: Thilo Borgmann <thilo.borgmann@mail.de>
* avfilter/vf_zscale: export approximate gamma option and enable it by defaultPaul B Mahol2016-11-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/tests/.gitignore: add integralWan-Teh Chang2016-11-24
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/pan: allow negative gain parameters also for other inputs than the ↵Moritz Barsnick2016-11-24
| | | | | | | | | | | | | | first named Expands the parser to also accept the separator '-' in addition to '+', and take the negative sign into consideration. The optional sign for the first factor in the expression is already covered by parsing for an integer. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_zscale: add support for some recent new additionsPaul B Mahol2016-11-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_hwupload_cuda: check ff_formats_ref for errorsTimo Rothenpieler2016-11-22
|
* avfilter/vf_hwupload_cuda: use new hwdevice allocation APITimo Rothenpieler2016-11-22
|
* avfilter/vf_scale_npp: use dynamically loaded CUDATimo Rothenpieler2016-11-22
|
* lavfi/ebur128: use ff_ prefixKyle Swanson2016-11-13
| | | | Signed-off-by: Kyle Swanson <k@ylo.ph>
* Merge commit 'c3f113d58488df7594a489bdbb993a69ad47063c'Hendrik Leppkes2016-11-13
|\ | | | | | | | | | | | | * commit 'c3f113d58488df7594a489bdbb993a69ad47063c': vf_hwdownload: allocate the destination frame for the pool size Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * vf_hwdownload: allocate the destination frame for the pool sizeAnton Khirnov2016-06-28
| | | | | | | | The reasoning is the same as for the previous commit.
* | vf_scale_vaapi: Respect driver quirks around buffer destructionMark Thompson2016-11-13
| | | | | | | | (cherry picked from commit 582d4211e00015b68626f77ce4af53161e2b1713)
* | lavfi: split frame_count between input and output.Nicolas George2016-11-13
| | | | | | | | | | | | | | | | | | | | | | | | AVFilterLink.frame_count is supposed to count the number of frames that were passed on the link, but with min_samples, that number is not always the same for the source and destination filters. With the addition of a FIFO on the link, the difference will become more significant. Split the variable in two: frame_count_in counts the number of frames that entered the link, frame_count_out counts the number of frames that were sent to the destination filter.
* | lavfi/ebur128: specify scaling_factor directlyMarton Balint2016-11-13
| | | | | | | | | | | | | | This should fix build with Solaris CC. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavfi/loudnorm: add an internal libebur128 libraryMarton Balint2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also contains the following changes to the library: - add ff_ prefix to functions - remove cplusplus defines. - add FF_ prefix to contants and some structs - remove true peak calculation feature, since it uses its own resampler, and af_loudnorm does not need it. - remove version info and some fprintf(stderr) functions - convert to use av_malloc - always use histogram mode for LRA calculation, otherwise LRA data is slowly consuming memory making af_loudnorm unfit for 24/7 operation. It also uses a BSD style linked list implementation which is probably not available on all platforms. So let's just remove the classic mode which not uses histogram. - add ff_thread_once for calculating static histogram tables - convert some functions to void which cannot fail - remove intrinsics and some unused headers - add support for planar audio - remove channel / sample rate changer function, in ffmpeg usually we simply alloc a new context - convert some static variables to defines - declare static histogram variables as aligned - convert some initalizations to mallocz - add window size parameter to init function and remove window size setter function - convert return codes to AVERROR - fix indentation Signed-off-by: Marton Balint <cus@passwd.hu>
* | avfilter/vf_drawtext: fixed default/flt formatting ignoring offset parameterAlex Agranovsky2016-11-06
| | | | | | | | | | Signed-off-by: Alex Agranovsky <alex@sighthound.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/af_volumedetect: Remove dependency on channel layoutMichael Niedermayer2016-11-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/af_firequalizer: add fft2 optionMuhammad Faiz2016-11-04
| | | | | | | | | | | | | | | | | | | | 2-channels convolution using complex fft improves speed significantly not sure if it should be enabled by default so disable it by default Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | vf_colorspace: Add support for film primariesVittorio Giovara2016-11-01
| | | | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | vf_colorspace: Add support for smpte 431/432 (dci/display p3) primariesVittorio Giovara2016-11-01
| | | | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | vf_colorspace: Add support for ycgco color spaceVittorio Giovara2016-11-01
| | | | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | lavfi/mergeplanes: Fix little endian yuv formats >8 bit and <16bit.Carl Eugen Hoyos2016-11-01
| | | | | | | | Fixes remaining cases of ticket #5916.
* | lavfi/mergeplanes: Fix >8 bit for big endian formats and yuv4xxp16le.Carl Eugen Hoyos2016-11-01
| | | | | | | | Fixes part of ticket #5916.
* | vf_colorspace: Add support for iec61966-2.4 (xvYCC) transferVittorio Giovara2016-10-31
| | | | | | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/avf_showcqt: add bar_t optionMuhammad Faiz2016-10-29
| | | | | | | | | | | | custom bargraph transparency Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | lavfi/vf_overlay: support NV12 and NV21Rodger Combs2016-10-26
| | | | | | | | Tested-by: Michael on x86-32/64 linux, mingw, mips/arm qemu linux
* | Bump minor versions after 3.2 branchpoint to seperate releaseMichael Niedermayer2016-10-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor versions for 3.2Michael Niedermayer2016-10-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/scale_npp: fix passthrough modeYogender Gupta2016-10-25
| | | | | | | | | | Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | vf_colorspace: Add support for iec61966-2.1 (sRGB) transferVittorio Giovara2016-10-24
| | | | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | vf_colorspace: don't spam console with warnings if range is unspecified.Ronald S. Bultje2016-10-24
| |
* | lavfi: remove 2 unused lavc includesClément Bœsch2016-10-23
| |
* | doc: fix spelling errorsAndreas Cadhalpun2016-10-21
| | | | | | | | | | | | | | | | Thanks to Mathieu Malaterre <malat@debian.org> for reporting the Que/Queue typo. (https://bugs.debian.org/839542) Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avfilter/firequalizer: use zero phase kernelMuhammad Faiz2016-10-20
| | | | | | | | | | | | this makes real-valued kernel Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | avfilter/showcqt: add cscheme optionMuhammad Faiz2016-10-20
| | | | | | | | Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | avfilter/vf_scale_npp: select cubic and lanczos as alternative where ↵Sven C. Dack2016-10-19
| | | | | | | | | | | | super-sampling is not supported Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>