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 a8bb81a05c519dd3f36cc341e5fb448f6d17fa73.
2016-01-20 21:36:54 +01:00
Bela Bodecs
868a2ed568
vf_scale: Detecting changes of incoming frame properties and dinamically evaluate width and height expressions
...
Currently scale filter accepts expressions in its width and height
parameters but evaluates them only once at init and replaces them with
their actual values. Later on, if any parameter of incoming frames
changes - ie those were used in the original size expressions - then
they new values will not have any affect for width and heigth values.
They remain the same. This patch makes possible that width and height
expressions be evaluated frame-by-frame basis if width/height/sar/format
properties of incoming frame would change. To retain the current
behaviour and not to break any earlier app, a new config parameter has
been introduced. Its name is "eval" and it has two distinct values:
"init" and "frame". The default value is "init".
This feature is very usefull in case of DVBT mpeg-ts streams where SAR
may change time-by-time from 4/3 to 16/9 and vica-versa and the size
remains the same and you want to create a variable sized output with 1/1
SAR.
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-20 13:32:00 +01:00