Andreas Rheinhardt
2089d21bc7
avfilter/vf_addroi: Use chars instead of strings for one-char strings
...
Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-12-31 21:41:07 +01:00
Guo, Yejun
477dd2df60
dnn_interface.h: fix redefining typedefs
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-31 09:21:31 +08:00
Guo, Yejun
6b0cfa8399
dnn/queue: add error check and cleanup
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-31 08:31:17 +08:00
Guo, Yejun
97f520b700
dnn: fix issue when pthread is not supported
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-31 08:31:17 +08:00
Guo, Yejun
8e78d5d394
dnn: fix redefining typedefs and also refine naming with correct prefix
...
The prefix for symbols not exported from the library and not
local to one translation unit is ff_ (or FF for types).
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-31 08:31:17 +08:00
Paul B Mahol
2f20e35892
avfilter/vf_w3fdif: add support for commands
2020-12-30 16:33:30 +01:00
Paul B Mahol
aea3cf4f18
avfilter/vf_xmedian: allow to control eof handling
2020-12-30 15:53:22 +01:00
Paul B Mahol
9ac31b419c
avfilter/vf_xmedian: add timeline support
2020-12-30 15:53:22 +01:00
Guo, Yejun
c720286ee3
vf_dnn_processing.c: add async support
...
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Guo, Yejun
5024286465
dnn_interface: change from 'void *userdata' to 'AVFilterContext *filter_ctx'
...
'void *' is too flexible, since we can derive info from
AVFilterContext*, so we just unify the interface with this data
structure.
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Guo, Yejun
e67b5d0a24
dnn: add async execution support for openvino backend
...
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Guo, Yejun
39f5cb4bd1
dnn_interface: add interface to support async execution
...
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Guo, Yejun
38089925fa
dnn_backend_openvino.c: refine code for error handle
...
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Guo, Yejun
2b177033bb
dnn_backend_openvino.c: separate function execute_model_ov
...
function fill_model_input_ov and infer_completion_callback are
extracted, it will help the async execution for reuse.
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Xie, Lin
6506ab8b03
dnn/queue: add queue and safe_queue support
...
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Guo, Yejun
1b64954e42
vf_dnn_processing.c: replace filter_frame with activate func
...
with this change, dnn_processing can use DNN async interface later.
Signed-off-by: Xie, Lin <lin.xie@intel.com>
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-29 09:31:06 +08:00
Paul B Mahol
f1357274e9
avfilter/vf_decimate: always properly handle EOF
2020-12-27 22:24:43 +01:00
Paul B Mahol
4b4282bc57
avfilter/vf_decimate: stop dropping last frames with ppsrc
2020-12-27 22:01:23 +01:00
Paul B Mahol
89dcef90af
avfilter/vf_decimate: fix broken logic with ppsrc handling
...
Make output bit exact with VIVTC VDecimate filter.
2020-12-27 21:21:08 +01:00
Marton Balint
6d3b70c27e
avfilter/vf_framerate: fix infinite loop with 1-frame input
...
Fixes infinite loop in:
ffmpeg -f lavfi -i testsrc=d=0.04 -vf framerate=50 -f null none
Signed-off-by: Marton Balint <cus@passwd.hu>
2020-12-27 11:01:41 +01:00
Paul B Mahol
5b48d2af43
avfilter/vf_xmedian: add support for commands
2020-12-25 16:43:14 +01:00
Paul B Mahol
4848eb48ac
avfilter/af_vibrato: make sure table size is at least 1
...
Fixes overreads.
2020-12-25 14:12:52 +01:00
Paul B Mahol
38e71d8b6c
avfilter/af_tremolo: make sure table size is at least 1
2020-12-25 14:12:52 +01:00
Paul B Mahol
686c07fb1e
avfilter/vf_decimate: fix overreads when using ppsrc
...
Derive input parameters from correct inlink when using ppsrc.
Previously both input frames would use dimensions of first inlink,
causing crash if first inlink w/h was smaller than second one.
2020-12-22 13:31:55 +01:00
Ting Fu
5dbabb020e
dnn: add NV12 pixel format support
...
Signed-off-by: Ting Fu <ting.fu@intel.com>
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2020-12-22 10:53:35 +08:00
Paul B Mahol
cd82c6e4ef
avfilter/vf_decimate: switch to activate
2020-12-21 23:34:10 +01:00
Paul B Mahol
204a906437
avfilter/af_crystalizer: implement inverse filtering
2020-12-21 13:15:27 +01:00
Paul B Mahol
28aedc7f54
avfilter/af_crystalizer: use proper type for variable
2020-12-21 12:00:21 +01:00
Paul B Mahol
c1c2e6f968
avfilter/af_crystalizer: improve filter description
2020-12-21 11:51:00 +01:00
Paul B Mahol
6e96e3d970
avfilter: add shufflepixels video filter
2020-12-20 21:44:13 +01:00
Paul B Mahol
3336ca4644
avfilter/vf_maskedthreshold: add support for commands
2020-12-19 23:08:09 +01:00
Paul B Mahol
64e572db46
avfilter/vf_maskedminmax: add support for commands
2020-12-19 20:46:00 +01:00
Paul B Mahol
4fcfecdd66
avfilter/vf_maskedclamp: add support for commands
2020-12-19 20:46:00 +01:00
Paul B Mahol
d6a356f115
avfilter/vf_bilateral: add support for commands
2020-12-19 20:46:00 +01:00
Paul B Mahol
50a9210739
avfilter/vf_fillborders: add fade mode
2020-12-18 23:11:51 +01:00
Paul B Mahol
90720da511
avfilter/vf_fillborders: add more fill modes
2020-12-18 19:40:31 +01:00
Paul B Mahol
7e3f20c43c
avfilter/af_asoftclip: add two more useful options for finer filtering
2020-12-18 13:11:53 +01:00
Paul B Mahol
1eb751955e
avfilter/af_biquads: fix error in ro calculation
2020-12-17 15:13:42 +01:00
Paul B Mahol
69be00aa61
avfilter/af_biquads: add one-pole shelf filters by adding pole option
2020-12-16 18:38:51 +01:00
Paul B Mahol
32586a42da
avfilter/vf_limiter: add support for commands
2020-12-15 20:35:01 +01:00
Paul B Mahol
bf4b9e933f
avfilter/af_afreqshift: add fltp sample format support
2020-12-13 11:16:31 +01:00
Jun Zhao
0320dab265
lavfi/dnn: check the return value from sws_getContext
...
sws_getContext may be return NULL, and it's will be dereferenced,
so add the check.
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-12-12 13:34:30 +08:00
Jun Zhao
ae2075265b
lavfi/dnn: used the format name in debug message
...
Used the format name in debug message.
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-12-12 13:34:24 +08:00
Paul B Mahol
adf72718a4
avfilter/vf_fade: add timeline support
2020-12-11 23:02:03 +01:00
Paul B Mahol
fc50a8de55
avfilter/af_afade: add support for commands to afade filter
2020-12-11 23:02:03 +01:00
Paul B Mahol
d76469378d
avfilter/vf_convolution: add support for commands
2020-12-11 18:33:48 +01:00
Paul B Mahol
7adb747fd7
avfilter/vf_chromanr: add options for finer controls of filtering
2020-12-11 13:39:50 +01:00
Paul B Mahol
b607f19374
avfilter: add asuperpass and asuperstop filter
2020-12-11 12:07:06 +01:00
Paul B Mahol
072835898d
avfilter/af_earwax: fix check that was left in previous commit
...
Makes output exact with smaller number of samples per frame than taps.
2020-12-10 23:43:49 +01:00
Gyan Doshi
7777e5119a
avfilter/cropdetect: add option for initial skip
...
The cropdetect filter, at present, skips the first two frames. This
behaviour is hardcoded.
New option 'skip' allows users to change this. Convenient for when
input is a single image or a trimmed video stream.
Default is kept at 2 to preserve current behaviour.
2020-12-09 12:52:09 +05:30