Vittorio Giovara
2996604acd
vf_colorspace: Add support for ycgco color space
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-11-01 17:47:25 -04:00
Carl Eugen Hoyos
bf52730051
lavfi/mergeplanes: Fix little endian yuv formats >8 bit and <16bit.
...
Fixes remaining cases of ticket #5916 .
2016-11-01 12:28:36 +01:00
Carl Eugen Hoyos
1a65d2a3cc
lavfi/mergeplanes: Fix >8 bit for big endian formats and yuv4xxp16le.
...
Fixes part of ticket #5916 .
2016-11-01 12:24:57 +01:00
Vittorio Giovara
5a123f1424
vf_colorspace: Add support for iec61966-2.4 (xvYCC) transfer
...
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>
2016-10-31 21:02:12 +01:00
Muhammad Faiz
0686537002
avfilter/avf_showcqt: add bar_t option
...
custom bargraph transparency
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-29 22:11:58 +07:00
Rodger Combs
f53c26c694
lavfi/vf_overlay: support NV12 and NV21
...
Tested-by: Michael on x86-32/64 linux, mingw, mips/arm qemu linux
2016-10-26 20:13:30 -05:00
Michael Niedermayer
1609935b6c
Bump minor versions after 3.2 branchpoint to seperate release
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-26 20:52:42 +02:00
Michael Niedermayer
3f3025205f
Bump minor versions for 3.2
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-26 20:52:42 +02:00
Yogender Gupta
f524275ef9
avfilter/scale_npp: fix passthrough mode
...
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-25 23:17:31 +02:00
Yogender Gupta
99aeae20de
scale_npp: fix passthrough mode
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-10-25 14:48:13 +02:00
Vittorio Giovara
ba53d3ae8b
vf_colorspace: Add support for iec61966-2.1 (sRGB) transfer
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-10-24 16:07:44 -04:00
Ronald S. Bultje
f141ac4d0b
vf_colorspace: don't spam console with warnings if range is unspecified.
2016-10-24 16:03:16 -04:00
Clément Bœsch
58672347cb
lavfi: remove 2 unused lavc includes
2016-10-23 20:19:28 +02:00
Andreas Cadhalpun
c8a6eb58d7
doc: fix spelling errors
...
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>
2016-10-21 23:58:47 +02:00
Muhammad Faiz
258c49d614
avfilter/firequalizer: use zero phase kernel
...
this makes real-valued kernel
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-20 14:10:53 +07:00
Muhammad Faiz
56689a46b3
avfilter/showcqt: add cscheme option
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-20 14:10:43 +07:00
Sven C. Dack
1aa8fa418a
avfilter/vf_scale_npp: select cubic and lanczos as alternative where super-sampling is not supported
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-10-19 12:51:59 +02:00
Muhammad Faiz
23b6f880d6
avfilter/firequalizer: add cubic_interpolate function on gain
...
smoother version of gain_interpolate
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-19 14:05:46 +07:00
Muhammad Faiz
d3be186ed1
avfilter/firequalizer: add dumpfile and dumpscale option
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 22:41:43 +07:00
Muhammad Faiz
923488bdaa
avfilter/showcqt: add font option
...
this is fontconfig pattern
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 00:47:57 +07:00
Muhammad Faiz
92de89d14a
avfilter/firequalizer: optimize gain/gain_entry command
...
do not rebuild when gain/gain_entry command are
equal with old gain/gain_entry
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 00:47:42 +07:00
Diego Biurrun
6be7944ee2
x86: Add missing colons after assembly labels
...
This fixes many warnings of the sort
warning: label alone on a line without a colon might be in error
2016-10-17 16:31:26 +02:00
Muhammad Faiz
1a9513bfbc
avfilter/firequalizer: add scale option
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-17 03:17:50 +07:00
Muhammad Faiz
01ab60201b
avfilter/firequalizer: add tukey window
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16 05:50:47 +07:00
Muhammad Faiz
7c5fca15bb
avfilter/firequalizer: change WFUNC_MIN/MAX to NB_WFUNC
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16 05:48:36 +07:00
Muhammad Faiz
a11757d7cb
avfilter/showcqt: add csp option
...
from colorspace filter
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16 05:41:09 +07:00
Marton Balint
7845c13881
lavfi/sidedata: add filter for manipulating frame side data
...
This is a similar filter to f_metadata, only it works on side data. Since
adding side data from a user provided arbitrary binary string is unsafe,
because current code assumes that a side data of a certain kind has the proper
size, this filter only implements selection and deletion. Also, no value
matching support is implemented yet, because there is no uniform way to specify
a side data textually.
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-13 23:01:53 +02:00
Marton Balint
24022402be
lavfi/metadata: fix metadata deletion if comparison returns false
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-11 18:05:28 +02:00
Moritz Barsnick
efbc37a757
lavfi/pan: renormalize negative gain coefficients properly
...
The parser for the outdef will accept a negative value for the first
named channel's gain. As negative values effectively only invert the
phase of the signal, and not negate the level, the gains' absolute
values must be used to correctly accumulate the levels.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-11 03:27:59 +02:00
Muhammad Faiz
47d2be3056
avfilter/firequalizer: fix blackman window calculation
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-10 02:27:31 +07:00
Moritz Barsnick
f4e4bde1f4
lavfi: fix typos
...
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-09 20:09:00 +02:00
Hendrik Leppkes
adfcf16f76
Merge commit '5b63b15663d31f50ce45d980b904a68795ad3f7a'
...
* commit '5b63b15663d31f50ce45d980b904a68795ad3f7a':
lavfi: set the link hwframes context before configuring the dst input
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-10-07 13:29:11 +02:00
Burt P
2c3d936487
af_hdcd: disable auto-convert by default
...
As all known valid HDCD sample formats and sample rates are now handled
by the filter, remove the scan that "invades the privacy" of the filter graph
and turn off autoconvert by default as requested by Nicolas George.
http://ffmpeg.org/pipermail/ffmpeg-devel/2016-August/197571.html
Signed-off-by: Burt P <pburt0@gmail.com>
2016-10-05 12:52:56 -05:00
Burt P
f51ddbf83c
af_hdcd: add experimental 20 and 24-bit decoding support
...
I don't have any legitimate 20 or 24-bit HDCD to test. It is known
that the PM Model Two would insert packets into 20 and 24-bit output,
but I have no idea what differences in behavior existed when decoding
20 or 24-bit. For now, as with 16-bit, PE (if enabled) will expand the
top 3dB into 9dB and LLE (gain adjust) will be applied if signaled.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-10-05 12:48:59 -05:00
Burt P
4f94f01414
af_hdcd: hdcd_scan() and hdcd_integrate() handle stereo and single channel
...
New versions of hdcd_scan() and hdcd_integrate() that also do the
work of hdcd_scan_stereo() and hdcd_integrate_stereo().
Some code split into previously separate functions to remove
duplication is now merged back into each function in the single
place where it is used.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-10-05 12:39:52 -05:00
Burt P
80d89c1960
af_hdcd: support s16p (WavPack) directly
...
The buffer is already being copied anyway, so interlace the planar
format during the copy and remove one use of auto-convert.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-10-05 12:38:26 -05:00
Burt P
7e46bb80ef
af_hdcd: allow all HDCD sample rates
...
The PM Model Two could output HDCD-encoded audio in CD and all
DVD-Audio sample rates. (44100, 48000, 88200, 96000, 176400, and
192000 Hz)
Signed-off-by: Burt P <pburt0@gmail.com>
2016-10-05 12:37:55 -05:00
Burt P
de9b23ac1f
af_hdcd: add mono as a supported channel layout
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-10-05 12:37:22 -05:00
Marton Balint
7ef3e5b593
lavfi/metadata: allow deleting all metadata
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-01 17:32:32 +02:00
Marton Balint
d946424f19
lavfi/metadata: fix setting metadata values
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-01 17:32:08 +02:00
James Almer
e4bfc9ecf7
avfilter/vf_colorspace: fix range for output colorspace option
...
Rreviewed-by: BBB
Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-28 17:33:38 -03:00
Michael Niedermayer
1e34584814
avfilter/tests/integral: Remove unused variables
...
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-24 20:30:40 +02:00
Clément Bœsch
c29b532a94
lavfi: add nlmeans filter
...
Fixes Ticket #4910
2016-09-24 09:52:10 +02:00
Paul B Mahol
9d16e46d9e
avfilter/drawutils: allow drawing opaque text on transparent background
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-21 11:54:00 +02:00
Vittorio Giovara
cb78d14cf9
vf_colorspace: Interpret unspecified color range as limited range
...
This is the assumption that is made in pixel format conversion do
throughout the code (in particular swscale), and BT-specifications
mandate.
Add a warning to inform the user that an automatic selection is being
made.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-09-19 08:26:49 -04:00
Paul B Mahol
97f50d1c62
avfilter/vf_overlay: add YUVA422P to alpha_pix_fmts
...
Now yuv422 output format gives similar expected output as other output formats.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-17 15:38:30 +02:00
Paul B Mahol
0e7d2c60e9
avfilter/vf_overlay: support J formats too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-17 15:38:30 +02:00
Paul B Mahol
4096bb176b
avfilter/vf_unsharp: limit matrix size in either direction to 23
...
Anything bigger is not supported anyway.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-17 13:57:45 +02:00
Paul B Mahol
d790887d1c
avfilter/vf_unsharp: check if scalebits is too high
...
Otherwise filter would happily give overflows and produce useless output.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-17 13:57:45 +02:00
Paul B Mahol
5b509fafb0
avfilter/vf_lut2: also export video input bit depth
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-16 12:35:55 +02:00
Vittorio Giovara
76c28360b5
vf_colorspace: Add modern names for color range option
...
Allows to use values returned from API and from ffprobe directly.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-09-14 17:24:22 -04:00
Mark Thompson
bdf7610eb2
vf_scale_vaapi: Crop input surface to active region
...
If the input has been decoded from a stream which uses edge cropping
then the whole surface need not be valid. This defines an input
region for the scaler so we only use the active area of the frame.
2016-09-14 20:48:36 +01:00
Marton Balint
025db5afaf
avfilter/af_amerge: allow merging 1 input only
...
Useful when the amerge filter parameters are generated from a script based on
the number of input streams, by allowing 1 input it does not have to be handled
specially.
The split filter also allows 1 output, so it is more consistent to allow
merging 1 input as well.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-09-13 21:35:31 +02:00
Vittorio Giovara
d41bfa9c0b
vf_colorspace: Add BT-names for gamma22/28 transfer option
...
Allows to use values returned from API and from ffprobe directly.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2016-09-13 10:22:23 -04:00
Paul B Mahol
a50ca6b357
avfilter/vf_convolution: add slice threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-12 14:38:45 +02:00
Paul B Mahol
afeffd891f
avfilter: add sobel and prewitt filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-12 14:38:45 +02:00
Paul B Mahol
b791d0e4e0
avfilter/vf_vaguedenoiser: calculate dimensions at init
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-12 14:38:45 +02:00
Paul B Mahol
dc669d5fbe
avfilter/vf_vaguedenoiser: change thresholding to function pointers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-12 14:38:45 +02:00
Paul B Mahol
97297fb144
avfilter/vf_overlay: inline yuv output formats
...
Overall speedup ~10-20%
Tested-by: Michael on mingw32 mingw64 linux32 mips and arm
2016-09-11 00:38:13 +02:00
Paul B Mahol
140a0485d3
avfilter/vf_overlay: split blend_image into functions for each overlay format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-11 00:27:01 +02:00
Michael Niedermayer
054f912c0d
avfilter/avf_concat: Make independent of the channel layout
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-10 23:19:01 +02:00
Paul B Mahol
b257266ee8
avfilter/af_amix: use ff_all_channel_counts() instead of ff_all_channel_layouts()
...
Adds support for filtering frames with unknown channel layouts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-10 13:05:31 +02:00
Paul B Mahol
c784b5cfdc
avfilter/vf_histogram: set foreground alpha if possible in destination format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-10 00:28:28 +02:00
Paul B Mahol
7055b28d98
avfilter/vf_datascope: cleanup code a little
...
Make few helper functions.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-09 14:16:22 +02:00
Paul B Mahol
653ca05807
avfilter/vf_weave: do not leak unused frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-09 11:58:18 +02:00
Burt P
91117fc9f1
af_hdcd: fix bounds check in hdcd_envelope()
...
From Sebastian Ramacher.
https://github.com/bp0/libhdcd/pull/11
Signed-off-by: Burt P <pburt0@gmail.com>
2016-09-08 18:13:12 -05:00
Paul B Mahol
e9770b40b1
avfilter/vf_datascope: let user change background opacity
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-09 00:40:30 +02:00
Paul B Mahol
ae31ab8070
avfilter/vf_shuffleframes: unbreak filter
...
Regression since 736e2e2c30
.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-08 10:56:30 +02:00
Paul B Mahol
4fb6f9de0c
avfilter/vf_waveform: make possible to change background opacity
...
Only useful if output pixel format have alpha.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-07 22:38:14 +02:00
Burt P
38445d58f1
af_hdcd: hdcd_analyze_gen() using int instead of float
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-09-07 10:59:18 -05:00
Burt P
eb0086588f
af_hdcd: tweak hdcd_analyze_prepare() a bit
...
* use the actual sample rate
* use a more sensible frequency for the tone
* update fate test result
Signed-off-by: Burt P <pburt0@gmail.com>
2016-09-07 10:54:30 -05:00
Burt P
e700e21b6f
af_hdcd: move decoding setup from init to config_input
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-09-07 10:54:08 -05:00
Burt P
91be2ad756
af_hdcd: fix possible integer overflow
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-09-07 10:53:41 -05:00
Burt P
5e553cab68
af_hdcd: some types renamed to remove _t
...
Following a suggestion by Diego Biurrun.
_t is reserved for POSIX, apparently.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-09-07 10:49:04 -05:00
Paul B Mahol
b7e78c75cc
avfilter/vf_paletteuse: add option to use new palette for each output frame
2016-09-07 15:56:13 +02:00
Paul B Mahol
93ae68d62a
avfilter/vf_palettegen: add mode for generating palette for each input frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-07 15:56:13 +02:00
Paul B Mahol
424f0f9e33
avfilter: add avgblur filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-07 15:36:54 +02:00
Michael Niedermayer
fdd9663781
avfilter/fifo: Make independent of the channel layout
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-06 12:36:28 +02:00
Michael Niedermayer
db3b93319d
avfilter/af_atempo: Make independent of the channel layout
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Pavel Koshevoy <pkoshevoy@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-06 12:36:28 +02:00
Michael Niedermayer
3a3265899b
avfilter/af_amix: make independent of the channel layout
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-06 12:36:28 +02:00
Carl Eugen Hoyos
70f4b453cb
doc/showspectrum*: Change options order to reflect numeric values.
...
Fixes ticket #5823 .
2016-09-06 11:52:10 +02:00
Paul B Mahol
496d97f465
avfilter/vf_owdenoise: hight bit-depth support
2016-09-06 01:29:46 +02:00
Paul B Mahol
443c9fab57
avfilter/vf_gblur: add sigmaV option, different vertical filtering
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-04 23:59:45 +02:00
Paul B Mahol
28b920c09b
avfilter/Makefile: move anullsrc and nullsink to correct place
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-04 15:33:05 +02:00
Paul B Mahol
9833cf2ae1
avfilter/vf_bitplanenoise: silence clang warning, do not truncate value
2016-09-04 15:33:05 +02:00
Paul B Mahol
ee605aa730
avfilter: add gblur filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-04 15:33:05 +02:00
Vittorio Giovara
5df993f3b1
vf_colorspace: Allow overriding input color properties
...
The filter needs input frames with color properties filled out by
the decoder. Since this is not always possible, add input options to
the filter so that user may override color space, color primaries,
transfer characteristics, and color range, as well as a generic option
to set all properties at once.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-09-04 13:11:32 +02:00
Paul B Mahol
b5cf307d0f
avfilter/vf_zscale: make possible to change chroma location
2016-09-02 16:10:30 +02:00
Davinder Singh
367577dbe2
avfilter/vf_minterpolate: rename chroma log vars
...
also use AVPixFmtDescriptor instead of avcodec_get_chroma_sub_sample()
for log2_chroma*.
2016-09-02 13:08:21 +02:00
Paul B Mahol
3e1356f790
avfilter: add weave filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-09-02 12:27:28 +02:00
Lucas Cooper
aabe12eba3
avfilter/vf_psnr: Add max value output option to psnr stats log.
...
This allows retroactive calculation/aggregation of PSNR from the stats
log.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-01 11:54:31 +02:00
Timo Rothenpieler
2625b955a3
avfilter/drawutils: honor shift for color component description
2016-08-31 13:19:46 +02:00
Timo Rothenpieler
d3a23b6777
avfilter/drawutils: P010 is not supported
2016-08-31 13:19:46 +02:00
Paul B Mahol
8175fb03f0
avfilter/vf_lut: unbreak planar rgb suppot on big-endian
2016-08-31 11:18:40 +02:00
Burt P
728e80cd2e
High Definition Compatible Digital (HDCD) decoder filter, using libhdcd
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-08-29 19:09:59 +02:00
Davinder Singh
11a631d4a7
avfilter/vf_minterpolate: do not right shift negative numbers
...
It was source of crashes. Use division instead.
Original patch by author. Log message by comitter.
2016-08-29 17:32:47 +02:00
Paul B Mahol
a0a57072c9
avfilter: make use of ff_filter_get_nb_threads
2016-08-29 16:27:09 +02:00
Paul B Mahol
5b1907142d
avfilter: add ff_filter_get_nb_threads()
2016-08-29 16:27:09 +02:00
Paul B Mahol
449339084f
avfilter: add nb_threads to AVFilterContext
...
To be used in following commits.
2016-08-29 16:27:09 +02:00
Paul B Mahol
88bcdf109a
avfilter: hflip,swapuv,vflip: add timeline support
2016-08-28 11:00:06 +02:00
Paul B Mahol
f242d74d17
avfilter/vf_convolution: add >8 bit depth support
2016-08-27 16:04:07 +02:00
Paul B Mahol
b2c6a11fb6
avfilter/vf_atadenoise: add planes option
...
Make possible filtering only some planes.
2016-08-27 13:48:14 +02:00
Vittorio Giovara
69abf4f93c
vf_colorspace: Add support for full range yuv
...
Whenever a full range video is input, since the YUVJ* formats are not
listed as supported for this filter, a range reduction takes place
through the auto-inserted format filter, forcing the conversion to
operate on a limited range,
However the filter handles full range videos perfectly fine, so adding
support to YUVJ* formats will allow skipping a conversion step, while
providing completely identical results.
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>
2016-08-27 13:08:43 +02:00
Vittorio Giovara
6648da3591
vf_colorspace: Check av_frame_copy_props() return value
...
This function can potentially allocate memory.
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-27 13:08:43 +02:00
Paul B Mahol
0429ff4be6
avfilter: add vaguedenoiser filter
2016-08-26 23:17:19 +02:00
Michael Niedermayer
0c7979b43d
avfilter/motion_estimation: Fix pre processor formating
...
IIRC, The spaces are not standard before the #
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-26 23:09:17 +02:00
Michael Niedermayer
7827813f8c
avfilter/motion_estimation: Fix warning: variable dir_x set but not used
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-26 20:17:39 +02:00
Davinder Singh
b07d4a0fb2
avfilter: added motion estimation and interpolation filters
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-26 11:17:51 +02:00
Burt P
ec220a8c1c
af_hdcd: av_frame_free(out) if av_frame_copy_props() fails
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-25 17:12:16 -05:00
Burt P
9d5e3c3f59
af_hdcd: for easier maintenance alongside libhdcd
...
Mostly just re-arranges some code to make it easier to update this
filter and libhdcd together. filter_frame() is much simpler as a
result.
* use the HDCD detection data structure and functions from libhdcd,
moved detection code out of filter_frame()
* moved analyze_mode preparation out of filter_frame() into
hdcd_analyze_prepare(), from libhdcd
* moved some macro definitions to the top so they are all together
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-25 17:11:57 -05:00
Michael Niedermayer
e1ced854f2
avfilter/af_acrusher: Rename sun/sov
...
The names are hard to understand and also seem to break build on at least some solaris
versions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-25 18:36:59 +02:00
Paul B Mahol
feb2ea6e09
avfilter: add yuvtestsrc source filter
2016-08-25 11:16:09 +02:00
Paul B Mahol
5d7743019b
avfilter: add lut2 filter
2016-08-25 11:16:09 +02:00
Burt P
8a78fc5b01
af_hdcd: check return value of av_frame_copy_props()
...
Anton Khirnov:
"[av_frame_copy_props()] potentially contains memory allocation,
so the return value needs to be checked."
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-24 09:08:45 -05:00
Paul B Mahol
0edfd8e6f4
avfilter/vf_lut: add planar RGB support
2016-08-24 08:30:22 +02:00
Paul B Mahol
68dc0c13f9
avfilter/vf_maskedmerge: add support for more pixel formats
2016-08-23 15:21:06 +02:00
Paul B Mahol
bb109dce18
avfilter: add hysteresis filter
2016-08-23 15:21:06 +02:00
Paul B Mahol
12f997d061
avfilter: add maskedclamp filter
2016-08-23 15:21:06 +02:00
Burt P
0e0f8859ba
af_hdcd: PE table limits
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-21 13:48:46 -05:00
Burt P
accbb00ba7
af_hdcd: add AVOption to disable autoconversion in the filter graph
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-21 13:48:08 -05:00
Burt P
8c19732a42
af_hdcd: add AVOption to set the CDT period
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-21 13:47:20 -05:00
Burt P
400e2acd11
af_hdcd: Code comments update
...
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-21 13:47:01 -05:00
Paul B Mahol
45e5d5f547
avfilter/avf_showvolume: calculate color table only once
2016-08-21 16:49:18 +02:00
Paul B Mahol
4d7d74802d
avfilter/vf_crop: make possible to do exact cropping for subsampled videos
2016-08-21 10:06:48 +02:00
James Almer
27ee70290e
avfilter/window_func: use a constant instead of acosh()
...
Should fix compilation with non C99 compilers like msvc 2012, where
acosh() is not available.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-08-20 11:50:58 -03:00
James Almer
a8e3833a61
x86/avf_showcqt: use the FMULADD_PS x86util macro
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-08-20 02:12:33 -03:00
Paul B Mahol
0d8b6a15dd
avfilter/vf_histogram: make foreground and background opacity configurable
2016-08-19 18:03:07 +02:00
Paul B Mahol
e2a39b103e
avfilter/avf_showvolume: use current peak value for picking colors
2016-08-18 20:14:58 +02:00
Paul B Mahol
b3c6e89d48
avfilter/avf_showspectrum: do not use uninitialized memory
2016-08-18 18:40:00 +02:00
Paul B Mahol
703ae350c2
avfilter/af_astats: fix flt(p) support
2016-08-18 15:30:05 +02:00
Paul B Mahol
81f7d07608
avfilter/af_astats: add support for s64(p) sample format
2016-08-18 15:30:05 +02:00
Paul B Mahol
5ee5f4b13c
avfilter/avf_showfreqs: make minimum amplitude for log scaler configurable
2016-08-17 22:02:29 +02:00
Paul B Mahol
345c252e9c
avfilter/avf_showspectrum: unbreak dB legend
2016-08-17 22:02:29 +02:00
Paul B Mahol
d299defbba
avfilter/Makefile & allfilters: sort entries
2016-08-17 13:37:39 +02:00
Paul B Mahol
ed8d7e7a9b
avfilter: add bitplanenoise filter
2016-08-17 13:24:28 +02:00
Paul B Mahol
b438c2025c
avfilter/window_func: add cauchy, parzen and poisson window function
2016-08-16 18:09:50 +02:00
Paul B Mahol
a2c40931c8
avfilter/vaf_spectrumsynth: check return code
2016-08-16 16:01:35 +02:00
Paul B Mahol
1457786d69
avfilter/avf_showspectrum: do not let multiple threads to write to same part of memory
2016-08-16 15:56:12 +02:00
Paul B Mahol
ea58dd2beb
avfilter/window_func: add dolph window
2016-08-16 15:56:12 +02:00
Paul B Mahol
3282e31baa
avfilter/vf_atadenoise: set default size value to 9
...
This is enough, bigger sizes do not produce better output in 99% cases.
2016-08-15 23:04:08 +02:00
Paul B Mahol
fc3eb173f4
avfilter/vf_atadenoise: add support for more pixel formats
2016-08-15 23:00:28 +02:00
Paul B Mahol
4f226714f5
avfilter/af_astats: add support for other sample formats
2016-08-15 22:01:16 +02:00
Paul B Mahol
ce5ba77079
avfilter/avf_showspectrum: add some multithreading support
2016-08-15 13:17:06 +02:00
Paul B Mahol
ac18114b96
avfilter/vf_zoompan: fix pzoom usage
2016-08-15 09:55:36 +02:00
Paul B Mahol
ec4ed2f69c
avfilter/vf_signalstats: fix saturation calculation for >8 bit
2016-08-14 10:00:35 +02:00
Paul B Mahol
3a81775bde
avfilter/vf_signalstats: measure video bitdepth
2016-08-13 12:57:09 +02:00
Paul B Mahol
ee56d9bc89
avfilter/vf_signalstats: add >8 bit depth support
2016-08-13 12:57:09 +02:00
Paul B Mahol
b5314333de
avfilter/af_adelay: make it possible to delay channels by exact number of samples
2016-08-11 21:46:06 +02:00
Paul B Mahol
eb3137255f
avfilter/avf_avectorscope: fix initialization for prev_y in polar mode
2016-08-11 17:30:32 +02:00
Paul B Mahol
a130165ed9
avfilter/avf_avectorscope: add scale option
2016-08-11 17:21:54 +02:00
Paul B Mahol
7f1b14bc57
avfilter: add acrusher filter
2016-08-11 15:02:16 +02:00
Burt P
16ea0bca14
avfiltergraph.c: restore disabling of auto conversions
...
Restore a check added in 440af105f2
but lost sometime after. avfilter_graph_set_auto_convert() will
have an effect once again.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-10 11:37:28 -05:00
Paul B Mahol
80262d8c86
avfilter/avf_showwaves: add sqrt and cbrt amplitude scalers
2016-08-10 11:34:04 +02:00
Paul B Mahol
4506f91185
avfilter/vf_remap: >8 bit support
2016-08-10 10:02:05 +02:00
Michael Niedermayer
369ed11e3c
avfilter/drawutils: Fix single plane with alpha
...
Fixes Ticket5720
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-09 12:42:57 +02:00
Burt P
dbd7a84c81
af_hdcd: Don't warn if converting from AV_SAMPLE_FMT_S16P
...
Also checking AVFilterLink->type is AVMEDIA_TYPE_AUDIO before
calling av_get_sample_fmt_name() on AVFilterLink->format.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-08 11:17:27 -05:00
Burt P
b2b659b17d
af_hdcd: Add analyze mode
...
A new mode, selected by filter option, to aid in analysis of HDCD
encoded audio. In this mode the audio is replaced by a solid tone and
the amplitude is adjusted to signal some specified aspect of the process.
The output file can be loaded in an audio editor alongside the original,
where the user can see where different features or states are present.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-08 10:49:34 -05:00
Paul B Mahol
22d13e4290
avfilter/af_dynaudnorm: use better check for infinite loop
...
Apparently due to rounding this happens.
2016-08-07 23:47:04 +02:00
Paul B Mahol
571f33de0a
avfilter/avf_showspectrum: improve dB scale description
2016-08-07 20:21:52 +02:00
Vitaly Ostrosablin
90ddcaaf2d
avfilter: add crystalizer audio filter
...
Signed-off-by: Vitaly Ostrosablin <tmp6154@yandex.ru>
2016-08-07 10:58:42 +02:00
Burt P
2ce985c049
af_hdcd: convert AVOptions from INT to BOOL
...
As suggested by Timothy Gu.
Signed-off-by: Burt P <pburt0@gmail.com>
2016-08-06 11:16:58 -05:00
Paul B Mahol
04a8bbca92
avfilter/avf_showspectrum: add color rotation feature
...
Mostly useful with channel color scheme.
2016-08-05 12:18:56 +02:00
Paul B Mahol
4be8ab70a6
avfilter/af_astats: extend bitdepth calculation
2016-08-03 20:32:43 +02:00
Burt P
e0b8cba058
af_hdcd: add flags to AVOption defs
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2016-08-02 22:40:23 -07:00
Timothy Gu
58c7bf789f
doxygen: Standardize root-level modules
2016-08-02 22:15:25 -07:00
LoRd_MuldeR
8ab200fb8a
avfilter/af_dynaudnorm: improve pre-filling code
...
In order to avoid possible clipping at the very
beginning. Especially apparent when "alternative"
boundary mode is used.
Adopted from original commit by committer.
2016-08-02 20:00:44 +02:00
Burt P
bea17a3d57
af_hdcd: Warn if there is any resampling or format conversion in the link chain
...
HDCD is only encoded in s16@44100Hz. Scan the chain of AVFilterLinks
for any resampling or format conversion/truncation that might cause
problems for the filter and issue warnings.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-01 23:57:55 +02:00
Burt P
d574e22659
af_hdcd: Process stereo channels together, fix #5727
...
Issue #5727 : gain adjustment should only be applied if matching
gain value from a valid packet in both channels. The existing functions process
each channel separately, so it was not possible.
* New versions of hdcd_process(), hdcd_scan(), hdcd_integrate() named
hdcd_*_stereo() that process both channels together.
* target_gain applied will be the last matching target_gain.
* The old single channel functions remain as an option. They can be
used by: -af hdcd=process_stereo=0.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-01 23:57:55 +02:00
Burt P
12759cc034
af_hdcd: Move code detect/check into own function
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-01 19:48:32 +02:00
Burt P
b90d0ab4be
af_hdcd: add force_pe filter option
...
Used to attempt replication of some results from
http://www.audiomisc.co.uk/HFN/HDCD/Examined.html
May not be generally useful, defaults to off.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-01 19:48:28 +02:00
Burt P
6517177d97
af_hdcd: Improve error detection logging
...
* Moves the filter context member out of state and into HDCDContext
* More useful information when an error is detected
* Gives a location near where the error was detected
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-01 19:48:24 +02:00
Burt P
390eea61be
af_hdcd: give cdt expired counter a value for never set
...
The counter is now -1 if the code detect timer was never set,
and 0 if it was set but never expired.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-31 16:36:22 +02:00
Burt P
999c6b1da8
af_hdcd: fix a minor cosmetic annoyance
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-31 16:36:08 +02:00
Alexey Tourbin
906ee41141
avfilter/af_stereowiden: fix read/write past the end of buffer
...
The stereowiden filter uses a buffer, s->buffer[], and a pointer
within the buffer, s->write, to implement inter-channel delays.
The loop which applies the delayed samples turns out to be faulty.
109 for (n = 0; n < in->nb_samples; n++, src += 2, dst += 2) {
110 const float left = src[0], right = src[1];
111 float *read = s->write + 2;
112
113 if (read > s->buffer + s->length)
114 read = s->buffer;
115
116 dst[0] = drymix * left - crossfeed * right - feedback * read[1];
117 dst[1] = drymix * right - crossfeed * left - feedback * read[0];
118
119 s->write[0] = left;
120 s->write[1] = right;
121
122 if (s->write == s->buffer + s->length)
123 s->write = s->buffer;
124 else
125 s->write += 2;
126 }
For one, the buffer gets written past its end in lines 119-120, before
the bound check is done in lines 122-123. This can be easily confirmed
by valgrind.
==3544== Invalid read of size 4
==3544== at 0x593B41: filter_frame (af_stereowiden.c:116)
==3544== Address 0xb1b03c4 is 4 bytes after a block of size 7,680 alloc'd
==3544==
==3544== Invalid read of size 4
==3544== at 0x593B66: filter_frame (af_stereowiden.c:117)
==3544== Address 0xb1b03c0 is 0 bytes after a block of size 7,680 alloc'd
==3544==
==3544== Invalid write of size 4
==3544== at 0x593B79: filter_frame (af_stereowiden.c:119)
==3544== Address 0xb1b03c0 is 0 bytes after a block of size 7,680 alloc'd
==3544==
==3544== Invalid write of size 4
==3544== at 0x593B7D: filter_frame (af_stereowiden.c:120)
==3544== Address 0xb1b03c4 is 4 bytes after a block of size 7,680 alloc'd
Also, using two separate pointers, s->write and read = s->write + 2,
does not seem to be well thought out. To apply the delay of s->buffer[],
it is enough to read the delayed samples at the current position within
the buffer, and then to store new samples at the same current position.
Thus the application of delayed samples can probably be best described
with a single pointer s->cur.
I also introduce a minor change to ensure that the size of s->buffer[]
is always a multiple of 2. Since the delay parameter is a float, it is
otherwise possible to trick the code into allocating off-by-one buffer.
2016-07-30 21:53:25 +02:00
Lucas Cooper
bc9ce5f6be
avfilter: Add new format for PSNR stats log
...
Add an AVOption stats_version with a new header for V2 stats, which
specifies the stats log version and lists the fields that will be
present in the log (to ease parsing).
The primary motivation is to facilitate the addition of optional fields
to the log without breaking backwards compatibility, while making the
logs easier to parse.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-29 20:49:53 +02:00
Paul B Mahol
d7ae4f79d3
avfilter/f_drawgraph: add another slide mode
2016-07-28 10:30:06 +02:00
Clément Bœsch
37abc8cca2
lavfi/hdcd: fix style
2016-07-28 09:30:10 +02:00
Clément Bœsch
4791716c1d
lavfi/hdcd: mark pe_str as static and const
2016-07-28 09:29:20 +02:00
Burt P
fb91143ef1
af_hdcd: Report PE as being intermittent or permanent
...
The Peak Extend feature could be enabled permanently or only
when needed. This is now reported.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-28 02:26:57 +02:00
Burt P
c26305f6ae
af_hdcd: Add counter for cdt expirations
...
Adds a counter for when the "code detect timer" expired without
finding a valid packet.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-27 23:09:45 +02:00
Burt P
c7ba34b6ea
af_hdcd: more comments in state struct
...
Add some comments describing the fields in hdcd_state_t.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-27 23:09:26 +02:00
Burt P
91854b8ef6
af_hdcd: Improve HDCD detection
...
HDCD is now only considered detected if a valid packet
is active in both channels simultaneously.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-27 22:21:43 +02:00
Clément Bœsch
c6e900e925
lavfi/curves: fix meaningless const int returned value
...
Spotted-by: James Almer <jamrial@gmail.com>
2016-07-26 21:22:27 +02:00
Clément Bœsch
308f9b1c49
lavfi/selectivecolor: add 16-bit support
2016-07-24 15:29:37 +02:00
Clément Bœsch
b8aaedcd01
lavfi/selectivecolor: fix picking black as neutral when alpha is present
2016-07-24 14:21:50 +02:00
Clément Bœsch
6e971f7d66
lavfi: bump minor after recent curves filter additions
2016-07-24 12:22:41 +02:00
Clément Bœsch
b470d81f4e
lavfi/curves: prefix init and uninit function names
2016-07-24 12:18:30 +02:00
Clément Bœsch
62a31aecf6
lavfi/curves: pass log ctx as void* instead of AVFilterContext*
2016-07-24 12:18:30 +02:00
Clément Bœsch
39c6d4a8c5
lavfi/curves: reindent after previous commit
2016-07-24 12:18:30 +02:00
Clément Bœsch
e30cdac14b
lavfi/curves: add 16-bit support
2016-07-24 12:18:30 +02:00
Clément Bœsch
f19f5b906d
lavfi/curves: move alloc and init of LUTs inside config_input()
...
This is needed in order to have different sizes of LUTs according to the
input.
2016-07-24 12:18:30 +02:00
Clément Bœsch
050f790594
lavfi/curves: dynamically allocate LUTs
...
This simplifies following commits.
2016-07-24 12:18:30 +02:00
Clément Bœsch
4eee06ae87
lavfi/curves: add various const where it makes sense
2016-07-24 12:18:30 +02:00
Clément Bœsch
51a873d441
lavfi/curves: remove pointless logging since the addition of plot option
2016-07-24 12:18:30 +02:00
Clément Bœsch
4a8f5f1fd8
lavfi/curves: add plot option
2016-07-24 12:18:30 +02:00
Clément Bœsch
5c14018fc4
lavfi/curves: do not automatically insert points at x=0 and x=1
...
There is actually a need for the origin and end point not to be defined.
We can not automatically insert them with the y value of the first and
last point as it will influence the curves in a wrong way.
Fixes #5397
2016-07-24 12:18:30 +02:00
Anton Khirnov
ad71d3276f
lavfi: add a QSV deinterlacing filter
2016-07-22 19:08:13 +02:00
Michael Niedermayer
9264bb7e79
avfilter/vf_psnr: Fix rounding error in average_max
...
The intermediate was rounded to an integer
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-21 11:26:28 +02:00
Burt P
c41718c0d0
af_hdcd: detect and report encoding errors and oddities
...
Count and report when a code is signaled but fails to match a known pattern.
For example try Līve - Secret Samadhi.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-14 22:09:00 +02:00
Burt P
5c7457c028
af_hdcd: only hdcd_update_info() when something changes
...
Only call hdcd_update_info() when the control code changes
instead of every frame, so the counters are more meaningful.
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-14 22:09:00 +02:00
Burt P
33fc4cc7c6
af_hdcd: fewer false positives by ignoring code_counterC in HDCD detection
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-14 22:09:00 +02:00
Michael Niedermayer
e879819e7b
avfilter/vf_uspp: Check for encoding failure
...
Fixes CID1363015
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-13 20:16:27 +02:00
Burt P
7af44ce2f7
af_hdcd: don't log full HDCD stats if HDCD was not detected
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-12 22:55:04 +02:00
Burt P
0d8caeb41e
af_hdcd: integrate() renamed hdcd_integrate() to be consistent with the other function names
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-12 21:39:01 +02:00
Sami Hult
d4c8e93190
Changed metadata print option to accept general urls
...
This is an - once again - updated patch, that uses avio_write instead
of avio_puts to stream clean text output without null characters. Works
now for me as intended.
Changes metadata filter to accept general urls as file argument without
breaking former behaviour. As a byproduct, it also allows for writing to
file "-" if specified as "file:-".
Example:
ffmpeg -i test.wav -filter_complex "silencedetect=n=-40dB:d=0.1,ametadata=mode=print:file='pipe\:4'" -f null
Signed-off-by: Sami Hult <sami.hult@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-10 00:36:49 +02:00
Burt P
ba69a81019
libavfilter/af_hdcd.c: Collect HDCD stats and report
...
The new HDCD filter really does nothing to show that it is working or
that HDCD control information was even detected in the stream. This
patch collects information about the decode, like which features were
used, and reports it to the user at the end.
Also,
* Fixes low-level gain adjustment
* Updates the documentation
Signed-off-by: Burt P <pburt0@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-06 22:54:47 +02:00
Paul B Mahol
de30863fff
avfilter/vf_rotate: add >8 bit depth support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-07-04 20:39:16 +02:00
Mark Thompson
582d4211e0
vf_scale_vaapi: Respect driver quirks around buffer destruction
2016-07-02 14:09:58 +01:00
Timo Rothenpieler
1a75145559
lavfi: Move new field to the end of AVFilterContext
...
This fixes an accidental ABI break introduced at 8688d3a
.
2016-06-29 18:23:28 +02:00
Timo Rothenpieler
1eb43af1a0
lavfi: Move new field to the end of AVFilterLink
...
Even though this is not part of the public API, some external
applications access fields after it, thus breaking after updating from
ffmpeg 3.0 or earlier.
Since it is not public, it can be freely moved to the end to avoid
that problem in the future.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-29 12:53:07 +02:00
Anton Khirnov
c3f113d584
vf_hwdownload: allocate the destination frame for the pool size
...
The reasoning is the same as for the previous commit.
2016-06-28 08:32:00 +02:00
Matthieu Bouron
0acc170aad
Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24'
...
* commit '535a742c2695a9e0c586b50d7fa76e318232ff24':
build: Change structure of the linker version script templates
Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
2016-06-27 17:56:47 +02:00
Matthieu Bouron
9eb3da2f99
asm: FF_-prefix internal macros used in inline assembly
...
See merge commit '39d6d3618d48625decaff7d9bdbb45b44ef2a805'.
2016-06-27 17:21:18 +02:00
Hendrik Leppkes
c142dc203e
Merge commit 'dc40a70c5755bccfb1a1349639943e1f408bea50'
...
* commit 'dc40a70c5755bccfb1a1349639943e1f408bea50':
Drop unnecessary libavutil/x86/asm.h #includes
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-06-26 15:53:00 +02:00
Michael Niedermayer
8baa1d2209
avfilter/vf_paletteuse: enable skip_initial_unpaired
...
Fixes crash due to unprocessed input being passed through
This fixes the last segfault caused by mixing 3.0 and 3.1 libs and
applications
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-26 01:08:28 +02:00
Michael Niedermayer
f1dabc958e
avfilter/dualinput: Add support to skip initial unpaired frames
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-26 01:01:28 +02:00
Michael Niedermayer
fdd8aac7e1
avfilter/src_movie: Add option to remove timestamp discontinuities
...
This can also be extended to remove discontiuities caused by seek commands
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-26 00:20:00 +02:00
Clément Bœsch
a887fbb582
lavfi/subtitles: remove unecessary checks
2016-06-25 19:14:21 +02:00
Clément Bœsch
e73ccfd6ad
lavfi/subtitles: fix memleak after 6bcb1e1a
...
Spotted-by: James Almer <jamrial@gmail.com>
2016-06-25 19:12:03 +02:00
Clément Bœsch
6bcb1e1aff
lavfi/subtitles: switch to codecpar
2016-06-25 16:53:35 +02:00
Anton Khirnov
5b63b15663
lavfi: set the link hwframes context before configuring the dst input
...
The destination filter might expect the hw frames context to be already
set (this is the case e.g. for hwdownload).
2016-06-25 11:11:46 +02:00
Muhammad Faiz
1b7eaead0c
avfilter/showcqt: set some frame properties
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-24 15:33:16 +07:00
Clément Bœsch
5d48e4eafa
Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'
...
* commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196':
tests: Move all test programs to a subdirectory
Merged-by: Clément Bœsch <clement@stupeflix.com>
2016-06-22 13:44:34 +02:00
Clément Bœsch
d0d9dbec2f
Merge commit 'def03d14687b9d089950ba8e45083e666de4eb68'
...
* commit 'def03d14687b9d089950ba8e45083e666de4eb68':
vf_frei0r: Drop overly verbose and broken debug output
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-21 22:00:12 +02:00
Clément Bœsch
8ef57a0d61
Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'
...
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb':
cosmetics: Fix spelling mistakes
Merged-by: Clément Bœsch <u@pkh.me>
2016-06-21 21:55:34 +02:00
Anton Khirnov
beb62dac62
Use AVFrame.pts instead of deprecated pkt_pts.
2016-06-21 19:54:42 +02:00
Anton Khirnov
ac7bfd6967
lavfi: add a QSV scaling filter
2016-06-21 19:53:38 +02:00
Clément Bœsch
c01f1157ac
Merge commit '0f40c9098498ad90dbbd2380eb4269015e84bde4'
...
* commit '0f40c9098498ad90dbbd2380eb4269015e84bde4':
Drop pointless assert.h #includes
Merged-by: Clément Bœsch <clement@stupeflix.com>
2016-06-21 15:26:20 +02:00
Thomas Mundt
8b7b52c863
avfilter/vf_bwdif: Change default to deinterlace all frames
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-06-19 17:02:09 -03:00
Michael Niedermayer
0fcc252829
Revert "avfilter/trim: add compatibility layer to not break ABI used by ffmpeg"
...
This reverts commit 9219ec93b1
.
Fixes Ticket 5411
2016-06-19 01:19:32 +02:00
Benjamin Steffes
5b95b4616a
avfilter/af_hdcd: Use int32_t instead of int for gaintable in hdcd filter.
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
(comment by ronald)
prevent the theoretical case where the container type (int)
would be 64 bit on some platforms, which would waste some space
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-15 14:30:50 +02:00
dsmudhar
7a2b9dd060
vf_codecview: added new options
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-15 13:56:07 +02:00
Michael Niedermayer
fa0097e008
avfilter/vf_telecine: Make frame writable before writing into it
...
Fixes Ticket 5627
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-14 18:08:56 +02:00
Muhammad Faiz
6602361295
avfilter/graphparser: remove '\n' from parse_filter
...
this allow a filter to be written like this:
aformat =
sample_fmts = fltp|flt:
sample_rates = 44100|44800
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-13 16:17:53 +07:00
Ilya87
be37a66971
Timeline function for the eq filter
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-13 01:57:22 +02:00
Dave Rice
5d12cfacde
avfilter/vf_histogram: indent histogram options
2016-06-11 18:40:55 +02:00
Dave Rice
91bc42528c
avfilter/vf_histogram: shortcuts for histogram options
2016-06-11 18:40:48 +02:00
Kyle Swanson
765703498a
avfilter/af_loudnorm: add dual_mono option
...
Signed-off-by: Kyle Swanson <k@ylo.ph>
2016-06-09 13:06:30 -05:00
Michael Niedermayer
f2c8b666be
avfilter: Fix max value of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-09 10:35:13 +02:00
James Almer
172af20852
x86/showcqt: use three operand format for some instructions
...
Fixes failures with yasm 1.1.0 and older
Signed-off-by: James Almer <jamrial@gmail.com>
2016-06-08 19:37:08 -03:00
James Almer
7d7fdd6532
x86/showcqt: add missing preprocessor checks
...
Old yasm/nasm versions don't support some of these
Signed-off-by: James Almer <jamrial@gmail.com>
2016-06-08 19:34:43 -03:00
Muhammad Faiz
2991d93520
avfilter/src_movie: call open_stream after guess_channel_layout
...
fix error 'Channel layout change is not supported' when
opening wav file
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-09 02:00:10 +07:00
Muhammad Faiz
a096d3ec47
avfilter/avf_showcqt: set range on fps/rate/r option
...
see Ticket #5618
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-09 01:16:26 +07:00
James Almer
99b899483e
avutil/x86util: move haddps sse emulation from showcqt
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-06-08 14:18:00 -03:00
Muhammad Faiz
1e69ac9246
avfilter/avf_showcqt: cqt_calc optimization on x86
...
on x86_64:
time PSNR
plain 3.303 inf
SSE 1.649 107.087535
SSE3 1.632 107.087535
AVX 1.409 106.986771
FMA3 1.265 107.108437
on x86_32 (PSNR compared to x86_64 plain):
time PSNR
plain 7.225 103.951979
SSE 1.827 105.859282
SSE3 1.819 105.859282
AVX 1.533 105.997661
FMA3 1.384 105.885377
FMA4 test is not available
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-08 16:09:43 +07:00
Muhammad Faiz
77d4dfbec6
avfilter/af_firequalizer: add zero_phase option
...
simply by substracting pts to compensate delay
also handle AV_NOPTS_VALUE
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-07 07:55:48 +07:00
Michael Niedermayer
abc957e896
avfilter/af_amix: dont fail if there are no samples in output_frame()
...
Fixes Ticket5326
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-06 00:31:05 +02:00
Thomas Mundt
a0a4a4b370
avfilter/vf_colormatrix: add bt.2020 colorspace
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-05 19:46:38 +02:00
Thomas Mundt
2e395bbccf
avfilter/vf_colormatrix: increase precision
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-05 18:47:36 +02:00
Muhammad Faiz
1e6a0c9d14
avfilter/avf_showcqt: render default font at 960x16
...
and let ffmpeg scaler scale it
this impoves quality
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-04 14:05:04 +07:00
Muhammad Faiz
1b05521bb7
avfilter/avf_showcqt: full chroma blending on draw_axis_yuv
...
improve quality on axis drawing with yuv422p and yuv420p format
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-06-02 16:14:16 +07:00
Michael Niedermayer
645f7c1ce5
avfilter/f_loop: Fix leak on error
...
Fixes CID1355117
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-29 21:21:59 +02:00
Michael Niedermayer
be96ebdcd7
avfilter/vf_fieldhint: Reorder operation to prevent hypothetical integer overflow
...
Fixes CID1355110
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-29 19:00:15 +02:00
Diego Biurrun
535a742c26
build: Change structure of the linker version script templates
...
Split version files into one line per symbol/directive to allow compatibility
with the Solaris linker without preprocessing and eliminate $ from version file
templates to simplify the postprocessing shell command.
2016-05-29 16:43:11 +02:00
Michael Niedermayer
7ae4d574e8
avfilter/vf_fieldhint: Assert that mode is valid
...
Its checked by the AVOption code
Fixes CID1355122
Fixes CID1355121
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-29 14:49:27 +02:00
Diego Biurrun
dc40a70c57
Drop unnecessary libavutil/x86/asm.h #includes
2016-05-28 19:18:26 +02:00
Michael Niedermayer
281caece46
avfilter/avfiltergraph: Clear graph pointers in ff_filter_graph_remove_filter()
...
When a filter is no longer part of a graph, its pointers should be cleared
so no stale pointers remain.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-27 16:30:25 +02:00
Muhammad Faiz
defab0825f
avfilter/src_movie: add various commands
...
add seek command
add get_duration command
Update to codecpar by commiter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-25 17:19:41 +02:00
dsmudhar
04d35004c3
libavfilter/vf_hwdownload: show error when ff_formats_ref fails
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-24 20:00:17 +02:00
Michael Niedermayer
35b37591c0
avfilter/af_hdcd: Replace complexer expression by litteral constant
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-24 19:56:55 +02:00
Paul B Mahol
5b8faaad6c
avfilter/vf_blend: fix incorrect Y variable when threading is used
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-23 21:49:15 +02:00
Anton Khirnov
ac84e618df
avfiltergraph: check the query_formats() return value
2016-05-23 06:46:18 +02:00
dsmudhar
5836a5037e
libavfilter/af_hdcd: fixed negative signed value shift
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-23 05:39:37 +02:00
Paul B Mahol
defb960a47
avfilter/af_loudnorm: fix crash when ebur128 initialization was not successfull/complete
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-21 19:23:04 +02:00
Michael Niedermayer
e7c5dbb4d1
avfilter/avf_ahistogram: raise minimum acmax to 1
...
If acmax can be 0 then it could result in a division by 0
Fixes CID1351345
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-21 18:47:25 +02:00
Kyle Swanson
c0c378009b
avfilter: add loudnorm
...
Signed-off-by: Kyle Swanson <k@ylo.ph>
2016-05-18 22:15:01 +02:00
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
2016-05-13 14:55:56 +02:00
Derek Buitenhuis
f693184557
Split drawutils test out into separate file
...
This was missed during 96d616052b
because
it is not included in FATE.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-11 20:43:19 +01:00
Derek Buitenhuis
96d616052b
Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'
...
* commit 'd12b5b2f135aade4099f4b26b0fe678656158c13':
build: Split test programs off into separate files
Some conversions done by: James Almer <jamrial@gmail.com>
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-11 19:13:03 +01:00
Rodger Combs
d645182227
lavfi/drawutils: support NV12 and NV21
2016-05-10 20:32:50 -05:00
Jean Delvare
aeefe018f8
avfilter/delogo: Check that logo area is inside the picture
...
We can only remove the logo if it is inside the picture. We need at
least one pixel around the logo area for interpolation.
Fixes ticket #5527 (Delogo crash with x=0 and/or y=0).
Signed-off-by: Jean Delvare <jdelvare@suse.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-10 18:18:47 +02:00
Ronald S. Bultje
531ff7161d
vf_colorspace: don't enable passthrough if bitdepth doesn't match.
...
Also check return value of av_frame_copy() in passthrough mode, so that
if a copy fails (as it did here, because bitdepth didn't match), the filter
doesn't return success, which would mean sending an uninitialized framebuffer
further down the filtergraph.
2016-05-10 09:26:17 -04:00
Ronald S. Bultje
356c116536
vf_colorspace: fix range order.
2016-05-10 09:26:17 -04:00
Ronald S. Bultje
9bbed8645a
vf_colorspace: make whitepoint adaptation mode configurable.
...
Also add von kries whitepoint adaptation, and add 'identity' to turn
whitepoint adaptation off.
2016-05-10 09:26:16 -04:00
Ronald S. Bultje
f4075767b2
vf_colorspace: use enums for bpp/subsampling array indices.
...
Also add some documentation for each function to colorspacedsp.h.
2016-05-10 08:37:56 -04:00
Ronald S. Bultje
9b26a8077f
vf_colorspace: add const to yuv_stride[] argument in DSP functions.
2016-05-10 08:37:55 -04:00
Ronald S. Bultje
431117dcb5
vf_colorspace: add floyd-steinberg dithering option to full conversion.
2016-05-10 08:37:55 -04:00
Tobias Rapp
9486de5a85
avfilter/f_metadata: update print output header line format
...
Update print mode output header line format to be more consistent with
other log output of FFmpeg. The printf-modifiers have been inspired by
the showinfo filter.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-10 00:07:22 +02:00
Tobias Rapp
21f9fbce5c
avfilter/f_metadata: add pts_time to print output
...
This allows e.g. to correlate signalstats metadata to time position
without having to find out the filter chain timebase first.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-09 23:02:15 +02:00
Derek Buitenhuis
ca5ec2bf51
Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec'
...
* commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec':
build: miscellaneous cosmetics
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-09 16:25:28 +01:00
Przemysław Sobala
5fce4753ff
avfilter/vf_fps: set fps value boundaries
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-09 15:01:07 +02:00
Muhammad Faiz
1d4400ac7f
avfilter/graphparser: add '\r' as whitespace
...
for compatibility with platforms that treat it
as newline
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-05-06 07:37:12 +07:00
Diego Biurrun
5afb94c817
Mark read-only tables as static
2016-05-05 10:48:34 +02:00
Paul B Mahol
5b174dd3f1
avfilter/vf_waveform: fix order of graticule scale items
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-05-05 10:38:37 +02:00
Muhammad Faiz
d2f73c3daf
avfilter/avf_showcqt: add .
2016-05-05 14:03:32 +07:00
Diego Biurrun
def03d1468
vf_frei0r: Drop overly verbose and broken debug output
2016-05-04 18:40:50 +02:00
Vittorio Giovara
41ed7ab45f
cosmetics: Fix spelling mistakes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-05-04 18:16:21 +02:00
Diego Biurrun
0f40c90984
Drop pointless assert.h #includes
2016-05-03 15:45:10 +02:00
Michael Niedermayer
2e67a99fbc
avfilter/vf_drawtext: Check return code of load_glyph()
...
Fixes segfault
Fixes Ticket5347
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-24 12:39:25 +02:00
Michael Niedermayer
7b7c338e9a
avfilter: Add AV_OPT_FLAG_FILTERING_PARAM to where it was missing
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-21 20:20:42 +02:00
Derek Buitenhuis
aa40df483b
Merge commit 'a638e9184d63e57e67901f34afe919fd56fd3ac4'
...
* commit 'a638e9184d63e57e67901f34afe919fd56fd3ac4':
vf_fade: make sure the slice end is always in the frame
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-21 16:52:03 +01:00
Derek Buitenhuis
94e5f0922b
Merge commit '8a02a8031ef4f98faf5647f0e01a8922247bf748'
...
* commit '8a02a8031ef4f98faf5647f0e01a8922247bf748':
lavfi: add an NVIDIA NPP-based scaling filter
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-18 15:34:04 +01:00
Derek Buitenhuis
34245eccaf
Merge commit '98114d70e48caf871b0fe9b8e5bf8ebd989b845d'
...
* commit '98114d70e48caf871b0fe9b8e5bf8ebd989b845d':
lavf: VAAPI scale filter
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-18 15:22:24 +01:00
Thilo Borgmann
37a4d3383f
lavfi/perspective: Add basic timeline editing.
...
Add number of input and output frames to possible variables.
Add option eval to reevaluate coordinate expressions during
initialization or for every frame.
2016-04-17 21:12:34 +02:00
Michael Niedermayer
6d160afab2
avfilter/vf_readvitc: Use avpriv_frame_get_metadatap() avoid direct access to AVFrame.metadata (to comply to API)
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-17 18:21:42 +02:00
Ronald S. Bultje
6135aed0d2
vf_scale: support bt2020 in in/out_color_matrix properties.
2016-04-17 09:28:30 -04:00
Michael Niedermayer
c8d95e5ceb
avfilter/colorspacedsp_template: Add argument protecting () to avg()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-17 13:17:18 +02:00
Tobias Rapp
2aad631a81
avfilter: add readvitc filter
...
Add a filter to scan the top lines of video frames for vertical interval
timecode (VITC) information and attach it as metadata keys.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2016-04-16 16:22:43 +02:00
Michael Niedermayer
60517c3ad6
avfilter/af_hdcd: Fix informations typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-16 02:01:10 +02:00
Benjamin Steffes
0cfe16437f
lavfi/af_hdcd: Implement high definition audio cd filtering.
...
Fixes ticket #4441 .
2016-04-15 12:14:55 +02:00
Derek Buitenhuis
8688d3af39
Merge commit '07a844f32ebb78503981df017fa3ebfedb75fe1c'
...
* commit '07a844f32ebb78503981df017fa3ebfedb75fe1c':
lavfi: generic hardware surface upload and download filters
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-14 13:59:45 +01:00
Tobias Rapp
ee104580c5
avfilter/vf_drawtext: add optional default value to metadata function
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2016-04-13 08:39:07 +02:00
Yuuki Galaxy
af5419f91b
libavfilter/vf_owdenoise.c: skip processing when strength is 0
...
It is practical to de-noise only on luma while keeping chroma unchanged.
However, libavfilter/vf_owdenoise.c always do the Wavelet transform/retransform on all 3 channels without check whether chroma_strength is 0.
Thus I make this patch. De-noise on Y only for yuv420 is now 1.5 times faster.
Signed-off-by: Yuuki Galaxy <galaxy001@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-12 22:57:32 +02:00
Ronald S. Bultje
5ce703a6bf
vf_colorspace: x86-64 SIMD (SSE2) optimizations.
2016-04-12 16:42:48 -04:00
Ronald S. Bultje
2e2e08a35b
lavfi: new colorspace conversion filter.
...
The intent here is similar to colormatrix, but it's LGPLv2.1-or-later
(instead of GPLv2.0) and supports gamma/chromaticity correction.
2016-04-12 16:42:45 -04:00
Derek Buitenhuis
8cae006c56
Merge commit '1138eb5509d3db7f6d565cb45f137a786d22beb9'
...
* commit '1138eb5509d3db7f6d565cb45f137a786d22beb9':
vsrc_movie: convert to codecpar
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-11 14:42:30 +01:00
Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
...
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
2016-04-07 16:14:42 +02:00
Diego Biurrun
01621202aa
build: miscellaneous cosmetics
...
Restore alphabetical order in lists, break overly long lines, do some
prettyprinting, add some explanatory section comments, group parts
together that belong together logically.
2016-04-07 15:26:08 +02:00
F.Sluiter
3a9611d623
avfilter: add remap filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-04-07 14:02:46 +02:00
Marios Titas
c1f9734f97
avfilter/src_movie: fix how we check for overflows with seek_point
...
Currently, if the movie source filter is used and a seek_point is
specified on a file that has a negative start time, ffmpeg will fail.
An easy way to reproduce this is as follows:
$ ffmpeg -vsync passthrough -filter_complex 'color=d=10,setpts=PTS-1/TB' test.mp4
$ ffmpeg -filter_complex 'movie=filename=test.mp4:seek_point=2' -f null -
The problem is caused by checking for int64_t overflow the wrong way.
In general, to check whether a + b overflows, it is not enough to do:
a > INT64_MAX - b
because b might be negative; the correct way is:
b > 0 && > a > INT64_MAX - b
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-03 01:50:08 +02:00
Paul B Mahol
4a80a6ad21
avfilter/vf_waveform: optimize lowpass filter even more
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-29 22:02:48 +02:00
Lou Logan
06eef96b69
fix some a/an typos
...
Signed-off-by: Lou Logan <lou@lrcd.com>
2016-03-28 14:13:17 -08:00
Paul B Mahol
a55c953ef0
avfilter/af_sofalizer: allow user to setup custom virtual speakers positions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-28 21:27:59 +02:00
Paul B Mahol
c2bbcf1607
avfilter/vf_waveform: optimize 16bit lowpass filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-28 12:28:03 +02:00
Paul B Mahol
48be92e5b6
avfilter/vf_waveform: optimize lowpass 8bit filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-27 23:29:38 +02:00
Paul B Mahol
0b9957c301
avfilter/vf_waveform: move mirror variable into function argument
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-27 22:50:04 +02:00
Thilo Borgmann
4d251723c0
lavfi: Add coreimage filter for GPU based image filtering on OSX.
2016-03-25 17:18:49 +01:00
Anton Khirnov
a638e9184d
vf_fade: make sure the slice end is always in the frame
...
CC: libav-stable@libav.org
2016-03-25 14:53:31 +01:00
Anton Khirnov
8a02a8031e
lavfi: add an NVIDIA NPP-based scaling filter
2016-03-23 19:55:34 +01:00
Mark Thompson
98114d70e4
lavf: VAAPI scale filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-03-23 19:40:15 +01:00
Ganesh Ajjanagadde
db1a642cd2
all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.h
...
The idea is to use ffmath.h for internal implementations of math functions.
Currently, it is used for variants of libm functions, but is by no means
limited to such things.
Note that this is not exported; use lavu/mathematics for such purposes.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
2016-03-22 10:15:31 -07:00
Paul B Mahol
8f66a2da38
avfilter/vf_vectorscope: always flip output vertically
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-20 21:10:45 +01:00
Paul B Mahol
50f4b64c54
avfilter/vf_waveform: set color range for output frames
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-20 10:00:53 +01:00
Paul B Mahol
959c7dad88
avfilter/vf_waveform: add graticule to aflat filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-19 21:47:15 +01:00
Paul B Mahol
c91b20c464
avfilter/vf_waveform: add subsampling input support for remaining filters
...
Remove achroma filter, as same output can be done with lowpass filter
and multiple components with overlay display.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-19 21:18:35 +01:00
Mark Thompson
07a844f32e
lavfi: generic hardware surface upload and download filters
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-03-19 15:41:04 +01:00
Michael Niedermayer
48bda6c5f7
avfilter/vf_detelecine: Remove redundant declaration
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19 12:26:14 +01:00
Benjamin Steffes
c411e90bc3
Fix start_frame handling in detelecine filter
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19 03:58:47 +01:00
Benjamin Steffes
be482e5165
Fix detelecine filter for patterns containing 1
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19 03:58:47 +01:00
Paul B Mahol
93c6c52ad7
avfilter/vf_waveform: add subsampled input support for (a)color filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-18 11:08:32 +01:00
Benjamin Steffes
06267afe1c
Fix detelecine filter for patterns like 3444 or 33333334.
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2016-03-16 19:58:14 +01:00
Thomas Mundt
d0a9114f99
avfilter/vf_bwdif: Add yadif base information to copyright header
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-03-16 00:05:45 -03:00
Paul B Mahol
a68d4bf235
avfilter/vf_waveform: add forgotten color and acolor filter to switch case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-15 09:16:18 +01:00
Paul B Mahol
af5559ab67
avfilter/vf_waveform: add graticule for chroma and flat filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-14 23:12:43 +01:00
Michael Niedermayer
c34250178b
avfilter/af_sofalizer: Fix "warning: ISO C90 forbids mixed declarations and code"
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-14 22:40:38 +01:00
Paul B Mahol
29d106e751
avfilter/vf_waveform: remove mirroring from chroma filter
...
It is not really useful.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-14 13:25:10 +01:00
Paul B Mahol
9f6e63f6f2
avfilter/vf_waveform: add >8 bit support for other filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-14 13:25:10 +01:00
Paul B Mahol
370cecc1e8
avfilter/vf_vectorscope: less aggressive memory allocation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 20:07:18 +01:00
Paul B Mahol
55c872146d
avfilter/vf_vectorscope: process alpha at end
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 19:54:25 +01:00
Paul B Mahol
8097455929
avfilter/vf_vectorscope: copy frame props, mainly for bench filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 19:23:44 +01:00
Paul B Mahol
912fec3e54
avfilter/vf_waveform: add acolor filter
...
Useful in combination with color filter.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 11:24:39 +01:00
Thomas Mundt
5024a82e95
avfilter/vf_bwdif: add x86 SIMD
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
2016-03-13 10:06:21 +01:00
Michael Niedermayer
58cb1fb1fe
avfilter/vf_decimate: Use the correct frame in difference calculation
...
Fixes Ticket4964
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-13 00:38:54 +01:00
Michael Niedermayer
52e7f6b17e
Revert "avfilter/vf_decimate: Check that input parameters match"
...
ill commit a better solution
This reverts commit 30fe3fd527
.
2016-03-13 00:38:54 +01:00
Paul B Mahol
4a7c705fde
avfilter/vf_vectorscope: make it possible to override colorspace
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 00:17:29 +01:00
Paul B Mahol
a61cd42c8d
avfilter/smptebars: fix some 75% color values
...
They where slightly off.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-12 23:52:14 +01:00
Paul B Mahol
817d0c6da2
avfilter/vf_waveform: add parade display mode
...
Rename old parade display mode to stacked.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-11 23:08:38 +01:00
Paul B Mahol
867637caea
avfilter/vf_waveform: fix and extend millivolts grat lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-11 10:24:51 +01:00
Paul B Mahol
119c108b31
avfilter/vf_waveform: fix ire8 for 25%
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-11 09:51:12 +01:00
Paul B Mahol
1a5895757d
avfilter/vf_waveform: fix indentation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-11 00:15:53 +01:00
Paul B Mahol
681f833610
avfilter/vf_waveform add support for other scalers for graticule
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-11 00:09:57 +01:00
Paul B Mahol
953b8c5a43
avfilter/vf_waveform: use intensity for other components too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-09 11:51:20 +01:00
Paul B Mahol
b3e0371818
avfilter/vf_waveform: make it possible to draw dots instead of lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-08 23:14:57 +01:00
Paul B Mahol
209cff2d9c
avfilter/vf_waveform: make sure that x/y for text position is positive
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-08 22:04:57 +01:00
Muhammad Faiz
fd0c9789cf
avfilter/avf_showcqt: add performance debugging log
...
for easier development
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-03-08 20:50:26 +07:00
Paul B Mahol
f78ef2d885
avfilter/vf_vectorscope: short for Magenta is Mg
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-08 12:12:29 +01:00
Paul B Mahol
f20cdcbc05
avfilter/vf_vectorscope: draw color points names
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-07 22:38:13 +01:00
Paul B Mahol
f659b70eb0
avfilter/vf_waveform: draw graticule for color filter too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-07 13:27:41 +01:00
Carl Eugen Hoyos
bba9bed3f3
lavfi/extractplanes: Add RGB0 and friends as supported pix_fmts.
2016-03-07 12:05:42 +01:00
Carl Eugen Hoyos
0ba844a053
lavfi/extractplanes: Fix in_pixfmts.
...
If the original pix_fmt was >8 bit and not supported by the filter,
the filter system could choose a pix_fmt with different endianness
as input for extractplanes which broke the output because the output
always used the endianness of the original pix_fmt.
2016-03-07 11:59:36 +01:00
Carl Eugen Hoyos
b872b98bb4
lavfi/extractplanes: Move endianness calculation up.
...
Needed for next commit.
2016-03-07 11:54:37 +01:00
Paul B Mahol
6e19120ea2
avfilter/vf_vectorscope: add 12bit depth support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-06 20:29:23 +01:00
Paul B Mahol
02f8421546
avfilter/vf_histogram: add 12bit depth support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-06 19:55:02 +01:00
Paul B Mahol
23d8b79a18
avfilter/vf_waveform: add text to graticule
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-06 16:48:05 +01:00
Paul B Mahol
5451be50a8
avfilter/vf_waveform: use nonsubsampled yuv output format for lowpass filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-06 16:48:05 +01:00
Muhammad Faiz
7dd60a0b54
avfilter/avf_showcqt: remove CoeffsType
...
seems not useful
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-03-06 16:36:37 +07:00
Paul B Mahol
361e48f0ed
avfilter/vf_waveform: add graticule support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-05 22:33:01 +01:00
Paul B Mahol
f3c00be2a3
avfilter/vf_waveform: only use available components
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-05 20:22:35 +01:00
Michael Niedermayer
b3dc51dd57
avfilter/f_bench: Fix comparission condition
...
Fixes: CID1355115
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-05 02:04:57 +01:00
Paul B Mahol
ac15d7a666
avfilter/vf_histogram: explicitly set 10bit output formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-04 23:09:41 +01:00
Paul B Mahol
f81c81cc3a
avfilter/af_afftfilt: add option for 17 fft case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-04 22:20:12 +01:00
Paul B Mahol
781195fa62
avfilter/af_sofalizer: check if filename was set.
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-04 22:14:43 +01:00
Michael Niedermayer
500cb98471
avfilter/af_afftfilt: Extend to 17bit fft
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-04 16:05:47 +01:00
Paul B Mahol
79a54f30c8
avfilter/af_sofalizer: fix crash when ir size is not aligned, usually when n_samples are not power of 2
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-04 10:38:40 +01:00
Paul B Mahol
21234c835d
avfilter/af_sofalizer: fix crash with odd IR size
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-03 23:59:58 +01:00
Paul B Mahol
3e491a1fb6
avfilter/af_sofalizer: print size of FFT that failed to init
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-03 23:59:58 +01:00
Michael Niedermayer
966eadeab3
avfilter/vf_ciescope: Fix 'ISO C90 forbids mixed declarations and code'
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-03 21:20:08 +01:00
Paul B Mahol
5e9f85925c
avfilter/vf_vectorscope: improve green graticule visibility
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-03 21:05:39 +01:00
Paul B Mahol
768734a0ff
avfilter/vf_vectorscope: add threshold option
...
Useful to only display lows/mids/highs.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-03 21:05:39 +01:00
Michael Niedermayer
50208a0424
avfilter/vf_ciescope: Fix "incompatible pointer type" warnings
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-03 16:41:11 +01:00
Paul B Mahol
f5f34ee0de
avfilter/vf_zscale: unbreak RGB support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-03 13:28:25 +01:00
Paul B Mahol
256fa2ab1b
avfilter: add ciescope filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-03 12:26:44 +01:00
Carl Eugen Hoyos
8653d6e1a6
lavfi/drawutils: Add some missing GBRP pix_fmts.
...
Fixes for example extractplanes with GBRAP16.
2016-03-03 11:15:30 +01:00
Paul B Mahol
5afe918336
avfilter/vf_vectorscope: add 9 & 10 bit depth input & output support with alpha
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-02 12:30:30 +01:00
Paul B Mahol
29c6fd41fc
avfilter/vf_vectorscope: make background opacity customizable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-02 09:40:41 +01:00
Paul B Mahol
a7897bd3a6
avfilter/vf_vectorscope: add graticule
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-02 09:40:41 +01:00
Paul B Mahol
85dd497baa
avfilter/vf_vectorscope: avoid crash by explicitly checking for 8-bit depth
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-02 09:40:41 +01:00
Clément Bœsch
090621d7ce
lavfi: add bench and abench filters
2016-03-01 10:36:15 +01:00
Muhammad Faiz
d1401cb1d0
avfilter/avf_showcqt: optimize draw routines
...
optimize draw_bar_yuv (slightly faster)
optimize draw_axis (about 2x faster)
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-02-29 16:06:39 +07:00
Paul B Mahol
65cc3915db
avfilter/avf_showvolume: support unknown channel layouts too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-28 23:18:31 +01:00
Paul B Mahol
2ad1c87bb2
avfilter/vf_vectorscope: add color5 mode, mode like color but with higher saturation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-28 20:03:04 +01:00
Timothy Gu
222e6da605
x86/vf_blend: Add SSE2 optimization for divide
...
4.5x faster than C float version with autovectorization
10 x faster than C int version
25 x faster than C float version without autovectorization
2016-02-28 08:19:09 -08:00
wm4
5d2c5e8bff
vf_copy: exclude hwaccel formats
...
This does obviously not work.
(Additions based on vf_crop.c.)
2016-02-27 21:35:20 +01:00
Paul B Mahol
e266d29978
avfilter/avf_showwolume: add orientation and step option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-27 17:45:20 +01:00
Clément Bœsch
653af9f188
lavfi/ass: fix version check for sub_text_format option
2016-02-27 16:26:10 +01:00
Paul B Mahol
42c5e1cc2a
avfilter: add datascope filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-26 22:22:05 +01:00
Clément Bœsch
fa2df3a401
lavfi/ass: use ass_process_chunk() instead of ass_process_data()
2016-02-26 21:53:34 +01:00
Paul B Mahol
2a7f056d88
avfilter/af_astats: do not clear previous sample value
...
Should help when using reset=1 and metadata=1
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-26 11:12:45 +01:00
Matt Oliver
7ecef5ed51
avfilter/hwupload_cuda: Add missing semicolon.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2016-02-25 15:52:01 +11:00
Michael Niedermayer
954f865c8e
avfilter/drawutils: fix gray and gbr formats on big endian
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-25 00:07:51 +01:00
Michael Niedermayer
6bc20e84d8
avfilter/drawutils: Fix ff_fill_rectangle() on big endian
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-25 00:07:51 +01:00
Paul B Mahol
0d65a7d033
avfilter/af_astats: clear all stats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-25 00:00:25 +01:00
Paul B Mahol
c09248aecd
avfilter/af_astats: reset stats prior not after filtering
...
This way stats printed at uninit are also useful.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-24 22:32:26 +01:00
Paul B Mahol
b6a0aa1c0a
avfilter/vf_blend: add freeze and heat modes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-24 19:30:13 +01:00
Derek Buitenhuis
1a12eb4a73
Merge commit '29c2d06d67724e994980045afa055c6c34611b30'
...
* commit '29c2d06d67724e994980045afa055c6c34611b30':
cosmetics: Drop empty comment lines
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:31:44 +00:00
Derek Buitenhuis
ef9915a0e2
Merge commit '21f7cd4acd8dc4b4796b55966dd015cb037164d8'
...
* commit '21f7cd4acd8dc4b4796b55966dd015cb037164d8':
lavfi: add a filter for uploading normal frames to CUDA
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 17:02:48 +00:00
Derek Buitenhuis
10424024a1
Merge commit 'b3dd30db0b2d857147fc0e1461a00bd6172a26a3'
...
* commit 'b3dd30db0b2d857147fc0e1461a00bd6172a26a3':
lavfi: pass the hw frames context through the filter chain
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-24 16:03:57 +00:00
Anton Khirnov
1138eb5509
vsrc_movie: convert to codecpar
2016-02-24 10:08:37 +01:00
Muhammad Faiz
6eb4021d47
avfilter/avf_showcqt: use lrint
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-02-23 22:14:08 +07:00
Carl Eugen Hoyos
37afeabd1b
lavfi/nnedi: Fix a compilation warning.
...
Silences the following warning:
libavfilter/vf_nnedi.c:611:15: warning: assignment discards ‘const’ qualifier from pointer target type
2016-02-23 00:21:49 +01:00
Carl Eugen Hoyos
44cf5b41d3
lavfi/nnedi: Fix a memleak.
2016-02-23 00:19:11 +01:00
Muhammad Faiz
76377d66b7
avfilter/avf_showcqt: remove unneeded headers
2016-02-23 01:05:08 +07:00
Muhammad Faiz
bfc61b0fcc
avfilter: add firequalizer filter
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-02-23 00:44:07 +07:00
Paul B Mahol
5d93437e46
avfilter/vf_waveform: add 12bit depth support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-22 18:04:04 +01:00
Diego Biurrun
29c2d06d67
cosmetics: Drop empty comment lines
2016-02-18 15:35:30 +01:00
Thomas Mundt
da94d619f6
avfilter: add BobWeaver deinterlacing filter
2016-02-18 13:12:48 +01:00
Paul B Mahol
08acab85d3
avfilter: add loop filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-18 11:55:00 +01:00
Paul B Mahol
38ed528fa5
avfilter/drawutils: >8 bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-17 18:59:56 +01:00
Derek Buitenhuis
ae3c0a9c1f
Merge commit 'c084d6d2cfb570b10d8784eb20cc696dfb7c5605'
...
* commit 'c084d6d2cfb570b10d8784eb20cc696dfb7c5605':
buffersrc: default SAR to 0 (unknown) rather than 1
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-17 15:42:12 +00:00
Muhammad Faiz
7c11e727f6
avfilter/avf_showcqt: improve pts handling
...
correct output pts based on input pts
make seeking possible
output frame one by one on eof
tested with showinfo filter
Suggested-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-17 16:13:09 +01:00
Paul B Mahol
4dc5880381
avfilter/vf_drawbox: reindent
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-17 09:42:46 +01:00
Paul B Mahol
5589698e0b
avfilter/vf_drawbox: add alpha pixel formats support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-17 09:39:05 +01:00
Derek Buitenhuis
9a9f3f151f
Merge commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266'
...
This commit is a no-op.
* commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266':
buffersrc: do not discard the error from ff_filter_frame()
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-16 19:48:39 +00:00
Paul B Mahol
c4ed213675
avfilter/f_streamselect: check if map is available
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-16 19:18:31 +01:00
Paul B Mahol
a588c7ac13
avfilter: add fieldhint filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-16 16:12:44 +01:00
Carl Eugen Hoyos
d0962160e0
lavfi/elbg: Make the pal8 output opaque.
2016-02-16 09:16:32 +01:00
Anton Khirnov
21f7cd4acd
lavfi: add a filter for uploading normal frames to CUDA
2016-02-14 22:25:38 +01:00
Anton Khirnov
b3dd30db0b
lavfi: pass the hw frames context through the filter chain
2016-02-14 22:21:00 +01:00
Anton Khirnov
c084d6d2cf
buffersrc: default SAR to 0 (unknown) rather than 1
...
It makes more sense to not claim anything about the SAR if we don't know
anything. No changes in the FATE tests, since this is what avconv ends
up doing anyway.
2016-02-14 21:24:24 +01:00
Timothy Gu
8c56a4a1ed
vf_blend: Move C dsp function mapping to separate function
2016-02-14 10:46:56 -08:00
Michael Niedermayer
b65ea6ab44
avfilter/vf_tinterlace: fix image alignment
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-14 19:17:36 +01:00
Timothy Gu
a678d66781
vf_blend: Use integers for divide mode
...
2.5x faster for 8-bit mode without autovectorization in GCC, 2x
slower with it on x86. However, since the platforms we enable GCC
autovectorization on most probably has support for SSE2
optimization (added in the subsequent commit), this commit should
in general do good.
2016-02-14 09:12:37 -08:00
Timothy Gu
4574323973
vf_blend: Reduce number of arguments for kernel function
2016-02-14 08:58:41 -08:00
Timothy Gu
ee281b884e
vf_blend: Use memcpy when opacity is 0
...
For xor mode, 1.8x faster on Haswell.
2016-02-14 08:57:07 -08:00
Timothy Gu
ba25936df5
vf_blend: Templatize identity function and use a better name
2016-02-14 08:57:05 -08:00
Paul B Mahol
e167d4ebac
avfilter/f_metadata: remove unused headers
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-14 15:21:36 +01:00
Paul B Mahol
13ea7c9780
avfilter/avf_showspectrum: improve pts handling
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-12 17:14:30 +01:00
Michael Niedermayer
817bf8483e
avfilter/af_anequalizer: Avoid loss of precision when calculating nyquist frequency
...
Fixes: CID1351398
Fixes: CID1351400
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-12 15:59:35 +01:00
Michael Niedermayer
f9f684c0fb
avfilter/vf_zoompan: Initialize ret
...
Silences: CID1351394
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-12 15:59:35 +01:00
Michael Niedermayer
03b26a2514
avfilter/vf_zoompan: Fix use of uninitialized variables
...
Fixes: CID1351392
Fixes: CID1351393
Fixes: CID1351395
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-12 15:59:35 +01:00
Anton Khirnov
fb25d99b0a
buffersrc: do not discard the error from ff_filter_frame()
2016-02-12 10:18:13 +01:00
Michael Niedermayer
156013111a
avfilter/avf_ahistogram: assert that variables are initialized by switch()
...
Silences: CID1351397
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-12 00:38:45 +01:00
Michael Niedermayer
43bf15d1a4
avfilter/avf_showfreqs: assert that variables are initialized by switch()
...
Silences: CID1351396
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-12 00:37:11 +01:00
Michael Niedermayer
9313fb6a3e
avfilter/vf_zoompan: Remove dead store
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-12 00:07:29 +01:00
Michael Niedermayer
62eb935bf9
avfilter/avf_avectorscope: assert that variables are initialized by switch()
...
Silences: CID1351390
Silences: CID1351391
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-11 23:09:39 +01:00
Michael Niedermayer
03c1129b20
avfilter/vaf_spectrumsynth: assert that variables are initialized by switch()
...
Silences: CID1351387
Silences: CID1351388
Silences: CID1351389
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-11 23:06:24 +01:00
Tobias Rapp
80026a8ac3
avfilter/f_metadata: rename "string" into "same_str"
...
Rename function option value "string" into "same_str". Remove obsolete
"length" option.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2016-02-11 16:13:07 +01:00
Tobias Rapp
730da5c207
avfilter/f_metadata: whitespace clean-up
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2016-02-11 13:50:47 +01:00
Tobias Rapp
6889deba68
avfilter/f_metadata: add starts_with string function
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2016-02-11 13:50:46 +01:00
Tobias Rapp
202f978728
avfilter/f_metadata: add support for file output
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2016-02-11 13:50:46 +01:00
Tobias Rapp
8b99c5e8da
avfilter/f_metadata: avoid float rounding problems
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2016-02-11 13:47:25 +01:00
Michael Niedermayer
ac3a275d1e
avfilter/vf_nnedi: Simplify away some trivial mem*()
...
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-11 02:20:29 +01:00
Timothy Gu
74f8d9aaef
x86/vf_blend: Add SSE2 optimization for screen
...
10x faster than C.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
2016-02-10 11:26:04 -08:00
Timothy Gu
c8b1612af0
x86/vf_blend: Move multiplying to a macro
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
2016-02-10 11:25:11 -08:00
Paul B Mahol
5486d7fa91
avfilter/dualinput: use pts provided by framesync
...
This fixes stalled output pts when main stream ends.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-10 19:57:23 +01:00
Paul B Mahol
408ea50ca6
avfilter/f_metadata: fix few logic errors
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-10 11:47:52 +01:00
Paul B Mahol
4ca8879d19
avfilter: add metadata filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-10 09:55:39 +01:00
Michael Niedermayer
674cc26f25
avfilter/vf_nnedi: Fix memleak
...
Fixes CID1351359
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-10 01:00:08 +01:00
Michael Niedermayer
8e46c7c1e7
avfilter/af_agate: fix memleak of out frame
...
Fixes CID1351358
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-08 22:51:32 +01:00
Timothy Gu
253209ac44
vf_blend: Add SSE2 optimization for multiply
...
5 times faster than C, 3 times overall.
2016-02-08 13:35:24 -08:00
Paul B Mahol
35d9441f7b
avfilter/vf_swaprect: add timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-08 15:43:09 +01:00
Michael Niedermayer
05924e1440
avfilter/af_anequalizer: Fix memleak of args
...
Fixes CID1351355
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-08 00:39:15 +01:00
Michael Niedermayer
e7786959cc
avfilter/vaf_spectrumsynth: Move "break" up
...
Fixes CID1351347
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-07 23:03:33 +01:00
Paul B Mahol
6bdeac24e0
avfilter/af_aformat: remove deprecated syntax from options description
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-07 22:47:39 +01:00
Paul B Mahol
ba618bde7f
avfilter/vf_blend: add multiply128 mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-07 19:50:11 +01:00
Clément Bœsch
6c0318c4ba
lavfi/fieldmatch: fix fields copy when plane height is odd
...
Fixes Ticket 5187
2016-02-07 15:49:20 +01:00
Paul B Mahol
f5c3f85eb2
avfilter: add swaprect filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-07 12:51:43 +01:00
Paul B Mahol
d12d48d0a8
avfilter: add streamselect and astreamselect filter
...
Signed-off-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-06 23:52:09 +01:00
Paul B Mahol
b1fe794033
avfilter/split: support any channel count for asplit filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-05 21:05:47 +01:00
Michael Niedermayer
1693336aed
avfilter/af_apulsator: assert that pathes leaving uninitialized variables do not occur
...
Fixes: CID1341581, CID1341582
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-04 23:14:02 +01:00
Paul B Mahol
f862ff750b
avfilter/vf_stack: free input pads name on uninit
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-04 18:02:29 +01:00
Michael Niedermayer
f89bc661b4
avfilter/af_afftfilt: Set last_expr to the default
...
This fixes a null pointer dereferece
Fixes: CID1351346
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-04 15:13:39 +01:00
Michael Niedermayer
908d010b12
avfilter/af_sidechaincompress: Free out frame on error
...
Fix memleak
Fixes CID1197065 part 2
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-03 17:09:24 +01:00
Paul B Mahol
c1b23e158c
avfilter/vf_nnedi: fix ISO C90 warnings
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-03 09:38:11 +01:00
Paul B Mahol
79991b2288
avfilter: add nnedi filter
...
Port of nnedi3 vapoursynth filter.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-01 13:16:15 +01:00
Paul B Mahol
0a7379d9cf
avfilter/vf_yadif: make use of ctx pointer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-02-01 11:59:17 +01:00
Timothy Gu
180f9a0958
all: Make header guard names consistent
2016-01-31 15:44:11 -08:00
Timothy Gu
014e4e4499
vf_phase: Reduce the scope of several variables
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
2016-01-31 15:34:09 -08:00
Paul B Mahol
4ab4793c15
avfilter/avf_showfreqs: properly handle pts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-31 22:18:12 +01:00
Timothy Gu
44304ae322
all: Add missing header guards
2016-01-28 19:49:48 -08:00
Derek Buitenhuis
dbbfbde085
Merge commit 'e8bc642202c10beda1ea4e93ec8492b1e39805e5'
...
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-27 16:46:58 +00:00
Derek Buitenhuis
21f9468402
avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT
...
Libav, for some reason, merged this as a public API function. This will
aid in future merges.
A define is left for backwards compat, just in case some person
used it, since it is in a public header.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-27 16:36:46 +00:00
Paul B Mahol
ce404b4d7c
avfilter/af_afade: do not duplicate curve option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-27 11:11:51 +01:00
Paul B Mahol
df7b165e87
avfilter/vf_zscale: make it possible to override input frame parameters
...
Mostly useful when there is no such parameters present at all.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-26 23:13:16 +01:00
Andreas Cadhalpun
38622007c4
vf_libopencv: add support for opencv 3
...
It dropped the old headers, but the replacements are already available
with opencv 2.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-25 23:49:22 +01:00
Vittorio Giovara
4709f72115
lavfi: Use AV_CEIL_RSHIFT where needed
2016-01-25 12:09:48 -05:00
Paul B Mahol
f42eae96b2
avfilter/vf_zoompan: fix pts handling
...
Now output pts have some sense.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 20:29:19 +01:00
Paul B Mahol
8a34344379
avfilter/vf_zoompan: unbreak filtering with video input
...
Inserting fifo appears to be working solution to not get
filter_frame request we do not want.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 19:17:39 +01:00
Paul B Mahol
3b9f41a9c6
avfilter/vf_zoompan: rewrite so it doesn't cache all output frames
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 17:49:23 +01:00
Ronald S. Bultje
9cf81e573c
lavfi: recognize GBR9-14P as RGB in ff_fill_rgba_map().
2016-01-24 11:45:53 -05:00
Clément Bœsch
17d41220d8
lavfi/pthread: fix perameters/parameters typo
2016-01-24 14:41:11 +01:00
Paul B Mahol
547d412078
avfilter: update some comments
...
start_frame is no more, samplesref argument is now frame argument.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 14:32:14 +01:00
Michael Niedermayer
d863785379
avfilter/vf_convolution: Use av_clip_uint8()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-23 18:29:48 +01:00
Paul B Mahol
805563c814
avfilter/af_ladspa: accepts ' ' as command separator too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-22 21:41:11 +01:00
Paul B Mahol
8a5d4a51ff
avfilter/vf_convolution: add timeline support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-22 17:54:44 +01:00
Paul B Mahol
1c02af307a
avfilter: add convolution filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-22 12:06:54 +01:00
Paul B Mahol
b18467a943
avfilter/avf_showwaves: add logarithmic amplitude scaler
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-22 11:11:06 +01:00
Paul B Mahol
6ed3a10f64
avfilter/avf_showwaves: color support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-21 20:48:28 +01:00
Paul B Mahol
fa04ec728d
avfilter: add afftfilter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-21 14:31:38 +01:00
Clément Bœsch
a362015641
lavc,lavfi: use avutil/thread.h instead of redundant conditional includes
...
This was somehow forgotten in a8bb81a05c
.
2016-01-20 21:36:54 +01:00