Limin Wang
99fc5059fb
avfilter/vf_lut3d: simplify code
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
b414cff630
avfilter/vf_median: add radiusV option
5 years ago
Paul B Mahol
86a42e954e
avfilter/af_afade: start crossfading only when first stream reached end
5 years ago
Paul B Mahol
89389b7ed4
avfilter/af_afade: check for eof after crossfade later
...
Fixes memleaks and #8346
5 years ago
Zhao Zhili
af70c94c63
avfilter/f_sidedata: fix Wtautological-constant-out-of-range-compare
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Guo, Yejun
912ab246f1
avfilter/vf_sr: correct flags since the filter changes frame w/h
...
If filter changes frame w/h, AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
cannot be supported.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
5 years ago
Guo, Yejun
f4b3c0e55c
avfilter/dnn: add a new interface to query dnn model's input info
...
to support dnn networks more general, we need to know the input info
of the dnn model.
background:
The data type of dnn model's input could be float32, uint8 or fp16, etc.
And the w/h of input image could be fixed or variable.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
5 years ago
Guo, Yejun
e1b45b8596
avfilter/dnn: get the data type of network output from dnn execution result
...
so, we can make a filter more general to accept different network
models, by adding a data type convertion after getting data from network.
After we add dt field into struct DNNData, it becomes the same as
DNNInputData, so merge them with one struct: DNNData.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
5 years ago
Guo, Yejun
dff39ea9f0
dnn: add tf.nn.conv2d support for native model
...
Unlike other tf.*.conv2d layers, tf.nn.conv2d does not create many
nodes (within a scope) in the graph, it just acts like other layers.
tf.nn.conv2d only creates one node in the graph, and no internal
nodes such as 'kernel' are created.
The format of native model file is also changed, a flag named
has_bias is added, so change the version number.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
5 years ago
Limin Wang
e1c4ce4761
avfilter/asrc_anoisesrc: change color variable to int
...
Or it'll cause invalid color and s->filter is NULL.
Please reproduce it with below command on big endian system:
$ ./ffmpeg -f lavfi -i "anoisesrc=d=60:c=1:r=48000" -f s16le -c:a pcm_s16le -f
null -
Segmentation fault (core dumped)
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
3420e56d9a
avfilter/vf_vfrdet: also report average delta
5 years ago
Paul B Mahol
4ce263a7fd
avfilter/vf_vfrdet: fix reporting max delta
...
If only first delta was big it was previously discarded.
5 years ago
Paul B Mahol
1c3b70e2e0
avfilter: add median filter
5 years ago
James Almer
1aa4fc1ec2
avfilter/avf_showfreqs: free input frame after using it
...
Fixes ticket #8336 .
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Paul B Mahol
4447aeaac2
avfilter/vsrc_testsrc: increase max level of haldclutsrc
...
So it matches lut3d and haldclut filter.
5 years ago
Paul B Mahol
a2210f10d3
avfilter/vf_lut3d: increase max level to upper limit defined by cube format specification
5 years ago
Paul B Mahol
9130028d87
avfilter/vf_lut3d: allocate 3d lut dynamically
5 years ago
Paul B Mahol
9e283aa24e
avfilter/vf_psnr,vf_ssim: add warning if different timebases are encountered
5 years ago
Paul B Mahol
f166951d6e
avfilter: add maskedmin/maskedmax filters
5 years ago
Paul B Mahol
ac0f5f4c17
avfilter/vf_maskedclamp: add x86 SIMD
5 years ago
Paul B Mahol
7df808ea84
avfilter/settb: switch to activate
...
Now correctly updates EOF timestamp.
5 years ago
Paul B Mahol
8732eb124e
avfilter/vf_floodfill: better fix for crash
5 years ago
Paul B Mahol
1cdc805228
avfilter/vf_floodfill: add more gray formats
5 years ago
Paul B Mahol
ba7d55d3fc
avfilter/vf_deband: add more gray formats
5 years ago
Jun Zhao
0e3d5bdc08
lavfi/bilateral: Clean the option description and unused code
...
Clean the option description and unused code.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Paul B Mahol
7832e05c35
avfilter/vf_lut2: fix typo, correctly support gray14
5 years ago
Paul B Mahol
1f327f5d27
avfilter/vf_bm3d: add gray14 format
5 years ago
Paul B Mahol
dd239bdb65
avfilter/vf_vaguedenoiser: add more gray formats
5 years ago
Paul B Mahol
ec5d385722
avfilter/transpose: add missing headers
5 years ago
James Almer
738bc3e742
x86/vf_transpose: make ff_transpose_8x8_16_sse2 work on x86_32
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Paul B Mahol
2a75006ddc
avfilter/vf_maskedclamp: rewrite using macro
5 years ago
Paul B Mahol
5561a1de90
avfilter/vf_premultiply: fix signed integer overflow
...
Fixes #8324
5 years ago
Limin Wang
887db36821
avfilter/vsrc_mptestsrc: simplify the code and change the type of frame
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Limin Wang
6079bd5c63
avfilter/vsrc_mptestsrc: add options to set the maximum number of frames
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Limin Wang
7a477c4b63
avfilter/vf_unsharp: rename config_props -> config_input, link -> inlink
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
James Almer
27bae5aaca
x86/vf_transpose: fix cpuflags check
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Paul B Mahol
ccd9bca15a
avfilter/vf_transpose: add x86 SIMD
5 years ago
Paul B Mahol
f7f4691f9f
avfilter/x86/vf_atadenoise: fix comment
5 years ago
Paul B Mahol
aa26f83bdd
avfilter/af_join: fix possible memory leaks
...
Allocation of input frames is independent from
allocation of new input pads.
5 years ago
Limin Wang
9c3178808d
avfilter/af_silencedetect: change mono default to integer literal
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro>
5 years ago
Limin Wang
190f52ba3b
avfilter/af_silencedetect: use AV_OPT_TYPE_DURATION
...
Reviewed-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Paul B Mahol
c6e01ebe41
avfilter: add bilateral filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years ago
Paul B Mahol
a174e5f8da
avfilter/vf_nlmeans: round values toward nearest integer
...
Instead of rounding toward zero and thus producing
darker output.
5 years ago
Limin Wang
0afc1fe147
avfilter/af_silencedetect: document metadata
...
Reviewed-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Paul B Mahol
673fce6d40
avfilter/vf_tile: fix memory leak
...
Fixes #8313
5 years ago
Paul B Mahol
357f11eca2
avfilter/vf_atadenoise: add support for commands
5 years ago
Paul B Mahol
824b026d91
avfilter/vf_shuffleframes: improve error message
5 years ago
Paul B Mahol
58bb9d3a3a
avfilter/af_tremolo: fix heap-buffer overflow
...
Fixes #8317
5 years ago
Paul B Mahol
26876fdb5e
avfilter/vf_fftdnoiz: round toward nearest integer
...
Instead of rounding toward zero and thus producing
darker output.
5 years ago
Paul B Mahol
a60232ab2d
avfilter/vf_bm3d: round values toward nearest integer
...
Instead of rounding toward zero and thus producing
darker output.
5 years ago