Ting Fu
b0d75a8de9
dnn_backend_openvino.c: allow out_frame as NULL for analytic case
2021-02-18 09:59:37 +08:00
Guo, Yejun
2da3a5c10f
dnn: add color conversion for analytic case
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-02-18 09:59:37 +08:00
Guo, Yejun
0884063f88
dnn_interface.h: add enum DNNColorOrder
...
the data type and order together decide the color format, we could
not use AVPixelFormat directly because not all the possible formats
are covered by it.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-02-18 09:59:37 +08:00
Guo, Yejun
76fc6879e2
dnn: add function type for model
...
So the backend knows the usage of model is for frame processing,
detect, classify, etc. Each function type has different behavior
in backend when handling the input/output data of the model.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-02-18 09:59:37 +08:00
Guo, Yejun
bdce636100
dnn: extract common functions used by different filters
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-02-18 09:59:37 +08:00
Guo, Yejun
995c33a046
dnn_backend_openvino.c: fix multi-thread issue for async execution
...
once we mark done for the task in function infer_completion_callback,
the task is possible to be release in function ff_dnn_get_async_result_ov
in another thread just after it, so we need to record request queue
first, instead of using task->ov_model->request_queue later.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-02-18 09:59:37 +08:00
Guo, Yejun
51c105a62d
dnn_backend_openvino.c: fix mismatch between ffmpeg(NHWC) and openvino(NCHW)
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-02-18 09:59:37 +08:00
Mark Thompson
5a9aebac91
avfilter/vf_pseudocolor: Add missing braces
...
The array inside a structure needs two levels of braces.
2021-02-17 23:09:40 +00:00
James Almer
1628409b18
x86/vf_gblur: fix reg name in UNIX64 prologue
...
Signed-off-by: James Almer <jamrial@gmail.com>
2021-02-17 15:51:28 -03:00
James Almer
3c77584be8
avfilter/vf_gblur: add missing arch check
...
Removed by mistake in 2b4da1cb8c
where it
should have been replaced instead.
Signed-off-by: James Almer <jamrial@gmail.com>
2021-02-17 15:45:40 -03:00
James Almer
2b4da1cb8c
x86/vf_gblur: fix postscale_slice prologue
...
x86_32 ABI does not pass float arguments directly on xmm regs, and the Win64
ABI uses only the first four regs for this purpose.
Signed-off-by: James Almer <jamrial@gmail.com>
2021-02-17 13:33:20 -03:00
Nicolas George
670051b524
lavfi/drawtext: ignore final LF of textfile.
...
A standard text file ends with a final LF.
Without this change, it is interpreted as an empty final line,
and visible with the box option.
The current behavior can be achieved by actually having
an empty line at the end of the file.
Fix trac ticket #7948 .
2021-02-17 11:53:51 +01:00
Andreas Rheinhardt
a34333f43b
avfilter/vif: Include avfilter.h
...
Fixes checkheaders.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-02-16 22:26:56 +01:00
Paul B Mahol
44cf3a2b16
avfilter/x86/vf_gblur: add postscale SIMD
2021-02-16 21:12:11 +01:00
Paul B Mahol
058db59e16
avfilter/vf_gblur: factor out postscale function
2021-02-16 21:12:11 +01:00
James Almer
04dfdde09b
avfilter/buffersrc: simplify av_buffersrc_add_frame_flags()
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
2021-02-16 12:36:37 -03:00
Ashish Singh
38aea9b041
avfilter: add vif filter
...
This is Visual Information Fidelity (VIF) filter and one of the component
filters of VMAF. It outputs the average VIF score over all frames.
Signed-off-by: Ashish Singh <ashk43712@gmail.com>
2021-02-16 15:00:50 +01:00
Carl Eugen Hoyos
3490108f95
lavfi/vflip: Support Bayer vertical flip.
...
Fixes ticket #8819 .
2021-02-15 00:12:38 +01:00
Paul B Mahol
c6ce18be08
avfilter/vf_convolution: add 16-column operation for filter_column()
...
Based on patch by Xu Jun <xujunzz@sjtu.edu.cn>
2021-02-13 14:45:48 +01:00
Paul B Mahol
bbf6183e11
avfilter/vf_datascope: pixscope: add commands support
2021-02-13 12:38:15 +01:00
Paul B Mahol
6c52c27d3d
avfilter/vf_psnr: remove precision limits for metadata values
2021-02-12 23:22:32 +01:00
Paul B Mahol
3300d718f7
avfilter/vf_ssim: remove precision limits for metadata values
2021-02-12 23:22:32 +01:00
Paul B Mahol
95b854dd06
avfilter/af_amix: rename sum option to normalize
...
It makes more sense to still use provided weights.
2021-02-12 23:01:52 +01:00
Paul B Mahol
05a6d82d5c
avfilter/vf_ssim: add timeline support
2021-02-12 21:21:25 +01:00
Paul B Mahol
735ec7666b
avfilter/vf_psnr: add timeline support
2021-02-12 21:21:25 +01:00
Paul B Mahol
34922dffca
avfilter/vf_gblur: add float format support
2021-02-12 21:09:51 +01:00
Paul B Mahol
edc45d1bd5
avfilter: add monochrome video filter
2021-02-12 00:08:39 +01:00
Jan Ekström
58e59396f5
avfilter/vf_zscale: add support for setting scaling filter parameters
...
param_a/b are utilized for this.
2021-02-11 20:45:56 +02:00
Paul B Mahol
44facfb845
avfilter/vf_pseudocolor: do not leave alpha uninitialized
2021-02-11 14:37:14 +01:00
Paul B Mahol
0ef53cc72f
avfilter/vf_pseudocolor: add two more presets
2021-02-11 14:37:14 +01:00
Paul B Mahol
2859c30cd9
avfilter/vf_pseudocolor: add opacity option
2021-02-11 14:37:14 +01:00
Paul B Mahol
ba2cebb49c
avfilter/af_adeclick: add more descriptive options names
2021-02-11 11:39:55 +01:00
Paul B Mahol
16c09b4659
avfilter/vf_lagfun: use macro
2021-02-11 00:45:08 +01:00
Paul B Mahol
05b394d537
avfilter/vf_lagfun: add timeline support
2021-02-11 00:45:08 +01:00
Paul B Mahol
27b5d0e1e4
avfilter/vf_lagfun: increase filter precision
2021-02-11 00:45:08 +01:00
Paul B Mahol
4390573c44
avfilter: add exposure video filter
2021-02-10 19:23:48 +01:00
Paul B Mahol
579e4e57a2
avfilter: add aexciter audio filter
2021-02-10 19:21:01 +01:00
Paul B Mahol
129978af6b
avfilter/af_arnndn: skip array extra entries by looking for new line
2021-02-10 14:15:42 +01:00
Paul B Mahol
aa8adc9206
avfilter/vf_datascope: add commands support
2021-02-10 11:28:47 +01:00
Paul B Mahol
199301a03a
avfilter/af_arnndn: make model opening errors more verbose
...
Also return proper error code.
2021-02-09 23:56:11 +01:00
Paul B Mahol
d7cb8c51f0
avfilter/vf_curves: add commands support
2021-02-09 18:20:15 +01:00
Paul B Mahol
cfcc36240f
avfilter/vf_framepack: add >8 format support
2021-02-09 12:29:04 +01:00
Paul B Mahol
73ff84c3d4
avfilter/vf_swaprect: add support for commands
2021-02-09 11:39:26 +01:00
Paul B Mahol
ca042675ee
avfilter/vf_maskfun: add support for commands
2021-02-09 11:24:31 +01:00
Paul B Mahol
8e027ca817
avfilter/vf_zscale: switch verbose log to trace
...
Not needed in verbose mode.
2021-02-09 10:37:42 +01:00
Paul B Mahol
a00ff56321
avfilter/vf_lut: add support for commands
...
While here remove excessive log and uninit() call in negate_init().
2021-02-08 16:37:23 +01:00
Paul B Mahol
dd01165f19
avfilter/vf_deband: add support for commands
2021-02-08 16:10:51 +01:00
Paul B Mahol
178a0d6f7d
avfilter/vf_deband: avoid doubles
2021-02-08 16:10:51 +01:00
Paul B Mahol
a773455c4f
avfilter/vf_thumbnail: add support for rest of packed rgb formats
2021-02-08 13:01:28 +01:00
Paul B Mahol
3b65c848a6
avfilter/vf_thumbnail: add support for YUV and GBRP formats
2021-02-08 12:45:49 +01:00