Marton Balint
c8e1e56509
avfilter/af_astats: fix possible crash because of undefined float to integer rounding
...
Fixes ticket #9049 .
Signed-off-by: Marton Balint <cus@passwd.hu>
2021-01-23 19:54:14 +01:00
Haihao Xiang
b8cd37a59f
qsv: dump more info in error, debug and verbose mode
...
Dump iopattern mode and the SDK error/warning desciptions for qsv based
filters and iopattern mode for qsvenc
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com
2021-01-23 16:10:16 +00:00
Haihao Xiang
db28e9c1d9
lavf/qsv: Add functions to print mfx iopattern, warning and error
...
It is a copy of the relevant part in lavc/qsv but use different function
names to avoid multiple definition when linking lavc and lavf statically.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com
2021-01-23 16:09:16 +00:00
Paul B Mahol
3ce97d8ddd
avfilter/vf_atadenoise: fix mid calculation
2021-01-22 18:24:32 +01:00
Paul B Mahol
bb66fd7f90
avfilter/vf_estdif: make interpolation used user configurable
2021-01-22 18:03:12 +01:00
Paul B Mahol
95183d25e8
avfilter/vf_atadenoise: add sigma options
2021-01-22 16:21:22 +01:00
Paul B Mahol
ff9bf372f7
avfilter/vf_w3fdif: reduce overhead calling execute for every plane
2021-01-22 13:28:41 +01:00
Mark Thompson
bb96824510
dnn: Add ff_ prefix to unnamespaced globals
...
Reviewed-By: Guo, Yejun <yejun.guo@intel.com>
2021-01-22 15:03:09 +08:00
Mark Thompson
2c424d9630
dnn_backend_native.c: Add missing static to local variable
2021-01-22 12:18:03 +08:00
Mark Thompson
c6a3ca2db4
dnn_backend_native_layer_mathbinary.c: Delete unused global variable
2021-01-22 10:18:36 +08:00
Guo, Yejun
a11a3f358d
dnn_backend_native_layer_conv2d.c: refine code with av_malloc_array and av_freep
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-01-22 08:28:13 +08:00
Guo, Yejun
a76fa0caa0
dnn_backend_native_layer_conv2d.c: correct struct name with CamelCase
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-01-22 08:28:13 +08:00
Guo, Yejun
d4f40c1b60
dnn/queue: remove prefix FF for Queue and SafeQueue
...
we don't need FF prefix for internal data struct
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-01-22 08:28:13 +08:00
Guo, Yejun
c5e30d588d
libavfilter/dnn: add prefix ff_ for internal functions
...
from proc_from_frame_to_dnn to ff_proc_from_frame_to_dnn, and
from proc_from_dnn_to_frame to ff_proc_from_dnn_to_frame.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-01-22 08:28:13 +08:00
Guo, Yejun
2d6af4a501
libavfilter/dnn: use avpriv_report_missing_feature for unsupported features
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-01-22 08:28:13 +08:00
Guo, Yejun
0d5fd4999a
dnn_backend_openvino.c: add version mismatch reminder
...
The OpenVINO model file format changes when OpenVINO goes to a new
release, it does not work if the versions between model file and
runtime are mismatched.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-01-22 08:28:13 +08:00
Paul B Mahol
df4e2b923c
avfilter/vf_readeia608: add >8 depth support
2021-01-21 14:52:40 +01:00
Paul B Mahol
f07a8b13f3
avfilter/vf_super2xsai: add slice threading support
2021-01-21 13:37:47 +01:00
Paul B Mahol
c2ee42e032
avfilter/vf_super2xsai: constify src pointer
2021-01-21 13:37:47 +01:00
Paul B Mahol
b51eae1abe
avfilter/vf_dblur: remove unused line
2021-01-21 13:37:47 +01:00
Paul B Mahol
4225819c70
avfilter/vf_deblock: fix >8 depth format case check
2021-01-21 13:37:47 +01:00
Paul B Mahol
27f1ee7f53
avfilter/vf_fieldmatch: use av_malloc_array()
2021-01-21 13:37:47 +01:00
Paul B Mahol
b43c35c633
avfilter/vf_decimate: add support for more formats
2021-01-21 13:37:47 +01:00
Paul B Mahol
24dc6d386c
avfilter/vf_nnedi: fix memleak at eof and simplify frame handling
2021-01-20 13:39:59 +01:00
Paul B Mahol
1dc71cf64e
avfilter/vf_nnedi: small improvements
2021-01-20 13:39:59 +01:00
Paul B Mahol
f359575c0b
avfilter/vf_nnedi: unbreak nsize=0:nns=0 output
2021-01-19 20:37:37 +01:00
Paul B Mahol
c737f6edce
avfilter/vf_nnedi: simplify code even more
2021-01-19 20:37:37 +01:00
Paul B Mahol
553eb07737
avfilter/vf_nnedi: small cleanups
2021-01-19 14:59:05 +01:00
Paul B Mahol
f3f5ba0bf8
avfilter/vf_nnedi: fix some compilation errors and warnings
2021-01-19 12:15:07 +01:00
Paul B Mahol
d03c7b1ad4
avfilter/vf_w3fdif: add more forgotten formats
2021-01-18 14:05:51 +01:00
Paul B Mahol
e3baf45303
avfilter/vf_estdif: add some forgotten formats
2021-01-18 14:05:51 +01:00
Paul B Mahol
117bf7394f
avfilter/vf_nnedi: rewrite and cleanup code
...
Also add slice threading support.
Also add support for >8 depth formats.
Also add support for commands.
2021-01-18 14:05:51 +01:00
Ting Fu
71b82e4ffd
dnn/openvino: support model input resize
...
OpenVINO APIs require specify input size to run the model, while some
OpenVINO model does accept different input size. To enable this feature
adding input_resizable option here for easier use.
Setting bool variable input_resizable to specify if the input can be resizable or not.
input_resizable = 1 means support input resize, aka accept different input size.
input_resizable = 0 (default) means do not support input resize.
Please make sure the inference model does accept different input size
before use this option, otherwise the inference engine may report error(s).
eg: ./ffmpeg -i video_name.mp4 -vf dnn_processing=dnn_backend=openvino:\
model=model_name.xml:input=input_name:output=output_name:\
options=device=CPU\&input_resizable=1 -y output_video_name.mp4
Signed-off-by: Ting Fu <ting.fu@intel.com>
2021-01-18 13:09:22 +08:00
Ting Fu
048d5cc620
dnn/openvino: refine code for better model initialization
...
Move openvino model/inference request creation and initialization steps
from ff_dnn_load_model_ov to new function init_model_ov, for later input
resize support.
Signed-off-by: Ting Fu <ting.fu@intel.com>
2021-01-18 13:09:22 +08:00
Ting Fu
946fcd4508
dnn/openvino: remove unnecessary code
...
Signed-off-by: Ting Fu <ting.fu@intel.com>
2021-01-18 13:09:21 +08:00
Paul B Mahol
41ddb27597
avfilter/vsrc_testsrc: add missing break
2021-01-17 15:56:31 +01:00
Paul B Mahol
9e1956175c
avfilter/vf_maskedmerge: add yuv440p10 and commands support
2021-01-17 15:56:31 +01:00
Paul B Mahol
8d86d58941
avfilter/vf_datascope: add option to show only subset of components
2021-01-17 13:18:23 +01:00
Paul B Mahol
eb0f532c98
avfilter/vf_bbox: add support for commands
2021-01-17 12:22:28 +01:00
Paul B Mahol
4f81e24c34
avfilter/vf_bbox: add support for >8 depth
2021-01-17 12:17:19 +01:00
Paul B Mahol
9b44f99329
avfilter/bbox: add support for >8 depth
2021-01-17 12:06:01 +01:00
Paul B Mahol
294854bd0a
avfilter/vsrc_testsrc: add complement mode to rgbtestsrc
2021-01-16 23:54:21 +01:00
Paul B Mahol
79f2bca59c
avfilter/vsrc_testsrc: add planar support to rgbtestsrc
2021-01-16 23:54:21 +01:00
Paul B Mahol
1ed6b80c28
avfilter/vf_threshold: add support for more formats
2021-01-16 23:52:54 +01:00
Paul B Mahol
95179dff82
avfilter/vf_chromanr: add support for more formats
2021-01-16 23:34:06 +01:00
Paul B Mahol
4ae2dfd7ea
avfilter/vf_detelecine: use ff_formats_pixdesc_filter()
2021-01-16 21:35:44 +01:00
Paul B Mahol
bc2632f867
avfilter/vf_mix: use ff_formats_pixdesc_filter()
2021-01-16 21:35:44 +01:00
Paul B Mahol
6baed9ce03
avfilter/vf_telecine: use ff_formats_pixdesc_filter()
2021-01-16 21:35:44 +01:00
Paul B Mahol
737bb01540
avfilter/vf_weave: use ff_formats_pixdesc_filter()
2021-01-16 21:35:44 +01:00
Paul B Mahol
9beee83043
avfilter/vf_il: use ff_formats_pixdesc_filter()
2021-01-16 21:35:44 +01:00