Paul B Mahol
d5f87f8567
avfilter/vf_blend: add support for float formats
5 years ago
Lynne
c0344cbfb0
lavfi/vulkan: fix queue counts and set indices
5 years ago
Lynne
fb49d5c0b1
lavfi/vulkan: use dedicated allocation for buffers when necessary
5 years ago
Lynne
727cac88b8
lavfi/vulkan: use all enabled queues in the queue family
...
This should significantly improve the performance with certain
filterchains.
5 years ago
Lynne
fac17fd46f
lavfi/vulkan: fix 2 minor memory leaks
5 years ago
Nicolas George
88567a2e52
lavfi: add untile filter.
5 years ago
Nicolas George
2a52f19a91
lavfi/framesync: use av_gcd_q().
5 years ago
Nicolas George
beb98c0181
lavfi/tests/formats: reindent.
5 years ago
Nicolas George
d5e5c6862b
lavfi/formats: remove dead code.
...
Move the contents of all_channel_layouts.inc directly into
libavfilter/tests/formats.c.
5 years ago
Nicolas George
df123590f0
lavfi/vf_crop: use ff_formats_pixdesc_filter().
5 years ago
Nicolas George
563e1df5d6
lavfi/formats: add ff_formats_pixdesc_filter().
5 years ago
Mark Reid
04f67dcccf
avfilter/vf_lut3d: initial float pixel format support
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Anton Khirnov
f30a41a608
Stop hardcoding align=32 in av_frame_get_buffer() calls.
...
Use 0, which selects the alignment automatically.
5 years ago
Paul B Mahol
ca7095a907
avfilter/af_aiir: move response drawing as last step
5 years ago
Paul B Mahol
8c825e43f8
avfilter/af_aiir: fix first denominator calculation
5 years ago
Paul B Mahol
07a9e5ec5e
avfilter/af_aiir: add more descriptive options aliases
5 years ago
Paul B Mahol
ffda57b800
avfilter/af_aiir: export normalize option
...
And enable it in all modes by default.
5 years ago
Paul B Mahol
1fc5ddf774
avfilter/af_aiir: fix first delay value
5 years ago
Paul B Mahol
86822cfcd9
avfilter/af_aiir: fix phase and group delay calculation
...
Properly unwrap phase.
5 years ago
Paul B Mahol
b559a5882f
avfilter/af_aiir: fix invalid memory access with tf filtering
5 years ago
Paul B Mahol
5646d02cb3
avfilter/vf_chromakey: fix formula for calculation of difference
5 years ago
Paul B Mahol
8b0575d763
avfilter/vf_colorkey: fix formula for calculation of difference
...
Also fixes colorhold filtering.
5 years ago
Paul B Mahol
f63939dedb
avfilter: add gradients source video filter
5 years ago
Paul B Mahol
1ead7ed5bf
avfilter/vsrc_sierpinski: unbreak configuring rate value
5 years ago
Paul B Mahol
d99ed7367b
avfilter/vsrc_mandelbrot: unbreak configuring rate value
5 years ago
Marton Balint
b4bcae4e0e
Revert "avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first"
...
This reverts commit 339593ca90
.
Fixes null pointer dereference.
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Marton Balint
7f3a946216
Revert "avfilter/vf_minterpolate: if metadata lavfi.scd.mafd exists, we'll use it first"
...
This reverts commit d88e1c9838
.
Fixes null pointer dereference.
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Limin Wang
815a3b393c
avfilter/vf_minterpolate: change the default threshold to get better scene change detect result
...
./ffmpeg -loglevel debug -i ../fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf
minterpolate=fps=60:mi_mode=blend -an -f null -
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 1600
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 4120
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 5780
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 6700
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 8140
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 9740
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 14060
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 15680
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 18480
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 20020
[Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 21740
The results are consistent with tests/ref/fate/filter-metadata-scenedetect
For the master, it'll detect more than 20 scene change for the same source.
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
61cc009d53
avfilter/vf_minterpolate: correct the mafd calculation
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
d88e1c9838
avfilter/vf_minterpolate: if metadata lavfi.scd.mafd exists, we'll use it first
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
339593ca90
avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
d62d4e05e8
avfilter/vf_scdet: add filter to detect scene change
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
lance.lmwang@gmail.com
5ed20a74b7
avfilter/vf_colorbalance:: Fix for framecrc bitexact for 32bit and 64bit system
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Martin Storsjö
353aecbb28
pixblockdsp, avdct: Add get_pixels_unaligned
...
Use this in vf_spp.c, where the get_pixels operation is done on
unaligned source addresses.
Hook up the x86 (mmx and sse) versions of get_pixels to this
function pointer, as those implementations seem to support unaligned
use.
This fixes fate-filter-spp on armv7.
Signed-off-by: Martin Storsjö <martin@martin.st>
5 years ago
Anton Khirnov
b84a2b91fd
vf_showinfo: support AV_FRAME_DATA_VIDEO_ENC_PARAMS
5 years ago
Michael Niedermayer
52cc86cae1
avfilter/vf_spp: Fix endian-dependance in add_block()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Michael Niedermayer
dde86d0ddf
avfilter/vf_spp: Remove unused AVCodecContext
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Lynne
70d396c8af
Revert "hwcontext_vulkan: only use one semaphore per image"
...
This reverts commit 97b526c192
.
It broke the API, and assumed no other APIs used multiple semaphores.
This also disallowed certain optimizations to happen.
Dealing with APIs that give or expect single semaphores is easier when
we use per-image semaphores.
5 years ago
Limin Wang
a058d81570
avfilter/vf_signalstats: reindent after last commit
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
25bb72af62
avfilter/vf_signalstats: make the alloc array used for any bit depth
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
764efda192
avfilter/vf_signalstats: add SignalstatsContext.maxsize variable
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
a8c762a17d
avfilter/vf_signalstats: rename config_props -> config_output
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Guo, Yejun
71e28c5422
dnn/native: add native support for minimum
...
it can be tested with model file generated with below python script:
import tensorflow as tf
import numpy as np
import imageio
in_img = imageio.imread('input.jpg')
in_img = in_img.astype(np.float32)/255.0
in_data = in_img[np.newaxis, :]
x = tf.placeholder(tf.float32, shape=[1, None, None, 3], name='dnn_in')
x1 = tf.minimum(0.7, x)
x2 = tf.maximum(x1, 0.4)
y = tf.identity(x2, name='dnn_out')
sess=tf.Session()
sess.run(tf.global_variables_initializer())
graph_def = tf.graph_util.convert_variables_to_constants(sess, sess.graph_def, ['dnn_out'])
tf.train.write_graph(graph_def, '.', 'image_process.pb', as_text=False)
print("image_process.pb generated, please use \
path_to_ffmpeg/tools/python/convert.py to generate image_process.model\n")
output = sess.run(y, feed_dict={x: in_data})
imageio.imsave("out.jpg", np.squeeze(output))
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
5 years ago
Sebastian Dröge
ed3da72583
s->target_i and global are in dB but s->target_tp and true_peak are
...
linear. Instead of mixing these in the calculations, convert the former
first to have all following calculations in the same unit.
Signed-off-by: Kyle Swanson <k@ylo.ph>
5 years ago
Limin Wang
f441fadbcf
avfilter/af_adelay: Check sscanf() return value
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Limin Wang
ee5d6d2ef8
avfilter/vf_mix: Check sscanf() return value
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Paul B Mahol
0a181c2cb1
avfilter/af_crossfeed: make options runtime configurable
5 years ago
Paul B Mahol
35d6001815
avfilter/af_crossfeed: make slope configurable
5 years ago
Paul B Mahol
0ec61fcff7
avfilter/af_crossfeed: fix calculation of alpha parameter
...
Use A in calculation.
5 years ago
Paul B Mahol
c7d8082357
avfilter: add asubboost filter
5 years ago