Paul B Mahol
f84412d6f4
avfilter/vf_corr: for all zero returns zero score instead of 1
2023-12-03 03:10:05 +01:00
Paul B Mahol
aad3223978
avfilter/vf_corr: add slice threading support
2023-12-03 03:10:03 +01:00
Paul B Mahol
db7b838237
avfilter/vf_chromanr: compare correct variables for advanced mode
2023-12-01 21:31:38 +01:00
Paul B Mahol
a30adf9f96
avfilter/framesync: fix OOM case
...
Fixes OOM when caller keeps adding frames into filtergraph
that reached EOF by other means, for example EOF is signalled
by other filter in filtergraph or by buffersink.
2023-11-30 11:08:34 +01:00
Paul B Mahol
47e214245b
avfilter/arls_template: use defines for all constants
2023-11-28 16:09:12 +01:00
Paul B Mahol
f66536cc58
avfilter: add Affine Projection adaptive audio filter
2023-11-28 15:40:34 +01:00
Paul B Mahol
67ce690bc6
avfilter/af_anlms: set output frame duration
2023-11-28 13:17:19 +01:00
Paul B Mahol
411c516453
avfilter/af_arls: set output frame duration
2023-11-28 13:17:13 +01:00
Paul B Mahol
bafbb0697e
avfilter/af_amix: set output frame duration
2023-11-28 13:17:13 +01:00
Paul B Mahol
358aced447
avfilter/af_amultiply: set output frame duration
2023-11-28 13:17:12 +01:00
Paul B Mahol
8b9c400f1d
avfilter/af_amerge: use already provided outlink
2023-11-28 13:17:12 +01:00
Paul B Mahol
c979ccdfd7
avfilter: no need to request more samples if internal frame is available
2023-11-28 13:16:18 +01:00
Paul B Mahol
3bca828d39
avfilter/af_arls: add double sample format support
2023-11-27 20:27:27 +01:00
Paul B Mahol
42e45ea8ff
avfilter/af_anlms: add double sample format support
2023-11-27 20:27:25 +01:00
Paul B Mahol
5f87a68cf7
avfilter/vf_colorcorrect: fix memory leaks
2023-11-27 12:10:26 +01:00
Paul B Mahol
f1f973313b
avfilter/af_dialoguenhance: do output scaling once
2023-11-27 11:56:27 +01:00
Paul B Mahol
b1942734c7
avfilter/af_afwtdn: fix crash with EOF handling
2023-11-27 11:56:26 +01:00
Paul B Mahol
4671fb7dfb
avfilter/af_dialoguenhance: simplify channels copy
2023-11-27 11:56:23 +01:00
Wenbin Chen
47b2328076
libavfilter/vf_dnn_detect: Add yolo support
...
Add yolo support. Yolo model doesn't output final result. It outputs
candidate boxes, so we need post-process to remove overlap boxes to
get final results. Also, the box's coordinators relate to cell and
anchors, so we need these information to calculate boxes as well.
Model detail please refer to: https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/public/yolo-v2-tf
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Reviewed-by: Guo Yejun <yejun.guo@intel.com>
2023-11-26 20:38:36 +08:00
Wenbin Chen
caa5d123a7
libavfilter/vf_dnn_detect: Add model_type option.
...
There are many kinds of detection DNN model and they have different
preprocess and postprocess methods. To support more models,
"model_type" option is added to help to choose preprocess and
postprocess function.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Reviewed-by: Guo Yejun <yejun.guo@intel.com>
2023-11-26 20:15:55 +08:00
Paul B Mahol
e7111ba44a
avfilter/vsrc_gradients: allow zero speed
2023-11-26 02:07:45 +01:00
Paul B Mahol
f1acb0d843
avfilter/vsrc_gradients: add square type
2023-11-26 02:07:44 +01:00
Paul B Mahol
2d9ed64859
avfilter/af_dialoguenhance: fix overreads
2023-11-25 13:05:31 +01:00
Paul B Mahol
37c5bcc4e8
avfilter/af_channelmap: do not override set channel layout
2023-11-25 13:05:31 +01:00
Paul B Mahol
4adb93dff0
avfilter/asrc_afirsrc: fix by one smaller allocation of buffer
2023-11-23 15:01:55 +01:00
James Almer
0008e1c5d5
avfilter/asrc_anullsrc: fix allowed range for sample_rate
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2023-11-22 19:41:15 -03:00
Paul B Mahol
4af412be71
avfilter: use AV_OPT_TYPE_CHLAYOUT
2023-11-22 19:28:40 +01:00
Paul B Mahol
d55d0bba48
avfilter/af_afir: remove flag that is not needed
2023-11-19 23:59:23 +01:00
Paul B Mahol
28a43cf7fe
avfilter/af_afir: no need to dynamically add outpad
2023-11-19 23:55:54 +01:00
Paul B Mahol
6579d95df3
avfilter/af_afir: refactor crossfade code
2023-11-19 23:47:52 +01:00
Paul B Mahol
bbdd604b9e
avfilter/af_afir: add timeline support
2023-11-19 23:47:51 +01:00
Paul B Mahol
a9205620b1
avfilter/af_afir: remove IR response video rendering support
...
And deprecate related options.
The same functionality can be done with specialized audio visualization filters.
2023-11-19 13:41:13 +01:00
Paul B Mahol
7c16bf0829
avfilter/avf_showvolume: improve step for vertical orientation
2023-11-18 23:50:39 +01:00
Paul B Mahol
3ed2225a9d
avfilter/avf_showvolume: draw channel names directly into output frame
2023-11-18 23:50:38 +01:00
Jun Zhao
2d4aef8982
lavfi/Makefile: fix vf_cropdetect missed edge_common
...
vf_cropdetect depends on edge_common, it's missing in Makefile.
Fix trac issue:
http://trac.ffmpeg.org/ticket/10664
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2023-11-18 20:19:39 +01:00
Diederik de Haas via ffmpeg-devel
c07ed10b0e
apply spelling fixes
...
Fix spelling issue as reported by Debian's lintian tool:
accomodate -> accommodate
addtional -> additional
auxillary -> auxiliary
bellow -> below
betweeen -> between
Calulate -> Calculate
coefficents -> coefficients
Defalt -> Default
defaul -> default
higer -> higher
neccesary -> necessary
orignal -> original
ouput -> output
precison -> precision
processsing -> processing
substract -> subtract
Transfered -> Transferred
upto -> up to
Also add several of them to the 'common typos' check in patcheck.
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
2023-11-18 19:55:42 +01:00
Paul B Mahol
5452cbdc15
avfilter/af_afir: add irnorm and irlink options
...
Deprecate gtype option.
2023-11-18 17:04:53 +01:00
Paul B Mahol
08e97dae20
avfilter/af_adynamicequalizer: add adaptive detection mode
2023-11-17 00:17:54 +01:00
Paul B Mahol
82be1e5c0d
avfilter/af_adynamicequalizer: do gain calculations in log domain
2023-11-17 00:17:54 +01:00
sunyuechi
afb967b81e
af_afir: RISC-V V fcmul_add
...
Segmented loads are slow, so here we use unit-strided load and narrowing shifts.
c910:
fcmul_add_c: 2179
fcmul_add_rvv_f64: 1652
c908:
fcmul_add_c: 4891.2
fcmul_add_rvv_f64: 2399.5
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2023-11-16 20:53:18 +02:00
Paul B Mahol
7282137f48
lavfi/af_amix: make sure the output does not depend on input ordering
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2023-11-14 18:18:26 +01:00
Paul B Mahol
84e400ae37
avfilter/buffersrc: switch to activate
...
Fixes OOM when caller keeps adding frames into filtergraph
that reached EOF by other means, for example EOF is signalled
by other filter in filtergraph or by buffersink.
2023-11-12 23:48:10 +01:00
Paul B Mahol
3ff811a41f
avfilter/vf_colortemperature: add gbr(a)pf support
2023-11-12 02:39:44 +01:00
Paul B Mahol
553b31da68
avfilter/avf_showcwt: fix invalid write for full bargraph
2023-11-11 23:29:45 +01:00
Paul B Mahol
fa4c2884dd
avfilter/avf_showcwt: do not return initial black frames with negative timestamps
2023-11-11 17:53:26 +01:00
Wenbin Chen
fa81de4af0
libavfilter/dnn/openvino: Reduce redundant memory allocation
...
We can directly get data ptr from tensor, so that extral memory
allocation can be removed.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
2023-11-11 09:32:31 +08:00
Paul B Mahol
49719d3cb5
avfilter/avf_showcwt: add fm frequency scaler
2023-11-11 01:19:44 +01:00
Niklas Haas
cf60046cdc
avfilter/vf_scale: tag output color space
...
When using vf_scale to force a specific output color space, also tag
this on the AVFrame. (Mirroring existing logic for output range)
Move the sanity fix for RGB after the new assignment, to avoid leaking
bogus YUV colorspace metadata for RGB spaces.
2023-11-09 12:53:35 +01:00
Niklas Haas
5d5bb77af1
avfilter/vf_scale: simplify color matrix parsing logic
...
No need to write a custom string parser when we can just use an integer
option with preset values. The various bits of fallback logic are wholly
redundant with equivalent logic already inside sws_getCoefficients.
Note: I disallowed setting 'out_color_matrix=auto', because this does
not do anything meaningful in the current code (just hard-codes
AVCOL_SPC_BT470BG fallback).
2023-11-09 12:53:35 +01:00
Niklas Haas
ea9557043e
avfilter/vf_alphamerge: warn if input not full range
...
Alpha planes must always be full range, so complain loudly if fed
limited range grayscale input.
2023-11-09 12:53:35 +01:00