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>
2015-07-13 02:39:51 +02:00
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>
2015-07-13 02:23:30 +02:00
Paul B Mahol
885afff01c
avfilter/vf_w3fdif: implement slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-12 20:06:03 +00:00
Paul B Mahol
7b07e72abc
avfilter/vf_stereo3d: implement slice threading for anaglyph output
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-12 20:05:56 +00:00
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>
2015-07-12 17:15:42 +02:00
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>
2015-07-11 19:13:57 +02:00
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>
2015-07-11 18:47:05 +02:00
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>
2015-07-11 12:48:58 +02:00
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>
2015-07-11 04:14:09 +02:00
Michael Niedermayer
8fca37d5f8
avfilter/vf_ssim: Mark constant tables as const
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-07-10 23:43:21 +02:00
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>
2015-07-10 10:50:28 +00:00
Paul B Mahol
91748662bc
avfilter: add removegrain
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-08 16:02:34 +00:00
Paul B Mahol
7efe81a813
avfilter/vf_colormatrix: add yuv444p support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-08 05:40:03 +00:00
Paul B Mahol
e658b1036c
avfilter/avf_showvolume: make it possible to use current channel number in color expression
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-03 18:43:21 +00:00
Paul B Mahol
c3a5702ebf
lavfi: add (a)drawgraph filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-03 18:43:21 +00:00
Paul B Mahol
866404df2d
avfilter/vf_lut: fix oversight
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-03 16:58:56 +00:00
Paul B Mahol
c0d676f977
avfilter/af_astats: implement recalculation of stats after each X frames
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-03 16:34:28 +00:00
Paul B Mahol
d3836b603e
avfilter/af_astats: export metadata
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-03 16:34:28 +00:00
Michael Niedermayer
8f4cfda972
avutil: add missing bswap include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-07-03 13:17:57 +02:00
Paul B Mahol
b74ebd09c7
avfilter/vf_lut: >8 bit depth planar yuv support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-03 09:29:06 +00:00
Paul B Mahol
96953e2ef6
avfilter/vf_mpdecimate: remove packed formats
...
Packed formats are not supported.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-02 15:36:00 +00:00
Paul B Mahol
7ff5a345a4
avfilter: use AVFILTER_DEFINE_CLASS()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-02 15:36:00 +00:00
Paul B Mahol
17e6d7b400
avfilter/vf_extractplanes: use faster path for input formats with only one component
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-01 17:19:52 +00:00
Paul B Mahol
fc40cdbf49
avfilter/vf_extractplanes: rename misleading variable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-01 17:19:52 +00:00
Paul B Mahol
be35b8b9a9
avfilter/vf_extractplanes: support more pixel formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-07-01 17:19:52 +00:00
Paul B Mahol
185e76976e
avfilter/vf_ssim: fix some cosmetics issues
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-30 02:52:33 +00:00
Michael Niedermayer
0083c16605
avfilter/vf_transpose: Fix rounding error
...
Fixes out of array access
Fixes: asan_heap-oob_7f875d_3482_cov_1818465256_ssudec.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-30 16:02:09 +02:00
Paul B Mahol
9842d6707f
avfilter/avf_showvolume: optionally display channel names
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-29 07:53:56 +00:00
Paul B Mahol
f76d7d4b01
avfilter: add showvolume filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-28 14:33:36 +00:00
Paul B Mahol
5a1f785249
avfilter: add ssim filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-24 14:04:40 +00:00
Michael Niedermayer
f399f826ee
Merge commit 'c060d046aa2f89c0e601a2dcfbce53f0e36cf498'
...
* commit 'c060d046aa2f89c0e601a2dcfbce53f0e36cf498':
af_resample: Set the number of samples in the last frame
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-21 20:55:23 +02:00
Simon Thelen
7cbb52ecab
libavfilter/formats: Fix parsing of channel specifications with a trailing 'c'.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-20 19:51:14 +02:00
Michael Niedermayer
50ee17340b
avfilter/formats: Add test for ff_parse_channel_layout()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-20 14:26:34 +02:00
Luca Barbato
c060d046aa
af_resample: Set the number of samples in the last frame
...
Otherwise trailing zeroes would appear.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-06-20 12:18:01 +03:00
Paul B Mahol
eb85060b84
avfilter/af_afade: add couple of more curves
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-15 20:55:05 +00:00
Paul B Mahol
20ee65ef73
avfilter/af_afade: use av_clipd() instead of nested FFMAX & FFMIN
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-14 17:08:43 +00:00
Clément Bœsch
1dee7a31e0
avfilter: bump minor after colorkey addition
2015-06-14 11:20:47 +02:00
Timo Rothenpieler
f17d973413
avfilter/vf_colorkey: Add colorkey video filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-14 01:04:14 +02:00
Michael Niedermayer
a98d4d5207
avfilter/drawutils: Assert av_pix_fmt_desc_get() return value in ff_fill_line_with_color()
...
Theres currently no case where this could be triggered
Found-by: Daemon404
Reviewed-by: Nicolas George <george@nsup.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-13 21:33:18 +02:00
Clément Bœsch
8978052869
avfilter/lut3d: assert on pixel format descriptor
...
inlink->format is supposed to be set to a valid format controlled by query_formats().
2015-06-13 20:51:43 +02:00
Clément Bœsch
a056636c81
avfilter/geq: assert on pixel format descriptor
...
inlink->format is supposed to be set to a valid format controlled by query_formats().
2015-06-13 20:51:43 +02:00
Michael Niedermayer
e0db41316a
avfilter/drawutils: Fix format validity check in ff_draw_init()
...
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-13 00:06:28 +02:00
Paul B Mahol
cfe8a89b00
avfilter/vf_zoompan: support planar rgb pixel formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-12 17:15:20 +00:00
Clément Bœsch
40cc3be73c
avfilter: fix a few 5 spaces indent
2015-06-07 20:18:15 +02:00
Ganesh Ajjanagadde
42db4aaaa6
vf_colormatrix: calculate coefficients only once
...
calc_coefficients is no longer being called every frame
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-07 00:56:32 +02:00
Carl Eugen Hoyos
3b4e694ead
lavfi/tinterlace: Double aspect ratio for modes merge and pad.
2015-06-04 17:03:29 +02:00
Paul B Mahol
b8c0cf7880
avfilter/vf_blend: add linearlight and glow mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-03 12:40:09 +00:00
Paul B Mahol
3e04746ec3
avfilter/vf_blend: add hardmix mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-02 19:12:45 +00:00
Paul B Mahol
20cea0c7de
avfilter/vf_blend: fix vividlight blend mode
...
Pointed-out-by: Rudolf Polzer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-02 18:55:24 +00:00
Paul B Mahol
ac973926b8
avfilter/vf_blend: clip result for divide blend mode
...
Pointed-out-by: Rudolf Polzer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-06-02 18:48:32 +00:00