summaryrefslogtreecommitdiffstats
path: root/libavfilter/atadenoise.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-10-17 20:28:31 +0200
committerPaul B Mahol <onemda@gmail.com>2019-10-17 20:28:31 +0200
commit71e33c6e01f60f7ea9fe0ae10f244dbde64ca3b9 (patch)
tree6acf553e23ae278d2a5515a853a359a6e8f725d5 /libavfilter/atadenoise.h
parent295d99b4393de8ff844048237eddac8496af567c (diff)
downloadffmpeg-streaming-71e33c6e01f60f7ea9fe0ae10f244dbde64ca3b9.zip
ffmpeg-streaming-71e33c6e01f60f7ea9fe0ae10f244dbde64ca3b9.tar.gz
avfilter/vf_atadenoise: add option to use additional algorithm
Diffstat (limited to 'libavfilter/atadenoise.h')
-rw-r--r--libavfilter/atadenoise.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavfilter/atadenoise.h b/libavfilter/atadenoise.h
index c1fdc2f..26cb20b 100644
--- a/libavfilter/atadenoise.h
+++ b/libavfilter/atadenoise.h
@@ -24,6 +24,12 @@
#include <stddef.h>
#include <stdint.h>
+enum ATAAlgorithm {
+ PARALLEL,
+ SERIAL,
+ NB_ATAA
+};
+
typedef struct ATADenoiseDSPContext {
void (*filter_row)(const uint8_t *src, uint8_t *dst,
const uint8_t **srcf,
@@ -31,6 +37,6 @@ typedef struct ATADenoiseDSPContext {
int thra, int thrb);
} ATADenoiseDSPContext;
-void ff_atadenoise_init_x86(ATADenoiseDSPContext *dsp, int depth);
+void ff_atadenoise_init_x86(ATADenoiseDSPContext *dsp, int depth, int algorithm);
#endif /* AVFILTER_ATADENOISE_H */
OpenPOWER on IntegriCloud