Paul B Mahol
44fb00866f
avfilter: rename vf_reverse.c to f_reverse.c
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
591741b51d
avfilter: add areverse filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Anton Khirnov
22ecfcd4c7
af_channelmap: properly set the supported output channel layouts
...
The current code expects query_formats() to be called exactly once, it
will leak if it's not called at all (filter initialized, but never
configured or used) or try to read freed memory if it's called more than
once.
Found-by: James Almer <jamrial@gmail.com>
CC: libav-stable@libav.org
10 years ago
Paul B Mahol
625bf6a55c
avfilter/vf_reverse: check also pts_size when reallocating
...
Fixes crash of x32.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
787d370e14
avfilter: add deband filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Bernd Bleßmann
d2b78fe6b7
libavfilter/vf_crop: implement process_command
...
Signed-off-by: Bernd Bleßmann <bb@it-entwicklung.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Bernd Bleßmann
99ad832c7e
libavfilter/vf_scale: implement process_command
...
Signed-off-by: Bernd Bleßmann <bb@it-entwicklung.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
39867f3e09
avfilter/af_channelmap: Move ff_add_channel_layout() call to querry_format()
...
Avoids memleak if querry_formats is not called
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
James Almer
e3851169ee
x86/vf_ssim: add ff_ssim_4x4_line_xop
...
~20% faster than ssse3. Also enabled for x86_32
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
James Almer
e1778fb657
x86/vf_ssim: fix some instruction comments
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Paul B Mahol
7967474bd9
avfilter/af_amerge: increase max number of channels from 32 to 64
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
James Almer
6de5b6cd86
avfilter/af_astats: use UINT64_C instead of the LLU suffix
...
Should fix compilation with vs2012
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Paul B Mahol
a8fbb7b625
avfilter: add random video filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Derek Buitenhuis
8271a84094
avfilter: Add reverse filter
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years ago
Anton Khirnov
6b15874fc2
af_resample: do not touch the timestamps if we are not resampling
...
This filter currently assumes that the input audio is continuous and
does some timestamps manipulation based on this assumption.
This is unnecessary if we are only converting the channel layout or the
sample format, without resampling. In such a case, just leave the
timestamps as they are.
10 years ago
Paul B Mahol
9a829a2b6a
avfilter/vf_blend: unbreak tblend
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
efd4e5fe68
avfilter/vf_blend: implement 16bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Michael Niedermayer
2927b61c55
avfilter/af_dynaudnorm: Use av_frame_get_channels()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
4c7c0d37e5
avfilter/af_dynaudnorm: Fix "ISO C90 forbids mixed declarations and code" warnings
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
2ea8a48083
avfilter/af_aresample: Check ff_all_* for allocation failures
...
Fixes: signal_sigabrt_7ffff70eccc9_498_divx502.avi with memlimit 1572864
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
ec6bef68f1
avfilter: bump minor and add Changelog entry
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
297df52f30
avfilter/af_compand: fix clipping with default options
...
Decays and attacks where by default set only for first channel
which caused poor defaults to be used which produced clipping
on any higher channel.
Reported-by: lachs0r
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
LoRd_MuldeR
21436b95dc
avfilter: add Dynamic Audio Normalizer filter
10 years ago
Paul B Mahol
3b365dda5c
avfilter/af_astats: measure minimal and mean difference between two consecutive samples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Carl Eugen Hoyos
ed5d62e509
lavfi/af_pan: Support a maximum of 64 channels.
...
The Soundflower input device supports 64 channels.
10 years ago
Michael Niedermayer
c4dfb76fa7
avfilter/vf_eq: Support contrast from -1000 to 1000
...
Fixes "-vf eq=0.05,eq=20"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
51925daafd
avfilter/af_astats: make sure p->last is actually always set when measuring max difference
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
59a9998908
avfilter/af_astats: also measure maximal difference between two consecutive samples
...
While here also mention bit depth in documentation.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
7aafac976f
avfilter/vf_smartblur: use the name 's' for the pointer to the private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
61641627b8
avfilter/af_astats: calculate audio bit-depth
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
3001558487
avfilter: add erosion, dilation, deflate & inflate filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Michael Niedermayer
9d8070afe1
avfilter/internal: add more words to sentance
...
Hopefully fixes english syntax
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
eea08efc0d
avfilter/x86/vf_psnr.asm: split one line of license text into two
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
James Darnley
bff7242608
avfilter/vf_removegrain: add x86 and x86_64 SSE2 functions
...
Speed of all modes increased by a factor between 7.4 and 19.8 largely depending
on whether bytes are unpacked into words. Modes 2, 3, and 4 have been sped-up
by a factor of 43 (thanks quick sort!)
All modes are available on x86_64 but only modes 1, 10, 11, 12, 13, 14, 19, 20,
21, and 22 are available on x86 due to the number of SIMD registers used.
With a contribution from James Almer <jamrial@gmail.com>
10 years ago
Michael Niedermayer
522256b374
avfilter/internal: Improve docs about ff_request_frame()
...
Reviewed-by: James Darnley <james.darnley@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
ae4c9ddebc
vf_psnr: sse2 optimizations for sum-squared-error.
...
The internal line accumulator for 16bit can overflow, so I changed that
from int to uint64_t in the C code. The matching assembly looks a little
weird but output looks correct.
(avx2 should be trivial to add later.)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
0ff4953e1b
avfilter/vf_ssim: Fix "incompatible pointer type" warnings
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
dfc58584b4
vf_ssim: x86 simd for ssim_4x4xN and ssim_endN.
...
Both are 2-2.5x faster than their C counterpart.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
03931ecf71
vf_ssim: remove another obscure double loop.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
a1f4848049
ssim: refactor a weird double loop.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
885afff01c
avfilter/vf_w3fdif: implement slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
7b07e72abc
avfilter/vf_stereo3d: implement slice threading for anaglyph output
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Ronald S. Bultje
f353b851b9
vf_ssim: fix s->coefs for yuv with non-4:2:0 subsampling.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
3bb58c377b
vf_psnr: fix rgb channel order mixup in final log message.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
9879421f1a
vf_psnr: always calculate MSE over full pixel range.
...
This makes the output compatible with that of pretty much any other
tool that calculates PSNR.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
c381af77c5
vF_psnr: move set_meta() calls out of loop.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Ronald S. Bultje
0303d43964
vf_psnr: add channel weighting based on chroma subsampling.
...
Also add per-channel psnr stream averages to final log message.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
8fca37d5f8
avfilter/vf_ssim: Mark constant tables as const
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
ae55fc82a8
avfilter/vf_removegrain: clip to uint16 instead to uint8
...
This is how original filter behaves.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
91748662bc
avfilter: add removegrain
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago