Andreas Rheinhardt
3ac3f39314
avfilter/vf_bm3d: Don't allocate inpad names
...
These names are always the same, so not using duplicates saves
allocations, checks for the allocations as well as frees.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-08-26 23:52:56 +02:00
Paul B Mahol
6c2f866309
avfilter/vf_bm3d: improve threshold scaling with different block_size and depth
2019-11-19 00:12:47 +01:00
Paul B Mahol
76ef2ec471
avfilter/vf_bm3d: use boolean for ref option
2019-11-18 17:39:45 +01:00
Paul B Mahol
3e524a11d9
avfilter/vf_bm3d: add support for alpha formats
2019-11-18 17:33:19 +01:00
Paul B Mahol
1f327f5d27
avfilter/vf_bm3d: add gray14 format
2019-10-23 09:37:18 +02:00
Paul B Mahol
a60232ab2d
avfilter/vf_bm3d: round values toward nearest integer
...
Instead of rounding toward zero and thus producing
darker output.
2019-10-19 18:53:48 +02:00
Paul B Mahol
7080bbfef4
avfilter/vf_bm3d: forward status back
2019-10-19 18:46:14 +02:00
Paul B Mahol
f2598484b8
avfilter/vf_bm3d: make sure nb_jobs is at least 1
2019-10-15 17:59:43 +02:00
Paul B Mahol
365083556e
avfilter/vf_bm3d: fix possible infinite loop
2019-10-13 18:16:19 +02:00
Paul B Mahol
0749082eb9
avfilter/vf_bm3d: fix heap-buffer overflows
...
Fixes #8262
2019-10-13 18:10:38 +02:00
Paul B Mahol
e320f9576a
avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable
2018-09-13 20:48:08 +02:00
Paul B Mahol
544fde1bf8
avfilter: add bm3d filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-13 11:22:22 +02:00