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>
4 years ago
Guo, Yejun
477dd2df60
dnn_interface.h: fix redefining typedefs
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
4 years ago
Guo, Yejun
6b0cfa8399
dnn/queue: add error check and cleanup
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
4 years ago
Guo, Yejun
97f520b700
dnn: fix issue when pthread is not supported
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
4 years ago
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>
4 years ago
Paul B Mahol
2f20e35892
avfilter/vf_w3fdif: add support for commands
4 years ago
Paul B Mahol
aea3cf4f18
avfilter/vf_xmedian: allow to control eof handling
4 years ago
Paul B Mahol
9ac31b419c
avfilter/vf_xmedian: add timeline support
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
Paul B Mahol
f1357274e9
avfilter/vf_decimate: always properly handle EOF
4 years ago
Paul B Mahol
4b4282bc57
avfilter/vf_decimate: stop dropping last frames with ppsrc
4 years ago
Paul B Mahol
89dcef90af
avfilter/vf_decimate: fix broken logic with ppsrc handling
...
Make output bit exact with VIVTC VDecimate filter.
4 years ago
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>
4 years ago
Paul B Mahol
5b48d2af43
avfilter/vf_xmedian: add support for commands
4 years ago
Paul B Mahol
4848eb48ac
avfilter/af_vibrato: make sure table size is at least 1
...
Fixes overreads.
4 years ago
Paul B Mahol
38e71d8b6c
avfilter/af_tremolo: make sure table size is at least 1
4 years ago
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.
4 years ago
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>
4 years ago
Paul B Mahol
cd82c6e4ef
avfilter/vf_decimate: switch to activate
4 years ago
Paul B Mahol
204a906437
avfilter/af_crystalizer: implement inverse filtering
4 years ago
Paul B Mahol
28aedc7f54
avfilter/af_crystalizer: use proper type for variable
4 years ago
Paul B Mahol
c1c2e6f968
avfilter/af_crystalizer: improve filter description
4 years ago
Paul B Mahol
6e96e3d970
avfilter: add shufflepixels video filter
4 years ago
Paul B Mahol
3336ca4644
avfilter/vf_maskedthreshold: add support for commands
4 years ago
Paul B Mahol
64e572db46
avfilter/vf_maskedminmax: add support for commands
4 years ago
Paul B Mahol
4fcfecdd66
avfilter/vf_maskedclamp: add support for commands
4 years ago
Paul B Mahol
d6a356f115
avfilter/vf_bilateral: add support for commands
4 years ago
Paul B Mahol
50a9210739
avfilter/vf_fillborders: add fade mode
4 years ago
Paul B Mahol
90720da511
avfilter/vf_fillborders: add more fill modes
4 years ago
Paul B Mahol
7e3f20c43c
avfilter/af_asoftclip: add two more useful options for finer filtering
4 years ago
Paul B Mahol
1eb751955e
avfilter/af_biquads: fix error in ro calculation
4 years ago
Paul B Mahol
69be00aa61
avfilter/af_biquads: add one-pole shelf filters by adding pole option
4 years ago
Paul B Mahol
32586a42da
avfilter/vf_limiter: add support for commands
4 years ago
Paul B Mahol
bf4b9e933f
avfilter/af_afreqshift: add fltp sample format support
4 years ago
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>
4 years ago
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>
4 years ago
Paul B Mahol
adf72718a4
avfilter/vf_fade: add timeline support
4 years ago
Paul B Mahol
fc50a8de55
avfilter/af_afade: add support for commands to afade filter
4 years ago
Paul B Mahol
d76469378d
avfilter/vf_convolution: add support for commands
4 years ago
Paul B Mahol
7adb747fd7
avfilter/vf_chromanr: add options for finer controls of filtering
4 years ago
Paul B Mahol
b607f19374
avfilter: add asuperpass and asuperstop filter
4 years ago
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.
4 years ago
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.
4 years ago